Apache Knox Descriptors API

Simple descriptor management

Operations 4

GET /api/v1/descriptors Apache knox Apache Knox List Descriptors #
POST /api/v1/descriptors Apache knox Apache Knox Create Descriptor #
GET /api/v1/descriptors/{descriptorName} Apache knox Apache Knox Get Descriptor #
DELETE /api/v1/descriptors/{descriptorName} Apache knox Apache Knox Delete Descriptor #

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/apache-knox-descriptors-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

apache-knox-descriptors-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Apache Knox Admin REST Descriptors API
  description: REST API for Apache Knox gateway administration including topology management, service discovery, token management, and audit operations.
  version: 2.0.0
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  contact:
    email: user@knox.apache.org
servers:
- url: https://localhost:8443/gateway/admin
  description: Apache Knox Admin API
security:
- basicAuth: []
tags:
- name: Descriptors
  description: Simple descriptor management
paths:
  /api/v1/descriptors:
    get:
      operationId: listDescriptors
      summary: Apache knox Apache Knox List Descriptors
      description: List all simple descriptors on the gateway.
      tags:
      - Descriptors
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      responses:
        '200':
          description: List of descriptors
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DescriptorList'
              examples:
                listDescriptors200Example:
                  summary: Default listDescriptors 200 response
                  x-microcks-default: true
                  value:
                    descriptors: []
    post:
      operationId: createDescriptor
      summary: Apache knox Apache Knox Create Descriptor
      description: Create a new simple descriptor.
      tags:
      - Descriptors
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Descriptor'
            examples:
              createDescriptorRequestExample:
                summary: Default createDescriptor request
                x-microcks-default: true
                value:
                  name: hadoop-cluster
                  discoveryType: Ambari
                  discoveryAddress: http://ambari:8080
                  cluster: my-cluster
                  providerConfig: my-provider-config
                  services: []
      responses:
        '200':
          description: Descriptor created
  /api/v1/descriptors/{descriptorName}:
    get:
      operationId: getDescriptor
      summary: Apache knox Apache Knox Get Descriptor
      description: Get a specific simple descriptor.
      tags:
      - Descriptors
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      parameters:
      - name: descriptorName
        in: path
        required: true
        schema:
          type: string
        example: hadoop-cluster
      responses:
        '200':
          description: Descriptor details
    delete:
      operationId: deleteDescriptor
      summary: Apache knox Apache Knox Delete Descriptor
      description: Delete a simple descriptor.
      tags:
      - Descriptors
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      parameters:
      - name: descriptorName
        in: path
        required: true
        schema:
          type: string
        example: hadoop-cluster
      responses:
        '200':
          description: Descriptor deleted
components:
  schemas:
    Descriptor:
      type: object
      description: A Knox simple descriptor
      properties:
        name:
          type: string
          description: Descriptor name
          example: hadoop-cluster
        discoveryType:
          type: string
          description: Service discovery type
          example: Ambari
        discoveryAddress:
          type: string
          description: Discovery service address
          example: http://ambari:8080
        cluster:
          type: string
          description: Cluster name
          example: my-cluster
        providerConfig:
          type: string
          description: Referenced provider configuration
          example: my-provider-config
        services:
          type: array
          description: Services exposed by this descriptor
          items:
            type: object
    DescriptorList:
      type: object
      description: List of simple descriptors
      properties:
        descriptors:
          type: array
          items:
            $ref: '#/components/schemas/Descriptor'
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic