CD Drive

Get file information.

Changed on

Get the information about a file in the customer's private CD Drive.

get/api/v2/cddrive/files/{file-id}

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

Response

The file information.

namestring required

The name of the file including the extension.

parentIdinteger required

The ID of the parent folder or 0 for the root folder.

idinteger required

The ID of the file.

createdDatestring date-time required

The date and time the file was created in ISO 8601 format.

lastModifiedDatestring date-time required

The date and time the file was last modified in ISO 8601 format.

sizeinteger

The size of the file in bytes.

Changes

    • breaking

      the response's property format changed from dateTimed to date-time for status

    • breaking

      the response's property format changed from dateTime to date-time for status

    • info

      the response's property pattern was changed from ^[a-zA-Z0-9][a-zA-Z0-9 \._]*[a-zA-Z0-9]$ to ^[a-zA-Z0-9][a-zA-Z0-9 \._-]*[a-zA-Z0-9]$ for the status