Download OpenAPI specification:
An interface enabling transit authorities to schedule content to Outfront screens.
All requests to Transit API v2 use a Bearer token passed in the Authorization header. We can provide you with a Bearer token that is specific to your organization.
An Asset is any piece of content uploaded for eventual display on a Screen. Assets can be images, videos, or ZIP files containing HTML.
| limit | number [ 1 .. 100 ] |
| page | number >= 1 |
| sort | string (AssetSortParameter) Enum: "createdAt" "-createdAt" "id" "-id" "name" "-name" "updatedAt" "-updatedAt" |
object |
{- "data": [
- {
- "type": "assets",
- "fileType": "image",
- "format": "string",
- "name": "string",
- "id": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "source": "vle"
}
], - "meta": { }
}An Asset that is not finished processing cannot be associated with a Schedule; attempting to create a Schedule that relates to an unprocessed Asset will result in an error.
You'll know that your Asset is finished process when in has a non-null
contentUrl. At this point, the Asset will also include metadata about
your file.
| source required | string Value: "vle" |
| name required | string >= 2 characters |
| file required | string <binary> |
{- "data": {
- "type": "assets",
- "fileType": "image",
- "format": "string",
- "name": "string",
- "id": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "source": "vle"
}
}{- "data": {
- "type": "assets",
- "fileType": "image",
- "format": "string",
- "name": "string",
- "id": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "source": "vle"
}
}{- "data": {
- "type": "assets",
- "fileType": "image",
- "format": "string",
- "name": "string",
- "id": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "source": "vle"
}
}A Screen (also known as a “Player” or “Liveboard”) represents the physical hardware that will display Assets. Screens have names, tags, and other metadata that help describe their purpose, location, and orientation.
| limit | number [ 1 .. 100 ] |
| page | number >= 1 |
| sort | string (ScreenSortParameter) Enum: "id" "-id" "name" "-name" "createdAt" "-createdAt" "source" "-source" |
object When specified, all key-value pairs must match a Screen's criteria for it to be included. If a value is an array, then any value in the array may match the corresponding criterion. This parameter accepts identical input as Schedules' The only difference is that
|
{- "data": [
- {
- "type": "screens",
- "id": "string",
- "source": "vle",
- "name": "string",
- "hasPartnerRegion": true,
- "criteria": {
- "property1": "string",
- "property2": "string"
}
}
], - "meta": { }
}| id required | string |
object |
{- "data": {
- "name": "string",
- "value": "string"
}
}{- "data": {
- "type": "criteria",
- "id": "string",
- "screenId": "string",
- "name": "string",
- "value": "string"
}
}A collection of all the Screens targeted by the specified Schedule.
This collection is not editable directly and instead is the result
set of the Schedule's screensFilter attribute.
| id required | string |
| limit | number [ 1 .. 100 ] |
| page | number >= 1 |
| sort | string (ScreenSortParameter) Enum: "id" "-id" "name" "-name" "createdAt" "-createdAt" "source" "-source" |
{- "data": [
- {
- "type": "screens",
- "id": "string",
- "source": "vle",
- "name": "string",
- "hasPartnerRegion": true,
- "criteria": {
- "property1": "string",
- "property2": "string"
}
}
], - "meta": { }
}| limit | number [ 1 .. 100 ] |
| page | number >= 1 |
| sort | string (ScheduleSortParameter) Enum: "deployedScreensCount" "-deployedScreensCount" "endsAt" "-endsAt" "id" "-id" "startsAt" "-startsAt" "priority" "-priority" "targetedScreensCount" "-targetedScreensCount" "weight" "-weight" "createdAt" "-createdAt" "updatedAt" "-updatedAt" |
{- "data": [
- {
- "type": "schedules",
- "id": "string",
- "startsAt": "2019-08-24T14:15:22Z",
- "endsAt": "2019-08-24T14:15:22Z",
- "screensFilter": {
- "property1": "string",
- "property2": "string"
}, - "targetedScreensCount": 0,
- "deployedScreensCount": 0,
- "assetIds": [
- "string"
], - "priority": "emergency",
- "weight": 0
}
], - "meta": { }
}Creating a Schedule will begin delivery of the specified Assets to the targeted Screens immediately, though it can take some time before the Assets are actually visible on the Screens.
required | object |
{- "data": {
- "type": "schedules",
- "id": "string",
- "startsAt": "2019-08-24T14:15:22Z",
- "endsAt": "2019-08-24T14:15:22Z",
- "screensFilter": {
- "property1": "string",
- "property2": "string"
}, - "targetedScreensCount": 0,
- "deployedScreensCount": 0,
- "assetIds": [
- "string"
], - "priority": "emergency",
- "weight": 0
}
}{- "data": {
- "type": "schedules",
- "id": "string",
- "startsAt": "2019-08-24T14:15:22Z",
- "endsAt": "2019-08-24T14:15:22Z",
- "screensFilter": {
- "property1": "string",
- "property2": "string"
}, - "targetedScreensCount": 0,
- "deployedScreensCount": 0,
- "assetIds": [
- "string"
], - "priority": "emergency",
- "weight": 0
}
}{- "data": {
- "type": "schedules",
- "id": "string",
- "startsAt": "2019-08-24T14:15:22Z",
- "endsAt": "2019-08-24T14:15:22Z",
- "screensFilter": {
- "property1": "string",
- "property2": "string"
}, - "targetedScreensCount": 0,
- "deployedScreensCount": 0,
- "assetIds": [
- "string"
], - "priority": "emergency",
- "weight": 0
}
}| id required | string |
required | object |
{- "data": {
- "type": "schedules",
- "id": "string",
- "startsAt": "2019-08-24T14:15:22Z",
- "endsAt": "2019-08-24T14:15:22Z",
- "screensFilter": {
- "property1": "string",
- "property2": "string"
}, - "targetedScreensCount": 0,
- "deployedScreensCount": 0,
- "assetIds": [
- "string"
], - "priority": "emergency",
- "weight": 0
}
}{- "data": {
- "type": "schedules",
- "id": "string",
- "startsAt": "2019-08-24T14:15:22Z",
- "endsAt": "2019-08-24T14:15:22Z",
- "screensFilter": {
- "property1": "string",
- "property2": "string"
}, - "targetedScreensCount": 0,
- "deployedScreensCount": 0,
- "assetIds": [
- "string"
], - "priority": "emergency",
- "weight": 0
}
}A collection of all the Schedules that target the specified Screen.
This collection is not editable directly and instead is the result
set of the Schedules’ respective screensFilter attributes.
| id required | string |
| limit | number [ 1 .. 100 ] |
| page | number >= 1 |
| sort | string (ScheduleSortParameter) Enum: "deployedScreensCount" "-deployedScreensCount" "endsAt" "-endsAt" "id" "-id" "startsAt" "-startsAt" "priority" "-priority" "targetedScreensCount" "-targetedScreensCount" "weight" "-weight" "createdAt" "-createdAt" "updatedAt" "-updatedAt" |
{- "data": [
- {
- "type": "schedules",
- "id": "string",
- "startsAt": "2019-08-24T14:15:22Z",
- "endsAt": "2019-08-24T14:15:22Z",
- "screensFilter": {
- "property1": "string",
- "property2": "string"
}, - "targetedScreensCount": 0,
- "deployedScreensCount": 0,
- "assetIds": [
- "string"
], - "priority": "emergency",
- "weight": 0
}
], - "meta": { }
}Returns a representation of the Transit API's resulting data in VLE. This structure is loosely defined and only really meant for human inspection. It is not recommended to depend on the structure of this response remaining consistent.
| page | number >= 1 |
| groupId | string |
{ }Returns a read-only resource with some additional information about the user to whome the current access token belongs.
{- "data": {
- "type": "accounts",
- "id": "string",
- "name": "string",
- "projectId": "string",
- "partnerTag": "string"
}
}Returns a read-only resource listing all criteria that would match an existing screen. A Schedule may be created using criteria that do not exist on any screen, for preparing future screens, but in most cases this is not the desired effect. The data from this endpoint can help in pre-populating form fields, for example.
If no filter for screen source is specified, the filter defaults to only showing criteria for VLE screens.
object |
{- "data": [
- {
- "type": "criteria",
- "id": "string"
}
]
}Returns a read-only resource listing all values for a given criterion that are present on existing Screens. A Schedule may be created using criteria that do not exist on any screen, for preparing future screens, but in most cases this is not the desired effect. The data from this endpoint can help in pre-populating form fields, for example.
If no filter for screen source is specified, the filter defaults to only showing values for criteria on VLE screens.
| id required | string |
object |
{- "data": {
- "type": "criteria",
- "id": "string",
- "values": [
- "string"
]
}
}