Skip to content
Snippets Groups Projects
Unverified Commit b6fa22ce authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

swh.deposit.api: Update docstring

parent 42a45347
No related branches found
No related tags found
No related merge requests found
......@@ -656,7 +656,7 @@ class SWHPostDepositAPI(SWHBaseDeposit, metaclass=ABCMeta):
Returns:
204 response when no error during routine occurred.
400 if the deposit does not belong to the collection
404 if the deposit does not exist
404 if the deposit or the collection does not exist
"""
......@@ -706,7 +706,7 @@ class SWHPutDepositAPI(SWHBaseDeposit, metaclass=ABCMeta):
Returns:
204 response when no error during routine occurred.
400 if the deposit does not belong to the collection
404 if the deposit does not exist
404 if the deposit or the collection does not exist
"""
checks = self._primary_input_checks(req, collection_name, deposit_id)
if 'error' in checks:
......@@ -742,7 +742,7 @@ class SWHDeleteDepositAPI(SWHBaseDeposit, metaclass=ABCMeta):
Returns:
204 response when no error during routine occurred.
400 if the deposit does not belong to the collection
404 if the deposit does not exist
404 if the deposit or the collection does not exist
"""
checks = self._primary_input_checks(req, collection_name, deposit_id)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment