docs/files.rst: added url field information for list API POST
This commit is contained in:
parent
281ad30eec
commit
5fd8fada2c
@ -163,6 +163,18 @@ To access this endpoint, a user needs the :ref:`create shares<permissions_table>
|
|||||||
The share created here is empty, and only contains metadata.
|
The share created here is empty, and only contains metadata.
|
||||||
See :ref:`files_content_api` for information on uploading content.
|
See :ref:`files_content_api` for information on uploading content.
|
||||||
|
|
||||||
|
Upon success, the server will respond like this:
|
||||||
|
|
||||||
|
.. code-block:: json
|
||||||
|
|
||||||
|
{
|
||||||
|
"status": "success",
|
||||||
|
"url": "/files/d9eafb5e-af48-40ec-b6fd-f7ea99e6d990"
|
||||||
|
}
|
||||||
|
|
||||||
|
The ``url`` field represents the share you just created.
|
||||||
|
It can be used in further requests to upload content to the share.
|
||||||
|
|
||||||
.. _files_content_api:
|
.. _files_content_api:
|
||||||
|
|
||||||
Content API
|
Content API
|
||||||
|
Loading…
Reference in New Issue
Block a user