Resource
Create Website Resource
Resource
Create Website Resource
Create a Website resource.
POST
/
v1
/
resource
/
website
curl --request POST \
--url https://api.droxy.ai/v1/resource/website \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"url": "<string>",
"subLinks": [],
"syncFrequency": [
"<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/website \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"url": "<string>",
"subLinks": [],
"syncFrequency": [
"<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>"
]
}