Resource
Create YouTube Resource
Resource
Create YouTube Resource
Create a YouTube resource.
POST
/
v1
/
resource
/
youtube
curl --request POST \
--url https://api.droxy.ai/v1/resource/youtube \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"youtubeVideoId": "<string>",
"tags": [
"<string>"
]
}'
{
"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
Body
application/json
Response
201
application/json
Created
The response is of type object
.
curl --request POST \
--url https://api.droxy.ai/v1/resource/youtube \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"youtubeVideoId": "<string>",
"tags": [
"<string>"
]
}'
{
"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>"
]
}