跳转到内容

ಫೈಲ್ ಲೈಬ್ರರಿ

The file library shows the source files, job results and app files the current account can reach. Each item has a stable file_id and returns the actions the caller can currently perform.

ಅನುವಾದ ಇನ್‌ಪುಟ್‌ಗಾಗಿ ಬಳಸಲಾಗುವ ದಾಖಲೆಗಳು ಸಹ /api/v1/documents ಪಟ್ಟಿ, ವಿವರ, ನವೀಕರಣ ಮತ್ತು ಅಳಿಸುವಿಕೆ ಅಂತ್ಯಬಿಂದುಗಳನ್ನು ಹೊಂದಿವೆ. document_id ಸಂಸ್ಕರಣಾ ಕಾರ್ಯಗಳನ್ನು ರಚಿಸಲು; file_id ಗ್ರಂಥಾಲಯ-ವ್ಯಾಪ್ತಿಯ ಅನುಮತಿಗಳು ಮತ್ತು ಡೌನ್‌ಲೋಡ್‌ಗಳಿಗಾಗಿ. ಈ ಎರಡು ಐಡಿಗಳು ಪರಸ್ಪರ ಬದಲಾಯಿಸಬಹುದು ಎಂದು ಭಾವಿಸಬೇಡಿ.

ಪಟ್ಟಿ ಮತ್ತು ವಿವರ

Section titled “ಪಟ್ಟಿ ಮತ್ತು ವಿವರ”
GET /api/v1/storage/files?offset=0&limit=50
GET /api/v1/storage/files/{file_id}

ಪಟ್ಟಿ ಪ್ರತಿಕ್ರಿಯೆ:

{
"items": [
{
"id": "x7m4q2k9n6c1v8pa",
"name": "report.docx",
"content_type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"size_bytes": 45678,
"status": "ready",
"publication_status": "draft",
"origin": {
"product_code": "omnidoc-main",
"display_name": "OmniDoc"
},
"capabilities": {
"can_view": true,
"can_download": true,
"can_update": true,
"can_delete": true,
"can_share": true
},
"created_at": "2026-10-01T12:00:00Z",
"updated_at": "2026-10-01T12:00:00Z"
}
],
"has_more": true,
"next_offset": 50
}

ಮುಂದಿನ ಪುಟವನ್ನು ಪಡೆಯಲು, next_offset ಅನ್ನು offset ಎಂದು ಹಾಕಿ; has_more ಆಗಿರುವಾಗ false ಎಂದು ನಿಲ್ಲಿಸಿ.

ಪ್ರತಿ ಐಟಂನ capabilities ಅನ್ನು ಯಾವಾಗಲೂ ಬಳಸಿ, ಅದನ್ನು ಡೌನ್‌ಲೋಡ್ ಮಾಡಬಹುದು, ಹಂಚಿಕೊಳ್ಳಬಹುದು ಅಥವಾ ಅಪ್ಲಿಕೇಶನ್‌ಗೆ ನೀಡಬಹುದೇ ಎಂಬುದನ್ನು ನಿರ್ಧರಿಸಿ; ಮೂಲ ಕ್ಷೇತ್ರಗಳಿಂದ ಅನುಮತಿಗಳನ್ನು ಊಹಿಸಬೇಡಿ.

GET /api/v1/storage/files/{file_id}/content
POST /api/v1/storage/files/{file_id}/download-ticket

/content ಪುನರ್ನಿರ್ದೇಶನಗಳು (302) ಅಲ್ಪಾವಧಿಯ ಡೌನ್‌ಲೋಡ್ ವಿಳಾಸಕ್ಕೆ ಮಾರ್ಗದರ್ಶನ ಮಾಡುತ್ತವೆ; ಪುನರ್ನಿರ್ದೇಶನವನ್ನು ಅನುಸರಿಸುವಾಗ API ಕೀಲಿಯನ್ನು ಕಳುಹಿಸಬೇಡಿ. ಮೊದಲು download-ticket ಅನ್ನು ವಿನಂತಿಸುವುದು ಶಿಫಾರಸು ಮಾಡಲಾಗಿದೆ. ಒಂದು ವಿಳಾಸ ಅವಧಿ ಮೀರಿದ ನಂತರ ಹೊಸ ವಿಳಾಸವನ್ನು ವಿನಂತಿಸಿ; ಅದನ್ನು ಸಂಗ್ರಹಿಸಬೇಡಿ.

ಅನುಮತಿಗಳು ಮತ್ತು ಲಿಂಕ್‌ಗಳು

Section titled “ಅನುಮತಿಗಳು ಮತ್ತು ಲಿಂಕ್‌ಗಳು”
GET /api/v1/storage/files/{file_id}/permissions
POST /api/v1/storage/files/{file_id}/permissions
DELETE /api/v1/storage/files/{file_id}/permissions/{grant_id}
GET /api/v1/storage/files/{file_id}/links
POST /api/v1/storage/files/{file_id}/links
DELETE /api/v1/storage/files/{file_id}/links/{link_id}

ಅನುಮತಿ ಬದಲಾವಣೆಗಳು ಮತ್ತು ಸಾರ್ವಜನಿಕ ಲಿಂಕ್‌ಗಳು ಪ್ರತ್ಯೇಕ ಸಾಮರ್ಥ್ಯಗಳಾಗಿವೆ. ನೀವು ಲಿಂಕ್ ರಚಿಸಿದಾಗ, ಅದರ ಪ್ರೇಕ್ಷಕರು, ಡೌನ್‌ಲೋಡ್ ಅನುಮತಿ, ಅವಧಿ ಮತ್ತು ಐಚ್ಛಿಕ ಡೌನ್‌ಲೋಡ್ ಎಣಿಕೆಯನ್ನು ವಿಶೇಷವಾಗಿ ಹೊಂದಿಸಿ; ಅದು ಇನ್ನು ಅಗತ್ಯವಿಲ್ಲದಾಗ ತಕ್ಷಣವೇ ಅದನ್ನು ರದ್ದುಗೊಳಿಸಿ.

ಕಾರ್ಯಸ್ಥಳ ವೀಕ್ಷಣೆಗಳು

Section titled “ಕಾರ್ಯಸ್ಥಳ ವೀಕ್ಷಣೆಗಳು”
GET /api/v1/workspace/files
GET /api/v1/workspace/entries
GET /api/v1/workspace/apps

ಕಾರ್ಯಸ್ಥಳದ ಕೊನೆಬಿಂದುಗಳು ಫೈಲ್ ಕೇಂದ್ರಕ್ಕೆ ಸೂಕ್ತವಾಗಿವೆ; /storage/files ಒಂದೇ ಫೈಲ್‌ನಲ್ಲಿನ ಅನುಮತಿ ಮತ್ತು ಡೌನ್‌ಲೋಡ್ ಕ್ರಿಯೆಗಳಿಗೆ ಹೊಂದಿಕೆಯಾಗುತ್ತದೆ.