Enter REST API key. To generate a key, go to Settings → Knowledge base portal → API tokens
The ID of drive folder
The ID of file
Set this to false to exclude appending SAS token for images/files
Success
Here, you can verify the file’s information.
{
"data": {
"id": "d79c041c-0f94-4b04-a8b6-a14bb1995eca",
"file_name": "New-Image",
"file_type": "Other",
"file_url": "https://file.example.com/new-image.jpg",
"updated_on": "2024-06-13T14:30:00Z",
"updated_by": "d79c041c-0f94-4b04-a8b6-a14bb1995eca",
"size": "235",
"height": null,
"width": null,
"parent_folder_id": null,
"title": "Document",
"alternative_text": null,
"tags": [
{
"id": "d8b65d24-ce62-407a-8463-846efc8eee93",
"tag_name": "new-tag"
}
],
"thumbnail_url": "https://file.example.com/New-thumbnail-url",
"is_starred": true
},
"extension_data": null,
"success": true,
"errors": [],
"warnings": [],
"information": []
}
File response with tag data
The file ID
The file name
The file type
The file URL
The date the file was uploaded
The ID of user who uploaded the file
The file size
The file height
The file width
The parent folder ID
The file title
The file alternative text
The tags associated with the file
The tag ID
The tag name
The thumbnail URL
This denotes the file is starred or not
Extention data for customer API response
Status indication for customer API response
Errors in the customer API response
Thids is the Extention data object
Stack trace for error response message
Description for error cause
Error code for Api response
Warnings in the customer API response
Extention Data for customer Api warning
Warning description
warning code for customer Api base response
Information passed by the customer API response
Extention data for customer Api response information
status description for customer Api response information
Bad Request
Kindly verify the given file is valid and perform the task again.
{
"extension_data": null,
"success": false,
"errors": [],
"warnings": [],
"information": []
}
Extention data for customer API response
Status indication for customer API response
Errors in the customer API response
Thids is the Extention data object
Stack trace for error response message
Description for error cause
Error code for Api response
Warnings in the customer API response
Extention Data for customer Api warning
Warning description
warning code for customer Api base response
Information passed by the customer API response
Extention data for customer Api response information
status description for customer Api response information