DELETE
/
v1
/
resource
/
{id}

Authorizations

x-api-key
string
headerrequired

Path Parameters

id
string
required

The resource's id.

Response

200 - application/json
id
string
required

The resource's id.

organisation
string
required

The organisation id of the resource.

creator
string
required

The user id of the creator.

fileName
string
required

The name of the resource.

type
string
required

The type of the resource. Values can be VIDEO | PDF | TEXT | YOUTUBE | WEB | GOOGLE_DRIVE.

createdAt
number
required

The created date of the resource. Unix timestamp in milliseconds.

aiProcessingStatus
string
required

The status of the AI processing of the resource. Values can be NOT_STARTED | IN_PROGRESS | DONE | FAILED_NO_TEXT_FOUND | FAILED.

youtubeVideoId
number

YouTube video id. Defined only of the resource type is YOUTUBE.

googleDriveResourceFile
object

Google Drive resource object. Defined only of the resource type is GOOGLE_DRIVE.

website
object

Website data. Defined only of the resource type is WEB.

videoLength
number

Video length in seconds. Defined only of the resource type is VIDEO.

fileSize
number

File length in bytes. Defined only of the resource type is PDF or VIDEO.

syncFrequencyMs
number

Synchronization frequency in milliseconds.

lastSync
number

Last synchronization date. Unix timestamp in milliseconds.