File
File API endpoint
Get File
GET https://api.yuudrive.me/v1/file/:id
This endpoint allows you to get file.
Path Parameters
Name
Type
Description
id*
string
ID of the file.
Headers
Name
Type
Description
apikey*
string
Authentication token.
{
"code": 200,
"result": {
"id": "5520f5b3",
"file_id": "1I1jgv6saHm4Sw5WazLGSPeXXpPb5xX_VX",
"file_name": "Digital Photobook.pdf",
"file_owner_mail": "[email protected]",
"file_type": "application/pdf",
"file_size": 8948521,
"direct_dl": 1,
"status": 1,
"created_date": "2020-08-19T12:08:20.000Z",
"downloads": 10,
"download_today": 5,
"last_download_date": null
}
}{
"code": 403,
"message": "You cannot see this file"
}Get Direct Download Link
GET https://api.yuudrive.me/v1/file/direct-dl
Query Parameters
Name
Type
Description
url*
String
Google Drive URL.
Headers
Name
Type
Description
apikey*
String
Authentication token.
Last updated
Was this helpful?