All URIs are relative to https://127.0.0.1:8080/v1
Method | HTTP request | Description |
---|---|---|
apps_app_delete | DELETE /apps/{app} | Delete an app. |
apps_app_get | GET /apps/{app} | Get information for a app. |
apps_app_patch | PATCH /apps/{app} | Updates an app. |
apps_get | GET /apps | Get all app names. |
apps_post | POST /apps | Post new app |
apps_app_delete(app)
Delete an app.
Delete an app.
# load the gem
require 'iron_functions'
api_instance = IronFunctions::AppsApi.new
app = "app_example" # String | Name of the app.
begin
#Delete an app.
api_instance.apps_app_delete(app)
rescue IronFunctions::ApiError => e
puts "Exception when calling AppsApi->apps_app_delete: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
app | String | Name of the app. |
nil (empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json
AppWrapper apps_app_get(app)
Get information for a app.
This gives more details about a app, such as statistics.
# load the gem
require 'iron_functions'
api_instance = IronFunctions::AppsApi.new
app = "app_example" # String | name of the app.
begin
#Get information for a app.
result = api_instance.apps_app_get(app)
p result
rescue IronFunctions::ApiError => e
puts "Exception when calling AppsApi->apps_app_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
app | String | name of the app. |
No authorization required
- Content-Type: application/json
- Accept: application/json
AppWrapper apps_app_patch(app, body)
Updates an app.
You can set app level settings here.
# load the gem
require 'iron_functions'
api_instance = IronFunctions::AppsApi.new
app = "app_example" # String | name of the app.
body = IronFunctions::AppWrapper.new # AppWrapper | App to post.
begin
#Updates an app.
result = api_instance.apps_app_patch(app, body)
p result
rescue IronFunctions::ApiError => e
puts "Exception when calling AppsApi->apps_app_patch: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
app | String | name of the app. | |
body | AppWrapper | App to post. |
No authorization required
- Content-Type: application/json
- Accept: application/json
AppsWrapper apps_get
Get all app names.
Get a list of all the apps in the system.
# load the gem
require 'iron_functions'
api_instance = IronFunctions::AppsApi.new
begin
#Get all app names.
result = api_instance.apps_get
p result
rescue IronFunctions::ApiError => e
puts "Exception when calling AppsApi->apps_get: #{e}"
end
This endpoint does not need any parameter.
No authorization required
- Content-Type: application/json
- Accept: application/json
AppWrapper apps_post(body)
Post new app
Insert a new app
# load the gem
require 'iron_functions'
api_instance = IronFunctions::AppsApi.new
body = IronFunctions::AppWrapper.new # AppWrapper | App to post.
begin
#Post new app
result = api_instance.apps_post(body)
p result
rescue IronFunctions::ApiError => e
puts "Exception when calling AppsApi->apps_post: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
body | AppWrapper | App to post. |
No authorization required
- Content-Type: application/json
- Accept: application/json