Get publishers
GET/api/v2/presence/publishers
Retrieve a list of publishers available on the platform
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Possible values: >= 1
Default value: 1
Current page
Possible values: >= 1
Default value: 1
Max page based on current per_page
value and count
Default value: 0
Number of items per page.
items
object[]
required
Can be used for sorting
Array of strings representing the list of country codes
Array of strings representing the list of country codes
Array of strings representing the list of country codes
{
"page": 1,
"max_page": 1,
"count": 0,
"items": [
{
"name": "google_my_business",
"formatted_name": "Google",
"pm_latency": "1_day",
"status": "running",
"order": 5,
"published_fields": [
"string"
],
"required_fields": [
"string"
],
"included_country_codes": [
"FR",
"GB",
"IT",
"ES"
],
"excluded_country_codes": [
"FR",
"GB",
"IT",
"ES"
],
"calculated_country_codes": [
"FR",
"GB",
"IT",
"ES"
],
"is_indirect": true,
"disabled": true,
"enabled_by_default": true
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
HTTP status code
Error message
Possible values: [query
, body
, response
, param
]
Where in the request the error occurred
errors
object[]
required
Possible values: non-empty
Path to the property with the error
constraints
object
required
Error message
{
"statusCode": 404,
"message": "Cannot find item",
"location": "query",
"errors": [
{
"path": "business.id",
"constraints": {
"object_required_property": "Required property"
}
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}