GET /api/drive/files
Lists visible files; accepts folderId, search, fileType, page, limit, sortBy, and sortOrder.
Authentication: Valid Genorbex session token.
Organize folders, upload and preview files, download content, and create file-sharing links in My Drive.
File uploads use multipart/form-data with a file field. Optional folderId, description, tags, and isPublic fields are separate form fields. Folder creation uses name and optional parentId. Sharing uses the /api/drive/share endpoint.
Use your Genorbex deployment’s origin followed by the path below. Replace IDs with resources accessible to your account. Authentication and permissions are checked by each endpoint.
Lists visible files; accepts folderId, search, fileType, page, limit, sortBy, and sortOrder.
Authentication: Valid Genorbex session token.
Creates a folder.
Authentication: Valid Genorbex session token.
Example JSON body
{
"name": "Project documents",
"parentId": null
}Uploads a file using multipart/form-data.
Authentication: Valid Genorbex session token.
Creates a file share with VIEW, EDIT, or DOWNLOAD permission.
Authentication: Valid Genorbex session token.
Example JSON body
{
"fileId": "YOUR_FILE_ID",
"permission": "VIEW"
}Need help with your setup? Visit the Help Center or contact Genorbex.