swh.deposit.api.content module#

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

Bases: 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

Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.

get(req, collection_name: str, deposit_id: int) HttpResponse[source]#