Changeset View
Changeset View
Standalone View
Standalone View
docs/specs/blueprint.rst
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | |||||
5. Client updates existing deposit through the *update uris* (one or more POST | 5. Client updates existing deposit through the *update uris* (one or more POST | ||||
or PUT requests to either the *edit-media iri* or *edit iri*). | or PUT requests to either the *edit-media iri* or *edit iri*). | ||||
1. Server validates the client's input or returns detailed error if any | 1. Server validates the client's input or returns detailed error if any | ||||
2. Server stores information received (metadata or software archive source | 2. Server stores information received (metadata or software archive source | ||||
code or both) | code or both) | ||||
This would be the case for example if the client initially posted a | This would be the case for example if the client initially posted a | ||||
``partial`` deposit (e.g. only metadata with no archive, or an archive | ``partial`` deposit (e.g. only metadata with no archive, or an archive | ||||
without metadata, or a split archive because the initial one exceeded | without metadata, or a split archive because the initial one exceeded | ||||
the limit size imposed by swh repository deposit) | the limit size imposed by swh repository deposit). | ||||
.. note:: | |||||
It is currently only possible to update deposits in the ``partial`` state, | |||||
moranegg: are we? what is the use case for that? | |||||
Done Inline Actions(for the record: I wrongfully wrote "deposited" instead of "done") vlorentz: (for the record: I wrongfully wrote "deposited" instead of "done") | |||||
but we are planning to allow depositing metadata in the ``done`` state | |||||
as well. | |||||
In this state, ``In-Progress`` is not allowed, so the deposit cannot go back | |||||
in the ``partial`` state, but only to ``deposited``. | |||||
Schema representation | Schema representation | ||||
^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^ | ||||
.. raw:: html | .. raw:: html | ||||
<!-- {F2884302} --> | <!-- {F2884302} --> | ||||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |
are we? what is the use case for that?