Feed Destinations
Operations related to Feed Destinations for managing external feed destination configurations.
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/feed_destinations/{id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"credentials_last_modified_ts": 0,
"last_auth_status": "text",
"last_auth_ts": 0,
"organisation_id": "text",
"last_modified_by": "text",
"plugin_version_id": "text",
"id": "text",
"creation_ts": 0,
"created_by": "text",
"description": "text",
"last_modified_ts": 0,
"name": "text"
}
}0000Success !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/feed_destinations/{id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 88
{
"organisation_id": "text",
"plugin_version_id": "text",
"description": "text",
"name": "text"
}{
"status": "ok",
"data": {
"credentials_last_modified_ts": 0,
"last_auth_status": "text",
"last_auth_ts": 0,
"organisation_id": "text",
"last_modified_by": "text",
"plugin_version_id": "text",
"id": "text",
"creation_ts": 0,
"created_by": "text",
"description": "text",
"last_modified_ts": 0,
"name": "text"
}
}Success !
Error response
Error response
Error response
Error response
Error response
Error response
DELETE /v1/feed_destinations/{id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"credentials_last_modified_ts": 0,
"last_auth_status": "text",
"last_auth_ts": 0,
"organisation_id": "text",
"last_modified_by": "text",
"plugin_version_id": "text",
"id": "text",
"creation_ts": 0,
"created_by": "text",
"description": "text",
"last_modified_ts": 0,
"name": "text"
}
}Offset from which the search must be performed
Number of maximum items that shall be return by this search
Organisation owning the feed destination
Filter by plugin version id
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/feed_destinations?organisation_id=1 HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"total": 1,
"status": "ok",
"max_results": 1,
"data": [
{
"credentials_last_modified_ts": 0,
"last_auth_status": "text",
"last_auth_ts": 0,
"organisation_id": "text",
"last_modified_by": "text",
"plugin_version_id": "text",
"id": "text",
"creation_ts": 0,
"created_by": "text",
"description": "text",
"last_modified_ts": 0,
"name": "text"
}
],
"first_result": 1,
"count": 1
}0000Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/feed_destinations HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 88
{
"organisation_id": "text",
"plugin_version_id": "text",
"description": "text",
"name": "text"
}{
"status": "ok",
"data": {
"credentials_last_modified_ts": 0,
"last_auth_status": "text",
"last_auth_ts": 0,
"organisation_id": "text",
"last_modified_by": "text",
"plugin_version_id": "text",
"id": "text",
"creation_ts": 0,
"created_by": "text",
"description": "text",
"last_modified_ts": 0,
"name": "text"
}
}Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/feed_destinations/{id}/oauth_redirect_url HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"login_url": "text"
}
}Success response
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/feed_destinations/{id}/credentials HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 56
{
"scheme": "GOOGLE_SERVICE_ACCOUNT",
"credentials": "text"
}{
"status": "ok"
}Epoch-millis reference timestamp. When provided and the stored credentials have not been modified after it, the status is returned as TO_VALIDATE without calling the plugin (used while polling for a reauthorization to land new credentials).
Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/feed_destinations/{id}/test_authentication HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"status": "AUTHENTICATED",
"last_auth_ts": 0
}
}Last updated
Was this helpful?