|
81.
|
|
|
If you use SAML, the URL is more complicated because you go through the IdP first and then need to be redirected to Mahara
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/web_services/mahara_upload_file.rst:26
|
|
82.
|
|
|
``<a href="https://domain/auth/saml/index.php?idpentityid=IdPinfo &wantsurl=https%3A%2F%2Fdomain%2Fartefact%2Ffile%2Findex.php %3Fexpectfile%3D1%26externalsource%3Dapplication">Agree to file transfer</a>``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/web_services/mahara_upload_file.rst:28
|
|
83.
|
|
|
where
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/web_services/mahara_upload_file.rst:32
|
|
84.
|
|
|
**domain** is your Mahara URL
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/web_services/mahara_upload_file.rst:34
|
|
85.
|
|
|
**application** is an identifier to restrict from where the upload can come
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/web_services/mahara_upload_file.rst:35
|
|
86.
|
|
|
**IdPinfo** is the URL for your IdP.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/web_services/mahara_upload_file.rst:36
|
|
87.
|
|
|
A database entry is made letting Mahara know that a file is expected at some point.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/web_services/mahara_upload_file.rst:38
|
|
88.
|
|
|
At some point the file is transferred from the third-party application.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/web_services/mahara_upload_file.rst:39
|
|
89.
|
|
|
Files can be sent in bulk, e.g. at the end of an academic year, where the sending of each file results in one API call. Files cannot be sent in an array.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/web_services/mahara_upload_file.rst:41
|
|
90.
|
|
|
The cURL command to send a file is:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/web_services/mahara_upload_file.rst:43
|