API Definition

validate a commissioning file

post
Authorizations
Body
commissioningFilestringrequired

The commissioning file of this service as base64 encoded content of a buffer

Responses
curl -L \
  --request POST \
  --url '/validate/service' \
  --header 'Authorization: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "commissioningFile": "text"
  }'

No body

Create a new service

post
Authorizations
Body
idstring · min: 4required
commissioningFilestringrequired

The commissioning file of this service as base64 encoded content of a buffer

parametersobjectoptional

The parameter values of this service as a JSON object

marketplaceobjectoptional
targetStatestring · enumoptional
Available options:
Responses
curl -L \
  --request POST \
  --url '/services' \
  --header 'Authorization: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "id": "text",
    "commissioningFile": "text",
    "parameters": {},
    "marketplace": {},
    "targetState": "disabled"
  }'
{
  "id": "text",
  "targetState": "text",
  "currentState": "text"
}

Read all services

get
Authorizations
Responses
curl -L \
  --url '/services' \
  --header 'Authorization: YOUR_API_KEY'
[
  {
    "id": "text",
    "commissioningData": {},
    "resources": {},
    "targetState": "text",
    "currentState": "text"
  }
]

Get the service schemas

post
Authorizations
Body
commissioningFilestringrequired

The commissioning file of this service as base64 encoded content of a buffer

Responses
curl -L \
  --request POST \
  --url '/services/parametersSchema' \
  --header 'Authorization: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "commissioningFile": "text"
  }'
{}

Get status of all services

get
Authorizations
Responses
curl -L \
  --url '/services/status' \
  --header 'Authorization: YOUR_API_KEY'
{}

Get information of all services

get
Authorizations
Responses
curl -L \
  --url '/services/info' \
  --header 'Authorization: YOUR_API_KEY'
{}

Get the instance names of the services

get
Authorizations
Responses
curl -L \
  --url '/services/instances' \
  --header 'Authorization: YOUR_API_KEY'
[
  "text"
]

Get a specific service

get
Authorizations
Path parameters
idanyrequired

Id of service

Responses
curl -L \
  --url '/services/{id}' \
  --header 'Authorization: YOUR_API_KEY'
{
  "id": "text",
  "commissioningData": {},
  "resources": {},
  "targetState": "text",
  "currentState": "text"
}

Update an existing service

put
Authorizations
Path parameters
idanyrequired

Id of service

Body
parametersobjectoptional
commissioningFilestringoptional
marketplaceobjectoptional
Responses
curl -L \
  --request PUT \
  --url '/services/{id}' \
  --header 'Authorization: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "parameters": {},
    "commissioningFile": "text",
    "marketplace": {}
  }'

No body

Delete an existing service

delete
Authorizations
Path parameters
idanyrequired

Id of service

Responses
curl -L \
  --request DELETE \
  --url '/services/{id}' \
  --header 'Authorization: YOUR_API_KEY'
{
  "id": "text"
}

Get a specific service status

get
Authorizations
Path parameters
idanyrequired

Id of service

Responses
curl -L \
  --url '/services/{id}/status' \
  --header 'Authorization: YOUR_API_KEY'
{
  "id": "text",
  "targetState": "text",
  "currentState": "text"
}

Get the service dependencies

get
Authorizations
Path parameters
idanyrequired

Id of service

Responses
curl -L \
  --url '/services/{id}/dependencies' \
  --header 'Authorization: YOUR_API_KEY'
{
  "dependent": [
    "text"
  ],
  "dependsOn": [
    "text"
  ]
}

Get all ingress routes

get
Authorizations
Responses
curl -L \
  --url '/services/ingress-routes' \
  --header 'Authorization: YOUR_API_KEY'
[
  {
    "id": "text",
    "containerHost": "text",
    "containerPort": 1,
    "containerPrefixRewrite": "text",
    "ingressPort": 1,
    "ingressUrlPrefix": "text",
    "type": "text",
    "headers": [
      "text"
    ]
  }
]
get
Authorizations
Responses
curl -L \
  --url '/services/links' \
  --header 'Authorization: YOUR_API_KEY'
[
  {
    "id": "text",
    "ingressRoute": "text",
    "name": "text",
    "href": "text"
  }
]
get
Authorizations
Responses
curl -L \
  --url '/services/all-links' \
  --header 'Authorization: YOUR_API_KEY'
[
  {
    "id": "text",
    "name": "text",
    "links": []
  }
]

Perform an operation on a service

put
Authorizations
Path parameters
idanyrequired

Id of service

Body
operationstringoptional

Disable and enable

Responses
curl -L \
  --request PUT \
  --url '/services/{id}/operation' \
  --header 'Authorization: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "operation": "text"
  }'
{
  "id": "text",
  "targetState": "text",
  "currentState": "text"
}

Get all of the resource schemas

get
Authorizations
Responses
curl -L \
  --url '/resources/schemas' \
  --header 'Authorization: YOUR_API_KEY'
{
  "[a-zA-Z0-9]+": {},
  "ANY_ADDITIONAL_PROPERTY": "anything"
}

Last updated

Was this helpful?