swh.deposit.api.state module

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

Bases: swh.deposit.api.common.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) django.http.response.HttpResponse[source]