OSTIP_EXARI v0.1.0 Swagger.Client.Api.ApiDocsapplicationsFormat View Source
API calls for all endpoints tagged ApiDocsapplicationsFormat.
Link to this section Summary
Functions
Get details of an application
List all applications
Subscribe an application to a event source. Returns the state of the application after the subscriptions have changed
Unsubscribe an application from an event source. Returns the state of the application after the subscriptions have changed
Link to this section Functions
get(Tesla.Env.client(), String.t(), keyword()) :: {:ok, nil} | {:error, Tesla.Env.t()}
Get details of an application.
Parameters
- connection (Swagger.Client.Connection): Connection to server
- application_name (String.t): Application's name
- opts (KeywordList): [optional] Optional parameters
Returns
{:ok, %{}} on success {:error, info} on failure
list(Tesla.Env.client(), keyword()) :: {:ok, nil} | {:error, Tesla.Env.t()}
List all applications.
Parameters
- connection (Swagger.Client.Connection): Connection to server
- opts (KeywordList): [optional] Optional parameters
Returns
{:ok, %{}} on success {:error, info} on failure
subscribe(Tesla.Env.client(), String.t(), [String.t()], keyword()) :: {:ok, nil} | {:error, Tesla.Env.t()}
Subscribe an application to a event source. Returns the state of the application after the subscriptions have changed
Parameters
- connection (Swagger.Client.Connection): Connection to server
- application_name (String.t): Application's name
- event_source ([String.t]): URI for event source (channel:{channelId}, bridge:{bridgeId}, endpoint:{tech}[/{resource}], deviceState:{deviceName}
- opts (KeywordList): [optional] Optional parameters
Returns
{:ok, %{}} on success {:error, info} on failure
unsubscribe(Tesla.Env.client(), String.t(), [String.t()], keyword()) :: {:ok, nil} | {:error, Tesla.Env.t()}
Unsubscribe an application from an event source. Returns the state of the application after the subscriptions have changed
Parameters
- connection (Swagger.Client.Connection): Connection to server
- application_name (String.t): Application's name
- event_source ([String.t]): URI for event source (channel:{channelId}, bridge:{bridgeId}, endpoint:{tech}[/{resource}], deviceState:{deviceName}
- opts (KeywordList): [optional] Optional parameters
Returns
{:ok, %{}} on success {:error, info} on failure