D2lvalenceElixir.Utils.Service.get_files_from_submission
You're seeing just the function
get_files_from_submission
, go back to D2lvalenceElixir.Utils.Service module for more information.
Link to this function
get_files_from_submission(user_context, org_unit_id, folder_id, submission, options \\ [])
View SourceSpecs
get_files_from_submission( %D2lvalenceElixir.Auth.D2LUserContext{ anonymous: term(), app_id: term(), app_key: term(), encrypt_requests: term(), host: term(), scheme: term(), server_skew: term(), user_id: term(), user_key: term() }, integer(), integer(), %D2lvalenceElixir.Data.SingleSubmissionForDropbox{ comment: term(), files: term(), id: term(), submission_date: term(), submitted_by: term() }, serializers: map() | %{}, ver: String.t(), body: list() | [] ) :: {:ok, [%D2lvalenceElixir.Data.FileResponse{filename: term(), path: term()}]} | {:error, String.t()}
Gets all the files from an specific submission.
Returns
{:error, cause}
when an error is caused.
{:ok, list(%D2lvalenceElixir.Data.FileResponse{})}
The result contains a list with all the files. The files are stored on a temporary path.
Options
version: version of the component to verify. If not specified, will get the version of the component. serializers: Map of availaber serializers. application/json recommended. body: Options to pass to the body of the request.