Check Content API
https://api.alert.alertinghub.co.uk/api/json/checkcontent
Json sample
{
"version": "latest",
"apiKey": "abcdefghijklmnopqrstuvwxyz",
"content": [
{
"tag": "t1",
"storeDetails" : {
"storeName" : "myPreviouslyStoredAlert"
}
}
]
}
Checking content of alerts
| Parameter | Requirement | Default | Description | |
|---|---|---|---|---|
| version | Mandatory | None | See API guide | |
| apiKey | Mandatory | None | See API guide |
|
| content | Mandatory | Array of items to be checked | ||
| storeDetails | Mandatory | None | Contains either a 'storeId' value or a 'storeName' value denoting the existing store to check. |
|
| tag | Mandatory | None | Client defined tag - freeform, used in the response |
Response
| Parameter | Description | |
|---|---|---|
| success | One of “true”, “false”. If false then failureReason should also be returned | |
| content | Array of stored items pro | |
| success | One of “true”, “false”. If false then failureReason should also be returned | |
| storeId | The unique id of the stored content | |
| storeName | The client defined name for the stored item | |
| contentType | Type of content | |
| tag | Client defined tag as per api call | |
| expiresUnlessUsed | Expiry for the stored content |

