curl --request POST \
--url https://brainbase-monorepo-api.onrender.com/api/workers/{workerId}/resources/{resourceId}/move \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"folderId": "<string>"
}'
{
"id": "<string>",
"ragType": "FILE",
"lastUpdated": "2023-11-07T05:31:56Z",
"updateFrequency": "<string>",
"rawLink": "<string>",
"key": "<string>",
"s3FilePath": "<string>",
"imageS3FilePath": "<string>",
"signedS3FilePath": "<string>",
"numScrolls": 123,
"fileName": "<string>",
"mimeType": "<string>",
"status": "STARTED",
"processingError": "<string>",
"graphStatus": {},
"size": 123,
"uploadedAt": "2023-11-07T05:31:56Z",
"folderId": "<string>"
}
curl --request POST \
--url https://brainbase-monorepo-api.onrender.com/api/workers/{workerId}/resources/{resourceId}/move \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"folderId": "<string>"
}'
{
"id": "<string>",
"ragType": "FILE",
"lastUpdated": "2023-11-07T05:31:56Z",
"updateFrequency": "<string>",
"rawLink": "<string>",
"key": "<string>",
"s3FilePath": "<string>",
"imageS3FilePath": "<string>",
"signedS3FilePath": "<string>",
"numScrolls": 123,
"fileName": "<string>",
"mimeType": "<string>",
"status": "STARTED",
"processingError": "<string>",
"graphStatus": {},
"size": 123,
"uploadedAt": "2023-11-07T05:31:56Z",
"folderId": "<string>"
}
API key authentication
Resource moved
The response is of type object
.