Libsyn API Reference
Destinations
Handles Libsyn destinations.
- Search Destinations - Returns a list of destinations for a show.
Fields
| Field | Type | Description |
|---|---|---|
| destination_id | integer | Represents the id of the destination. |
| destination_name | string | Name of the destination. |
| destination_type | string | Type of the destination. |
| destination_type_short_name | string | Short name of the destination type. |
| destination_type_slug | string | Slug of the destination type. |
| is_locked | boolean | Specifies if the destination is locked. |
| creation_date | string | Represents the date that the destination was created. |
Request
Headers
| Header | Value |
|---|---|
| Accept | application/json |
| Content-Type | multipart/form-data |
Search Destinations
Returns a list of destinations for a show.
Request
Send a GET request to the /destinations endpoint, the show_id search parameter is required:
$ curl https://api.libsyn.com/destinations?show_id=[:show_id]
-X GET \
-H 'Authorization:Bearer (Your Access Token)'
-H 'Accept: application/json'
-H 'Content-Type: multipart/form-data'
Response
On success, your app will receive the following response:
{
"_links": {
"self": {
"href": "/destinations"
}
},
"_embedded": {
"destinations": {
"[destination_id]": {
"destination_id": "(int) - Represents the id of the destination.",
"destination_name": "(string) - Name of the destination.",
"destination_type": "(string) - Type of the destination.",
"destination_type_short_name": "(string) - Short name of the destination type.",
"destination_type_slug": "(string) - Slug of the destination type.",
"is_locked": "(bool) - Specifies if the destination is locked.",
"creation_date": "(string) - Represents the date that the destination was created.",
},
}
},
"total_items": "(int) - Total number of items returned in the search request."
}