Drive > Files > File/Directory > Access

Allow external applications

Get access for an external application

post/2/drive/{drive_id}/files/{file_id}/access/applications

Path parameters

drive_idinteger required

Drive identifier

file_idinteger required

File identifier

Request body

mode'edit' | 'view'

Asked mode to open the external wopi documents.<note><strong>edit</strong>: Open with the edit mode.</note><note><strong>view</strong>: Open with the view mode.</note>

type'365' | 'collabora' required

List of applications.<note><strong>365</strong>: The 365 application.</note><note><strong>collabora</strong>: The collabora application.</note>

Example request

{
  "mode": "edit",
  "type": "365"
}

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

data91ac10ffFeedbackaccessresourceC3fdaa7f — unresolved $ref

Changes

No recorded changes to this endpoint across all 1 revision of this API.