Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions api/registry.npmjs.com/package-version-status.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ paths:
$ref: "#/components/responses/PackageVersionStatusBadRequest"
"401":
$ref: "#/components/responses/PackageVersionStatusUnauthorized"
"403":
$ref: "#/components/responses/PackageVersionStatusForbidden"
"404":
$ref: "#/components/responses/PackageVersionStatusNotFound"
"429":
Expand Down Expand Up @@ -107,16 +105,6 @@ components:
properties:
error:
type: string
PackageVersionStatusForbidden:
description: |
Package version status is not enabled for this package. This is the rollout gate only. Not having access to a package is reported as `404`, not here.
content:
application/json:
schema:
type: object
properties:
error:
type: string
PackageVersionStatusNotFound:
description: |
The package version does not exist, or the authenticated user cannot read it. These are deliberately indistinguishable so the response does not reveal whether a package the caller cannot see exists.
Expand Down
Loading