swh.deposit.api.content module

class swh.deposit.api.content.ContentAPI[source]

Bases: swh.deposit.api.common.APIBase

Deposit request class defining api endpoints for sword deposit.

What’s known as ‘Cont-IRI’ and ‘File-IRI’ in the sword specification.

HTTP verbs supported: GET

get(req, collection_name: str, deposit_id: int) → django.http.response.HttpResponse[source]