POST
/
v1
/
resource
/
file
Create File Resource
curl --request POST \
  --url https://api.droxy.ai/v1/resource/file \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-api-key: <api-key>' \
  --form 'tags=[
  "<string>"
]' \
  --form file=@example-file
{
  "id": "<string>",
  "organisation": "<string>",
  "creator": "<string>",
  "fileName": "<string>",
  "type": "<string>",
  "createdAt": 123,
  "aiProcessingStatus": "<string>",
  "youtubeVideoId": 123,
  "googleDriveResourceFile": {
    "googleDriveAccountId": "<string>",
    "fileId": "<string>",
    "fileName": "<string>",
    "mimeType": "<string>",
    "webViewLink": "<string>",
    "recursive": "<string>"
  },
  "website": {
    "url": "<string>",
    "subLinks": [
      "<string>"
    ]
  },
  "videoLength": 123,
  "fileSize": 123,
  "syncFrequencyMs": 123,
  "lastSync": 123,
  "tags": [
    "<string>"
  ]
}

Authorizations

x-api-key
string
header
required

Body

multipart/form-data

Resource file to upload. File must be smaller than 1000MB and video files must be shorter than 120 minutes.

The body is of type object.

Response

Created

The response is of type object.