Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-deposit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Antoine R. Dumont
swh-deposit
Commits
b6fa22ce
Unverified
Commit
b6fa22ce
authored
7 years ago
by
Antoine R. Dumont
Browse files
Options
Downloads
Patches
Plain Diff
swh.deposit.api: Update docstring
parent
42a45347
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
swh/deposit/api/common.py
+3
-3
3 additions, 3 deletions
swh/deposit/api/common.py
with
3 additions
and
3 deletions
swh/deposit/api/common.py
+
3
−
3
View file @
b6fa22ce
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment