v1

latestOpenAPI 3.1.02026-07-24251250397.8 KB
imports

List imports

List MRSS import sources

get/v2/sites/{site_id}/imports/

Path parameters

site_idstring required

Unique identifier for a resource

Example:Ny05CEfj

Unique alphanumeric ID of the site

Query parameters

qstring

Allows for querying results

Example: title:+a title

Imports can be queried by the following attributes:

  • title
sortstring

Allows for sorting results

Example: sort=created:dsc

Sort order can be one of asc, dsc

Imports can be sorted by the following attributes:

  • created
  • last_import_date
  • state
  • title

Response

Resources successfully retrieved

pageinteger

Offset for returned resources

page_lengthinteger

Maximum number of resources to return

totalinteger

Number of resources available before pagination

Example response

{
  "page": 1,
  "page_length": 10,
  "total": 1,
  "sources": [
    {
      "schema": "https://schema.jwplayer.com/types/thumbnail.json",
      "id": "Ny05CEfj",
      "created": "2019-09-25T15:29:11.042095+00:00",
      "last_modified": "2019-09-25T15:29:11.042095+00:00",
      "last_import": "2018-10-03T21:19:36.602019+00:00",
      "metadata": {
        "tags": [
          "tag1",
          "tag2",
          "tag3"
        ],
        "custom_params": {
          "param1": "value1"
        },
        "ingest_tags": [
          "jp:uploadDate",
          "jp:preview",
          "jp:duration"
        ],
        "simple_ingest_custom_params": [
          "jp:genre",
          "jp:rating",
          "jp:language"
        ]
      }
    }
  ]
}