Zot

Zot Zot API

The Zot API from Zot — 6 operation(s) for zot.

Operations 8

POST /v2/_zot/ext/cosign Upload cosign public keys for verifying signatures
GET /v2/_zot/ext/mgmt Get current server configuration
POST /v2/_zot/ext/notation Upload notation certificates for verifying signatures
PUT /v2/_zot/ext/userprefs Add bookmarks/stars info
DELETE /zot/auth/apikey Revokes one current user API key
GET /zot/auth/apikey Get list of API keys for the current user
POST /zot/auth/apikey Create an API key for the current user
POST /zot/auth/logout Logout by removing current session

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/zot-zot-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

zot-zot-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact: {}
  description: APIs for Open Container Initiative Distribution Specification
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  title: Open Container Initiative Distribution Specification Blobs Zot API
  version: v1.1.1
tags:
- name: Zot
paths:
  /v2/_zot/ext/cosign:
    post:
      description: Upload cosign public keys for verifying signatures
      responses:
        '200':
          description: ok
          content:
            application/json:
              schema:
                type: string
        '400':
          description: bad request
          content:
            application/json:
              schema:
                type: string
        '413':
          description: request entity too large
          content:
            application/json:
              schema:
                type: string
        '500':
          description: internal server error
          content:
            application/json:
              schema:
                type: string
      summary: Upload cosign public keys for verifying signatures
      tags:
      - Zot
      requestBody:
        content:
          application/octet-stream:
            schema:
              type: string
        description: Public key content
        required: true
  /v2/_zot/ext/mgmt:
    get:
      description: Get current server configuration
      parameters:
      - description: specify resource
        in: query
        name: resource
        schema:
          type: string
          enum:
          - config
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/extensions.StrippedConfig'
        '500':
          description: internal server error
          content:
            application/json:
              schema:
                type: string
      summary: Get current server configuration
      tags:
      - Zot
  /v2/_zot/ext/notation:
    post:
      description: Upload notation certificates for verifying signatures
      parameters:
      - description: truststore type
        in: query
        name: truststoreType
        schema:
          type: string
      responses:
        '200':
          description: ok
          content:
            application/json:
              schema:
                type: string
        '400':
          description: bad request
          content:
            application/json:
              schema:
                type: string
        '413':
          description: request entity too large
          content:
            application/json:
              schema:
                type: string
        '500':
          description: internal server error
          content:
            application/json:
              schema:
                type: string
      summary: Upload notation certificates for verifying signatures
      tags:
      - Zot
      requestBody:
        content:
          application/octet-stream:
            schema:
              type: string
        description: Certificate content
        required: true
  /v2/_zot/ext/userprefs:
    put:
      description: Add bookmarks/stars info
      parameters:
      - description: specify action
        in: query
        name: action
        required: true
        schema:
          type: string
          enum:
          - toggleBookmark
          - toggleStar
      - description: repository name
        in: query
        name: repo
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ok
          content:
            application/json:
              schema:
                type: string
        '400':
          description: bad request".
          content:
            application/json:
              schema:
                type: string
        '403':
          description: forbidden
          content:
            application/json:
              schema:
                type: string
        '404':
          description: not found
          content:
            application/json:
              schema:
                type: string
        '500':
          description: internal server error
          content:
            application/json:
              schema:
                type: string
      summary: Add bookmarks/stars info
      tags:
      - Zot
  /zot/auth/apikey:
    delete:
      description: Revokes one current user API key based on given key ID
      parameters:
      - description: api token id (UUID)
        in: query
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ok
          content:
            application/json:
              schema:
                type: string
        '400':
          description: bad request
          content:
            application/json:
              schema:
                type: string
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                type: string
        '500':
          description: internal server error
          content:
            application/json:
              schema:
                type: string
      summary: Revokes one current user API key
      tags:
      - Zot
    get:
      description: Get list of all API keys for a logged in user
      responses:
        '200':
          description: ok
          content:
            application/json:
              schema:
                type: string
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                type: string
        '500':
          description: internal server error
          content:
            application/json:
              schema:
                type: string
      summary: Get list of API keys for the current user
      tags:
      - Zot
    post:
      description: Can create an api key for a logged in user, based on the provided label and scopes.
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                type: string
        '400':
          description: bad request
          content:
            application/json:
              schema:
                type: string
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                type: string
        '413':
          description: request entity too large
          content:
            application/json:
              schema:
                type: string
        '500':
          description: internal server error
          content:
            application/json:
              schema:
                type: string
      summary: Create an API key for the current user
      tags:
      - Zot
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/api.APIKeyPayload'
        description: api token id (UUID)
        required: true
  /zot/auth/logout:
    post:
      description: 'Logout by removing current session. For OIDC providers that advertise an

        `end_session_endpoint` in their discovery metadata (OpenID Connect

        RP-Initiated Logout 1.0), the response body contains an `endSessionUrl`

        the client should navigate to in order to terminate the session at the IdP.'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.LogoutResponse'
        '500':
          description: internal server error
          content:
            application/json:
              schema:
                type: string
      summary: Logout by removing current session
      tags:
      - Zot
components:
  schemas:
    api.LogoutResponse:
      properties:
        endSessionUrl:
          type: string
      type: object
    extensions.HTPasswd:
      properties:
        path:
          type: string
      type: object
    extensions.StrippedConfig:
      properties:
        binaryType:
          type: string
        commit:
          type: string
        distSpecVersion:
          type: string
        http:
          properties:
            auth:
              $ref: '#/components/schemas/extensions.Auth'
          type: object
        releaseTag:
          type: string
      type: object
    extensions.OpenIDProviderConfig:
      properties:
        name:
          type: string
      type: object
    api.APIKeyPayload:
      properties:
        expirationDate:
          type: string
        label:
          type: string
        scopes:
          items:
            type: string
          type: array
      type: object
    extensions.Auth:
      properties:
        apikey:
          type: boolean
        bearer:
          $ref: '#/components/schemas/extensions.BearerConfig'
        htpasswd:
          $ref: '#/components/schemas/extensions.HTPasswd'
        ldap:
          properties:
            address:
              type: string
          type: object
        openid:
          $ref: '#/components/schemas/extensions.OpenIDConfig'
      type: object
    extensions.OpenIDConfig:
      properties:
        providers:
          additionalProperties:
            $ref: '#/components/schemas/extensions.OpenIDProviderConfig'
          type: object
      type: object
    extensions.BearerConfig:
      properties:
        realm:
          type: string
        service:
          type: string
      type: object