List Stream Services¶
This endpoint returns a list of available stream services.
Request¶
GET https://v2.api.uberflip.com/metadata/streams/services
Response¶
The response will contain a stream service collection:
Body Parameters | Type | Description |
---|---|---|
data | Array | The collection of stream services |
meta | Object | See: Pagination |
Each stream service in the collection will have properties:
Body Parameters | Type | Description |
---|---|---|
code | String | The service code uniquely identifying the service |
name | String | The service name |
type_code | String | The type code identifying the type (category) of the service (e.g. “social”) |
stream_count | Integer | The number of streams associated with the service |
Examples¶
curl -H "Authorization: Bearer [Token]" \
-i https://v2.api.uberflip.com/metadata/streams/services
Sample response:
HTTP/1.1 200 OK
Content-Type: application/json
{
"data": [
{
"code": "custom",
"type_code": "custom",
"name": "Marketing",
"stream_count": 24
},
{
"code": "targeted",
"type_code": "targeted",
"name": "Sales",
"stream_count": 1
},
{
"code": "blogpost",
"type_code": "blogs",
"name": "Blog",
"stream_count": 92
},
...
],
"meta": {
...
}
}