Skip to content

Review status codes for 1.0 #68

@dmcgowan

Description

@dmcgowan

We need to go through and review all the returned status codes for the various endpoints. This includes what is defined in the overview, what is defined in the detail, and whether it tested and which status code the test uses.

The result of this should be removing the disclaimer about discrepancies between header and detail.

API endpoint Overview Detail Tests Status
GET /v2/ 200 200
GET /v2/<name>/tags/list 200
GET /v2/<name>/tags/list?n=<integer>&last=<integer> 200
GET /v2/<name>/manifests/<reference> 200
PUT /v2/<name>/manifests/<reference> 201
DELETE /v2/<name>/manifests/<reference> 202
GET /v2/<name>/blobs/<digest> 200
GET /v2/<name>/blobs/<digest> + Range 206
DELETE /v2/<name>/blobs/<digest> 202 202 Inconsistent wording (layer vs blob)
POST /v2/<name>/blobs/uploads/?digest=<digest> 201
POST /v2/<name>/blobs/uploads/ 202
POST /v2/<name>/blobs/uploads/?mount=<digest>&from=<repository name> 201
GET /v2/<name>/blobs/uploads/<uuid> 204 204
PATCH /v2/<name>/blobs/uploads/<uuid> 202 202
PUT /v2/<name>/blobs/uploads/<uuid>?digest=<digest> 201 204 Needs fix
DELETE /v2/<name>/blobs/uploads/<uuid> undefined 204 Needs fix

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions