swh.deposit.api.state module#

class swh.deposit.api.state.StateAPI[source]#

Bases: APIBase

Deposit status.

What’s known as ‘State-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]#