npm · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for npm Registry Access API

8 actions 8 updates phrasing extends openapi/npm-access-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for npm's API. It is a proposal applied on top of the contract, not a document npm publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 8

$.info
$.paths['/-/team/{orgName}/{teamName}/package'].get
$.paths['/-/team/{orgName}/{teamName}/package'].put
$.paths['/-/team/{orgName}/{teamName}/package'].delete
$.paths['/-/org/{orgName}/package'].get
$.paths['/-/package/{escapedPackageName}/collaborators'].get
$.paths['/-/package/{escapedPackageName}/visibility'].get
$.paths['/-/package/{escapedPackageName}/access'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for npm Registry Access API
  version: 1.0.0
extends: openapi/npm-access-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-22'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 7
- target: $.paths['/-/team/{orgName}/{teamName}/package'].get
  update:
    x-apievangelist-phrasing:
      intent: List a team's package access
      effect: read
      questions:
      - Which packages does a team have access to in my org?
      - What access level does a team have on each package?
      instructions:
      - text: List package access for team {teamName} in org {orgName}.
        slots:
          teamName: path.teamName
          orgName: path.orgName
      - text: Show what {orgName} team {teamName} can do with each package.
        slots:
          orgName: path.orgName
          teamName: path.teamName
      method: generated
      generated: '2026-11-22'
- target: $.paths['/-/team/{orgName}/{teamName}/package'].put
  update:
    x-apievangelist-phrasing:
      intent: Grant a team access to a package
      effect: write
      questions:
      - How do I give a team access to a private package?
      - Can I set read or publish permissions when granting a team package access?
      instructions:
      - text: Grant team {teamName} in {orgName} access to package {package} with {permissions} permissions.
        slots:
          teamName: path.teamName
          orgName: path.orgName
          package: requestBody.package
          permissions: requestBody.permissions
      - text: Give {orgName} team {teamName} {permissions} access to {package}.
        slots:
          orgName: path.orgName
          teamName: path.teamName
          permissions: requestBody.permissions
          package: requestBody.package
      method: generated
      generated: '2026-11-22'
- target: $.paths['/-/team/{orgName}/{teamName}/package'].delete
  update:
    x-apievangelist-phrasing:
      intent: Revoke a team's package access
      effect: destructive
      questions:
      - How do I remove a team's access to a package?
      - Can I take away a team's publish access to a package?
      instructions:
      - text: Remove team {teamName}'s access to packages in {orgName}.
        slots:
          teamName: path.teamName
          orgName: path.orgName
      - text: Revoke {orgName} team {teamName}'s package access.
        slots:
          orgName: path.orgName
          teamName: path.teamName
      method: generated
      generated: '2026-11-22'
- target: $.paths['/-/org/{orgName}/package'].get
  update:
    x-apievangelist-phrasing:
      intent: List packages and access levels for an org
      effect: read
      questions:
      - Which packages does an npm org have access to, and at what level?
      - Can I check an org's package access in one call?
      instructions:
      - text: List packages and access levels for org {org}.
        slots:
          org: path.orgName
      - text: Show {org}'s package access permissions.
        slots:
          org: path.orgName
      method: generated
      generated: '2026-11-22'
- target: $.paths['/-/package/{escapedPackageName}/collaborators'].get
  update:
    x-apievangelist-phrasing:
      intent: List a package's collaborators
      effect: read
      questions:
      - Who has access to a package and with what permissions?
      - Can I see the collaborators on a scoped package?
      instructions:
      - text: List collaborators on package {escapedPackageName}.
        slots:
          escapedPackageName: path.escapedPackageName
      - text: Show who has access to {escapedPackageName} and their access level.
        slots:
          escapedPackageName: path.escapedPackageName
      method: generated
      generated: '2026-11-22'
- target: $.paths['/-/package/{escapedPackageName}/visibility'].get
  update:
    x-apievangelist-phrasing:
      intent: Check a package's visibility
      effect: read
      questions:
      - Is a package public or private?
      - What visibility is set on a package?
      instructions:
      - text: Get the visibility of package {escapedPackageName}.
        slots:
          escapedPackageName: path.escapedPackageName
      - text: Check whether {escapedPackageName} is public or private.
        slots:
          escapedPackageName: path.escapedPackageName
      method: generated
      generated: '2026-11-22'
- target: $.paths['/-/package/{escapedPackageName}/access'].post
  update:
    x-apievangelist-phrasing:
      intent: Set a package's visibility and 2FA policy
      effect: write
      questions:
      - How do I make a package private?
      - Can I require 2FA for publishing a package?
      - Is it possible to let automation tokens bypass 2FA on a package?
      instructions:
      - text: Set package {escapedPackageName} visibility to {access}.
        slots:
          escapedPackageName: path.escapedPackageName
          access: requestBody.access
      - text: Require 2FA for publishing {escapedPackageName} by setting publish_requires_tfa to {publish_requires_tfa}.
        slots:
          escapedPackageName: path.escapedPackageName
          publish_requires_tfa: requestBody.publish_requires_tfa
      - text: Make automation tokens override 2FA on {escapedPackageName} by setting automation_token_overrides_tfa to {automation_token_overrides_tfa}.
        slots:
          escapedPackageName: path.escapedPackageName
          automation_token_overrides_tfa: requestBody.automation_token_overrides_tfa
      method: generated
      generated: '2026-11-22'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/npm-access-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.