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_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxorganisation_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxvalidationrequest_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxPossible values: [live, pending_validation_request, validation_request_failed, pending, cancelled]
livehostedconfiguration_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxresults
object
Possible values: [pass, fail]
failregistration
object
Possible values: [yes, no]
nowarning
object
nullable
Possible values: [clear, flag]
flagsanction
object
nullable
Possible values: [clear, flag]
flagcontroversial
object
nullable
Possible values: [clear, flag]
flagcommercial
object
nullable
Possible values: [clear, flag]
flagadverseMedia
object
nullable
Possible values: [clear, flag]
clearhateSpeech
object
nullable
Possible values: [clear, flag]
flag2020-10-13T17:46:54.000Zorganisation
object
Name of the organisation the Monitoring Subscription is attached tomonitoring_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_requestBad requestOne 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
forbiddenForbiddenAccess 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_foundResource not foundThis 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"
}
}