Spots

Creates a new spot.

post/api/v2/spots

Request

  • Base URL
    https://contentdepot.prss.org (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Authorization code: /api/oauth2/authorize
    Token URL: /api/oauth2/token scopes: cd:full

Request body application/x-www-form-urlencoded

cdDriveUristring required

The URI to the spot content in CD Drive. Format should be 'cddrive:id:{value}' or 'cddrive://{path}'.

namestring required

The name of the spot to create/update.

notesstring required

Notes pertaining to the spot.

Response

The created spot with fields populated.

idinteger

The unique ID of the spot. Generated at creation.

namestring

The unique name of the spot

notesstring

Miscellaneous notes about the spot

durationinteger

The length (duration) of the spot in seconds.

lastModifiedDatestring date-time

The date the spot was last modified/updated in ISO 8601 format. Automatically updated on any write operation.

createdDatestring date-time

The date the spot was created in ISO 8601 format. Generated at creation.

lastUploadedDatestring date-time

The date the spot audio file was uploaded in ISO 8601 format. Automatically updated on upload.

fileSizeinteger

The size of the audio content file in bytes. Generated at creation.

fileNamestring

The name of the audio content file. Generated at creation.

originalFileNamestring

The original name of the audio content file.

Changes

No recorded changes to this operation across all 3 revisions of this API.