Retrieve a Monitoring Subscription
GET/v1/monitoring-subscriptions/:id
Retrieve a Monitoring Subscription
Request​
Path Parameters
id stringrequired
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
id string
organisationId stringnullable
validationRequestId stringnullable
status string
Possible values: [live
, pending_validation_request
, validation_request_failed
, pending
, cancelled
]
configurationId string
results object
complianceStatus stringnullable
Possible values: [pass
, fail
]
registration object
active string
Possible values: [yes
, no
]
warning objectnullable
status string
Possible values: [clear
, flag
]
sanction objectnullable
status string
Possible values: [clear
, flag
]
controversial objectnullable
status string
Possible values: [clear
, flag
]
commercial objectnullable
status string
Possible values: [clear
, flag
]
adverseMedia objectnullable
status string
Possible values: [clear
, flag
]
hateSpeech objectnullable
status string
Possible values: [clear
, flag
]
createdAt date-time
organisation object
name stringnullable
object string
{
"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
code string
title string
message string
reasons string[]
{
"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
code string
title string
message string
{
"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
code string
title string
message string
{
"error": {
"code": "not_found",
"title": "Resource not found",
"message": "This endpoint is unavailable or can not be found"
}
}
Loading...