Endpoints for Dropbox file requests (/file_requests/*).
Summary
Functions
Returns the total number of file requests owned by this user.
Creates a file request for this user.
Delete a batch of closed file requests by id.
Delete all closed file requests owned by this user.
Returns the specified file request.
Returns a list of file requests owned by this user. For apps with the app folder permission, this will only return file requests with destinations in the app folder.
Fetches the next page of results from list_v2/2.
Returns a paginated list of file requests owned by this user.
Returns a lazy Stream over all file requests of the current user,
fetching pages through list_v2/2 + list_continue/2 on demand. Raises
Magpie.Error if a page request fails.
Update a file request.
Functions
Returns the total number of file requests owned by this user.
More info at: https://www.dropbox.com/developers/documentation/http/documentation#file_requests-count
Creates a file request for this user.
Example
deadline = %{ "deadline" => "2020-10-12T17:00:00Z" } Magpie.FileRequests.create client , "cool", "/Temp", deadline
More info at: https://www.dropbox.com/developers/documentation/http/documentation#file_requests-create
Delete a batch of closed file requests by id.
More info at: https://www.dropbox.com/developers/documentation/http/documentation#file_requests-delete
Delete all closed file requests owned by this user.
More info at: https://www.dropbox.com/developers/documentation/http/documentation#file_requests-delete_all_closed
Returns the specified file request.
Example
Magpie.FileRequests.get client , ""
More info at: https://www.dropbox.com/developers/documentation/http/documentation#file_requests-get
Returns a list of file requests owned by this user. For apps with the app folder permission, this will only return file requests with destinations in the app folder.
Example
Magpie.FileRequests.list client
More info at: https://www.dropbox.com/developers/documentation/http/documentation#file_requests-list
Fetches the next page of results from list_v2/2.
More info at: https://www.dropbox.com/developers/documentation/http/documentation#file_requests-list-continue
Returns a paginated list of file requests owned by this user.
More info at: https://www.dropbox.com/developers/documentation/http/documentation#file_requests-list_v2
Returns a lazy Stream over all file requests of the current user,
fetching pages through list_v2/2 + list_continue/2 on demand. Raises
Magpie.Error if a page request fails.
Example
client |> Magpie.FileRequests.stream() |> Enum.count()
Update a file request.
Example
deadline = %{ "deadline" => "2020-10-12T17:00:00Z" } Magpie.FileRequests.create client, "", "cool", "/Temp", deadline
More info at: https://www.dropbox.com/developers/documentation/http/documentation#file_requests-list