curl --request POST \
--url https://api.ctrl-hub.com/street-manager/protections \
--header 'Content-Type: text/plain' \
--data '
{
"Type": "<string>",
"MessageId": "<string>",
"Token": "<string>",
"TopicArn": "<string>",
"Message": "<string>",
"SubscribeURL": "<string>",
"Timestamp": "2023-11-07T05:31:56Z",
"SignatureVersion": "<string>",
"Signature": "<string>",
"SigningCertURL": "<string>"
}
'{
"id": "98ca4a78-b66f-4234-9719-aaf832ee6669",
"status": "400",
"title": "A validation error was encountered",
"source": {
"parameter": "include"
},
"meta": {
"resource": "wrong_value"
}
}This is used by street manager to create a new protection.
curl --request POST \
--url https://api.ctrl-hub.com/street-manager/protections \
--header 'Content-Type: text/plain' \
--data '
{
"Type": "<string>",
"MessageId": "<string>",
"Token": "<string>",
"TopicArn": "<string>",
"Message": "<string>",
"SubscribeURL": "<string>",
"Timestamp": "2023-11-07T05:31:56Z",
"SignatureVersion": "<string>",
"Signature": "<string>",
"SigningCertURL": "<string>"
}
'{
"id": "98ca4a78-b66f-4234-9719-aaf832ee6669",
"status": "400",
"title": "A validation error was encountered",
"source": {
"parameter": "include"
},
"meta": {
"resource": "wrong_value"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.ctrl-hub.com/llms.txt
Use this file to discover all available pages before exploring further.
The protection to handle.
Street Manager subscription confirmation payload
The message type
Unique identifier for the message
Confirmation token
The ARN of the topic
The confirmation message
URL to confirm the subscription
When the message was sent
Version of the signature
Message signature for verification
URL of the signing certificate
Protection request processed successfully