app/version/tool

Creates a tool for an application version

post/app/{appId}/version/{appVersion}/tool/{toolPackageName}

Path parameters

appIdnumber required
Example:5

ID of the application

appVersionnumber required
Example:2

Version number of the application

toolPackageNamestring required
Example:@vincent/foo-bar

Name of the tool package

Request body

hiddenSupportedPoliciesstring[]

Policies that are supported by this tool, but are hidden from users of this app specifically

appIdnumber required

Application ID

appVersionnumber required

Application version

toolPackageNamestring required

Tool package name

toolVersionstring required

Tool version

Example request

{
  "hiddenSupportedPolicies": [
    "@vincent/foo-bar-policy-1",
    "@vincent/foo-bar-policy-2"
  ],
  "appId": 5,
  "appVersion": 2,
  "toolPackageName": "@vincent/foo-bar",
  "toolVersion": "1.0.0"
}

Response

Successful operation

_idstring required

Document ID

updatedAtstring date-time required

Timestamp when this was last modified

createdAtstring date-time required

Timestamp when this was created

appIdnumber required

Application ID

appVersionnumber required

Application version

toolPackageNamestring required

Tool package name

toolVersionstring required

Tool version

hiddenSupportedPoliciesstring[]

Policies that are supported by this tool, but are hidden from users of this app specifically

Example response

{
  "appId": 5,
  "appVersion": 2,
  "toolPackageName": "@vincent/foo-bar",
  "toolVersion": "1.0.0",
  "hiddenSupportedPolicies": [
    "@vincent/foo-bar-policy-1",
    "@vincent/foo-bar-policy-2"
  ]
}

Changes