Action
Read an action specification
Changed onRead an action specification of a service or link.
get/action_specification/{id}
Request
- Base URLhttps://api.nullplatform.com
- URLhttps://api.nullplatform.com/action_specification/{id}
- AuthHTTP bearer
Path parameters
idstring uuid required
Unique identifier for the entity represented as a UUID
Query parameters
service_idstring uuid
Service ID for dynamic additional properties
link_idstring uuid
Link ID for dynamic additional properties
application_idinteger
Application ID for dynamic additional properties
scope_idinteger
Scope ID for dynamic additional properties
dimensionsstring
Dimension key-value pairs used for dynamic additional properties
package_revision_idstring uuid
Package revision to resolve the specification against. The response is the snapshot this revision pins instead of the live specification, and the request fails when the revision does not include the specification. Useful before an instance exists, for example to render a create form
Response
Object representing action specifications
Example response
{
"name": "my-link-specification",
"type": "custom",
"parameters": {
"schema": {
"type": "object",
"properties": {
"my_string_property": {
"type": "string"
},
"my_number_property": {
"type": "number",
"default": 0
}
},
"required": [
"my_string_property"
]
},
"values": {}
},
"results": {
"schema": {
"type": "object",
"properties": {
"my_string_property": {
"type": "string"
},
"my_number_property": {
"type": "number",
"default": 0
}
},
"required": [
"my_string_property"
]
},
"values": {}
},
"service_specification_id": "134544a6-a089-43ba-9d52-5b6e6e4fa8d1",
"link_specification_id": "f3e8be90-0952-4506-bd54-c4e75a5a4393",
"retryable": true,
"parallelize": true,
"enabled_when": ".service.dimensions.environment == \"development\"",
"annotations": {
"runs_over": "scope",
"show_on": [
"scope",
"performance"
]
}
}Changes
- info
added the new optional
queryrequest parameterpackage_revision_id
- info