Link
Update a link specification
Updates a link specification
patch/link_specification/{id}
Path parameters
idstring uuid required
Unique identifier for the entity represented as a UUID
Request body
Example request
{
"name": "my-link-specification",
"specification_id": "eb0b880a-b7e4-42b8-98f9-40c262c59a23",
"unique": true,
"dimensions": {
"environment": {
"required": true,
"values": [
"production",
"staging"
]
}
},
"scopes": {
"provider": {
"values": [
"AWS:SERVERLESS:LAMBDA",
"AWS:WEB_POOL:EC2INSTANCES",
"uuid-of-a-specific-scope-specification"
]
}
},
"assignable_to": "any",
"attributes": {
"schema": {
"type": "object",
"properties": {
"my_string_property": {
"type": "string"
},
"my_number_property": {
"type": "number",
"default": 0
}
},
"required": [
"my_string_property"
]
},
"values": {}
}
}Response
Object representing link specifications
Example response
{
"name": "my-link-specification",
"specification_id": "eb0b880a-b7e4-42b8-98f9-40c262c59a23",
"unique": true,
"dimensions": {
"environment": {
"required": true,
"values": [
"production",
"staging"
]
}
},
"scopes": {
"provider": {
"values": [
"AWS:SERVERLESS:LAMBDA",
"AWS:WEB_POOL:EC2INSTANCES",
"uuid-of-a-specific-scope-specification"
]
}
},
"assignable_to": "any",
"attributes": {
"schema": {
"type": "object",
"properties": {
"my_string_property": {
"type": "string"
},
"my_number_property": {
"type": "number",
"default": 0
}
},
"required": [
"my_string_property"
]
},
"values": {}
}
}