curl --request POST \
--url https://api.ctrl-hub.com/street-manager/activities \
--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"
}
}Handle a street manager activity request
curl --request POST \
--url https://api.ctrl-hub.com/street-manager/activities \
--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"
}
}The activity 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
Activity request processed successfully