Retrieve a Monitoring Subscription
GET/v1/monitoring-subscriptions/:id
Retrieve a Monitoring Subscription
Request​
Path Parameters
Id of the Monitoring Subscription.
Responses​
- 200
- 400
- 401
- 403
- 404
Successfully retrieved a Monitoring Subscription
- application/json
- Schema
- Example (from schema)
Schema
data
object
monitoringsubscription_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
organisation_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
validationrequest_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Possible values: [live
, pending_validation_request
, validation_request_failed
, pending
, cancelled
]
live
hostedconfiguration_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
results
object
Possible values: [pass
, fail
]
fail
registration
object
Possible values: [yes
, no
]
no
warning
object
nullable
Possible values: [clear
, flag
]
flag
sanction
object
nullable
Possible values: [clear
, flag
]
flag
controversial
object
nullable
Possible values: [clear
, flag
]
flag
commercial
object
nullable
Possible values: [clear
, flag
]
flag
adverseMedia
object
nullable
Possible values: [clear
, flag
]
clear
hateSpeech
object
nullable
Possible values: [clear
, flag
]
flag
2020-10-13T17:46:54.000Z
organisation
object
Name of the organisation the Monitoring Subscription is attached to
monitoring_subscription
{
"data": {
"id": "monitoringsubscription_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"organisationId": "organisation_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"validationRequestId": "validationrequest_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"status": "live",
"configurationId": "hostedconfiguration_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"results": {
"complianceStatus": "fail",
"registration": {
"active": "no"
},
"warning": {
"status": "flag"
},
"sanction": {
"status": "flag"
},
"controversial": {
"status": "flag"
},
"commercial": {
"status": "flag"
},
"adverseMedia": {
"status": "clear"
},
"hateSpeech": {
"status": "flag"
}
},
"createdAt": "2020-10-13T17:46:54.000Z",
"organisation": {
"name": "Name of the organisation the Monitoring Subscription is attached to"
}
},
"object": "monitoring_subscription"
}
Error validating inputs
- application/json
- Schema
- Example (from schema)
Schema
error
object
bad_request
Bad request
One or more of the inputs were invalid
{
"error": {
"code": "bad_request",
"title": "Bad request",
"message": "One or more of the inputs were invalid",
"reasons": [
"pageSize must be greater than or equal to 0"
]
}
}
Unauthorized
Forbidden (scope)
- application/json
- Schema
- Example (from schema)
Schema
error
object
forbidden
Forbidden
Access is denied due to missing scope permissions
{
"error": {
"code": "forbidden",
"title": "Forbidden",
"message": "Access is denied due to missing scope permissions"
}
}
The specified resource was not found
- application/json
- Schema
- Example (from schema)
Schema
error
object
not_found
Resource not found
This endpoint is unavailable or can not be found
{
"error": {
"code": "not_found",
"title": "Resource not found",
"message": "This endpoint is unavailable or can not be found"
}
}