Codeberg · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Forgejo Package API

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

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/packages/{owner}'].get
$.paths['/packages/{owner}/{type}/{name}/-/link/{repo_name}'].post
$.paths['/packages/{owner}/{type}/{name}/-/unlink'].post
$.paths['/packages/{owner}/{type}/{name}/{version}'].get
$.paths['/packages/{owner}/{type}/{name}/{version}'].delete
$.paths['/packages/{owner}/{type}/{name}/{version}/files'].get

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 Forgejo Package API
  version: 1.0.0
extends: openapi/codeberg-package-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-20'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 6
- target: $.paths['/packages/{owner}'].get
  update:
    x-apievangelist-phrasing:
      intent: List a user's packages
      effect: read
      questions:
      - Which packages does a user have in Forgejo?
      - Can I list only one package type for an owner?
      instructions:
      - text: List packages for {owner}.
        slots:
          owner: path.owner
      - text: Find {type} packages for {owner} matching {q}.
        slots:
          type: query.type
          owner: path.owner
          q: query.q
      method: generated
      generated: '2026-11-20'
- target: $.paths['/packages/{owner}/{type}/{name}/-/link/{repo_name}'].post
  update:
    x-apievangelist-phrasing:
      intent: Link a package to a repository
      effect: write
      questions:
      - How do I attach a package to a repository?
      - Can I link a package to several repos at once?
      instructions:
      - text: Link {type} package {name} of {owner} to {repo_name}.
        slots:
          type: path.type
          name: path.name
          owner: path.owner
          repo_name: path.repo_name
      - text: Attach {name} ({type}) to repository {repo_name}.
        slots:
          name: path.name
          type: path.type
          repo_name: path.repo_name
      method: generated
      generated: '2026-11-20'
- target: $.paths['/packages/{owner}/{type}/{name}/-/unlink'].post
  update:
    x-apievangelist-phrasing:
      intent: Unlink a package from a repository
      effect: destructive
      questions:
      - How do I detach a package from its repository?
      - Can I unlink a package without deleting it?
      instructions:
      - text: Unlink {type} package {name} for {owner}.
        slots:
          type: path.type
          name: path.name
          owner: path.owner
      - text: Detach {name} ({type}) from its repository.
        slots:
          name: path.name
          type: path.type
      method: generated
      generated: '2026-11-20'
- target: $.paths['/packages/{owner}/{type}/{name}/{version}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a package version
      effect: read
      questions:
      - What files does a specific package version contain?
      - Can I fetch one package version by name and type?
      instructions:
      - text: Get {type} package {name} version {version} for {owner}.
        slots:
          type: path.type
          name: path.name
          version: path.version
          owner: path.owner
      - text: Show the details of {name} ({type}) at {version}.
        slots:
          name: path.name
          type: path.type
          version: path.version
      method: generated
      generated: '2026-11-20'
- target: $.paths['/packages/{owner}/{type}/{name}/{version}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a package version
      effect: destructive
      questions:
      - How do I remove an old package version?
      - Can I delete a single package version by name and type?
      instructions:
      - text: Delete {type} package {name} version {version} for {owner}.
        slots:
          type: path.type
          name: path.name
          version: path.version
          owner: path.owner
      - text: Remove {name} ({type}) at {version}.
        slots:
          name: path.name
          type: path.type
          version: path.version
      method: generated
      generated: '2026-11-20'
- target: $.paths['/packages/{owner}/{type}/{name}/{version}/files'].get
  update:
    x-apievangelist-phrasing:
      intent: List a package's files
      effect: read
      questions:
      - Which files are in a package version?
      - Can I list every file of a package?
      instructions:
      - text: List files of {type} package {name} version {version} for {owner}.
        slots:
          type: path.type
          name: path.name
          version: path.version
          owner: path.owner
      - text: Show all files in {name} ({type}) at {version}.
        slots:
          name: path.name
          type: path.type
          version: path.version
      method: generated
      generated: '2026-11-20'

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/codeberg-package-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.