Skip to main content
POST
/
street-manager
/
protections
cURL
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"
  }
}

Body

text/plain

The protection to handle.

Street Manager subscription confirmation payload

Type
string

The message type

MessageId
string

Unique identifier for the message

Token
string

Confirmation token

TopicArn
string

The ARN of the topic

Message
string

The confirmation message

SubscribeURL
string

URL to confirm the subscription

Timestamp
string<date-time>

When the message was sent

SignatureVersion
string

Version of the signature

Signature
string

Message signature for verification

SigningCertURL
string

URL of the signing certificate

Response

Protection request processed successfully