Rpc

Handle Git requests to stormancer repositories.

APIDescription
GET _r/{accountId}/{applicationName}.git/info/refs?service={service}

Answers to 'get info refs' requests from git clients as part of the SmartHTTP protocol

POST {accountId}/{applicationName}.git/git-upload-pack

Upload pack request handler

POST {accountId}/{applicationName}.git/git-receive-pack

Receive pack request handler

Status

Returns status information about the cluster

APIDescription
GET

Returns the cluster status

Interacts with the components gallery

APIDescription
POST gallery/{id}/deploy

Deploy an application built from the application template.

GET gallery

Gets a list of the available components in the gallery

GET gallery/{id}

Gets details about a component

POST gallery/{id}

Deploy an application built from the application template.

Account

A set of APIs to manage Stormancer accounts.

APIDescription
GET _accounts

Returns the list of accounts managed by the authenticated user.

GET _accounts/{accountId}

Retrieves detailed informations about the requested Stormancer account

PUT _accounts/{accountId}

Creates a new account, or changes the friendly name of an existing one.

GET _accounts/{accountId}/_access

Returns a list of access rules for the specified account.

POST _accounts/{accountId}/_access

Adds an administration rule to an account

PUT _accounts/{accountId}/_access/{userId}

Gives access to the specified user to the specified account.

DELETE _accounts/{accountId}/_access/{userId}

Removes access to the specified user to the specified account.

GET _accounts/{accountId}/_secrets

List all the secrets for the account and associated with the authenticated user

POST _accounts/{accountId}/_secrets

Creates or regenerates a management's secret on the specified account.

DELETE _accounts/{accountId}/_secrets/{friendlyName}

Invalidate a management's secret on the specified account.

Deployment

Contains operations relative to application deployment.

APIDescription
POST {accountId}/{applicationName}/deploy/{type}

Deploys a new version of the application from a source control system.

GET {accountId}/{applicationName}/deployments

Returns a list of the currently available deployment for an application.

GET {accountId}/{applicationName}/deployments/{id}

Downloads a deployment.

PUT {accountId}/{applicationName}/deployments/{id}

Add a deployment to an application.

POST {accountId}/{applicationName}/deployments?type={type}

Deploys a new version of the application from a source control system.

ScenesQuery

Contains method to query scenes, create connection tokens and send message to scenes.

APIDescription
POST {accountId}/{applicationName}/scenes/{id}/token

Returns connection informations for the specified scene.

POST {accountId}/{applicationName}/scenes/{sceneId}/message/{route}

Sends an HTTP message to the scene.

GET {accountId}/{applicationName}/scenes

Returns the list of scenes in the application.

Scene

Performs operations on scenes

APIDescription
GET {accountId}/{applicationName}/scenes/{sceneId}?id={id}

Gets informations about a scene.

PUT {accountId}/{applicationName}/scenes/{sceneId}

Creates a new scene.

DELETE {accountId}/{applicationName}/scenes/{sceneId}

Deletes a scene.

Application

Manages applications

APIDescription
GET {accountId}

Returns all the applications in the account with id accountId/>

GET {accountId}/{applicationName}

Return the application with the name appliationName in the account with id accountId/>

PUT {accountId}/{applicationName}

Creates an application or changes the current active deployments for the specified application.

DELETE {accountId}/{applicationName}

Deletes the selected application from the account with id accountId.

PUT {accountId}/{applicationName}?module={module}

Updates the configuration of an application module.

GET {accountId}/{applicationName}?module={module}

Gets the configuration of an application module.

DELETE {accountId}/{applicationName}?module={module}

Deletes the configuration of an application module.

PUT {accountId}/{applicationName}/config/{module}

Updates the configuration of an application module.

GET {accountId}/{applicationName}/config/{module}

Gets the configuration of an application module.

DELETE {accountId}/{applicationName}/config/{module}

Deletes the configuration of an application module.

User

Queries the user index

APIDescription
GET {accountId}/{applicationName}/users?token={token}&provider={provider}&identity={identity}

Returns data about the requested user.

GET {accountId}/{applicationName}/users/{id}?token={token}&provider={provider}&identity={identity}

Returns data about the requested user.

GET {accountId}/{applicationName}/users/{id}

Returns data about a specific user known by id.

PUT {accountId}/{applicationName}/users/{id}

Updates the data associated with an user in the database.

DELETE {accountId}/{applicationName}/users/{id}

Deletes user data

Logs

Returns logs generated by applications

APIDescription
GET {accountId}/{applicationName}/logs?min={min}&max={max}&skip={skip}&count={count}

Queries the logs of an application.