v1
latestOpenAPI 3.1.02026-07-24251250397.8 KBimports
Create an import
Creates an import source to this site
Learn more about how to set up an MRSS import feed
post/v2/sites/{site_id}/imports/
Path parameters
site_idstring required
Unique identifier for a resource
Example:Ny05CEfj
Unique alphanumeric ID of the site
Request body
Example request
{
"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"
]
}
}Response
Resource successfully created
Example response
{
"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"
]
}
}