Skip to content

Services

CreateService

Method: POST

Endpoint: /services/create-service

Authentication: bearer

Request Body

{
  "name": "Blog",
  "endpoint": "https://www.newbloog.com",
  "description": "The best blog service"
}

LIstServices

Method: GET

Endpoint: /services/list-services

Authentication: bearer

DescribeService

Method: POST

Endpoint: /services/describe-service

Authentication: bearer

Request Body

{
  "service": "ccfed92e-ed20-4dcc-9506-60f7586e8d47"
}

UpdateService

Method: POST

Endpoint: /services/update-service

Authentication: bearer

Request Body

{
  "service": "46dad5ab-f0c2-45b3-9086-b2751b7d8c42",
  "description": "TEST DESCRIPTION"
}

DeleteService

Method: POST

Endpoint: /services/delete-service

Authentication: bearer

Request Body

{
  "service": "Auth"
}

ValidatePermissions

Method: POST

Endpoint: /services/validate-permissions

Authentication: bearer

Request Body

{
  "requestingToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI2NzZkMzU5Ni1iMGY5LTQ4NTItYjgyNC05ZDAzNmM0MTRjYTMiLCJleHAiOjE3MjMwMTUzNDIsImlhdCI6MTcyMjkyODk0MiwiYWNjX3R5cGUiOiJ1c2VyIiwidG9rZW5fdHlwZSI6IkF1dGgifQ.H2dVQez0wvJN5E-mve943eK5_8hniZZzcxruX0ao-kA",
  "requiredPermissions": [
    "codaweb.settings.get"
  ]
}