Red Hat Ansible Automation Platform Content: Namespaces API

The Content: Namespaces API from Red Hat Ansible Automation Platform — 3 operation(s) for content: namespaces.

Operations 3

GET /api/automation-hub/pulp/api/v3/content/ansible/namespaces/ List ansible namespace metadatas #
GET /api/automation-hub/pulp/api/v3/content/ansible/namespaces/{pulp_id}/ Inspect an ansible namespace metadata #
GET /api/automation-hub/pulp/api/v3/content/ansible/namespaces/{pulp_id}/avatar/ Content ansible namespaces avatar #

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/red-hat-ansible-automation-platform-content-namespaces-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

red-hat-ansible-automation-platform-content-namespaces-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 'Automation Hub Content: Namespaces API'
  version: v3
  description: Fetch, Upload, Organize, and Distribute Ansible Collections
  contact:
    name: Automation Hub Team
    email: ansible-galaxy-team@redhat.com
    url: https://www.ansible.com/products/automation-hub
  license:
    name: GPLv2+
    url: https://raw.githubusercontent.com/ansible/galaxy_ng/main/LICENSE
  x-logo:
    url: https://pulp.plan.io/attachments/download/517478/pulp_logo_word_rectangle.svg
  x-pulp-app-versions:
    core: 3.49.40
    galaxy: 4.12.0dev
    ansible: 0.25.1
    container: 2.19.5
    certguard: 3.49.40
    file: 3.49.40
  x-pulp-domain-enabled: false
servers:
- url: http://automation-hub-backend-cwa.automation-hub-prod.svc.cluster.local:8000/
tags:
- name: 'Content: Namespaces'
paths:
  /api/automation-hub/pulp/api/v3/content/ansible/namespaces/:
    get:
      operationId: content_ansible_namespaces_list
      description: ViewSet for AnsibleNamespace.
      summary: List ansible namespace metadatas
      parameters:
      - in: query
        name: company
        schema:
          type: string
        description: Filter results where company matches value
      - in: query
        name: company__contains
        schema:
          type: string
        description: Filter results where company contains value
      - in: query
        name: company__icontains
        schema:
          type: string
        description: Filter results where company contains value
      - in: query
        name: company__iexact
        schema:
          type: string
        description: Filter results where company matches value
      - in: query
        name: company__in
        schema:
          type: array
          items:
            type: string
        description: Filter results where company is in a comma-separated list of values
        explode: false
        style: form
      - in: query
        name: company__iregex
        schema:
          type: string
        description: Filter results where company matches regex value
      - in: query
        name: company__istartswith
        schema:
          type: string
        description: Filter results where company starts with value
      - in: query
        name: company__regex
        schema:
          type: string
        description: Filter results where company matches regex value
      - in: query
        name: company__startswith
        schema:
          type: string
        description: Filter results where company starts with value
      - name: limit
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - in: query
        name: metadata_sha256
        schema:
          type: string
        description: Filter results where metadata_sha256 matches value
      - in: query
        name: metadata_sha256__in
        schema:
          type: array
          items:
            type: string
        description: Filter results where metadata_sha256 is in a comma-separated list of values
        explode: false
        style: form
      - in: query
        name: name
        schema:
          type: string
        description: Filter results where name matches value
      - in: query
        name: name__contains
        schema:
          type: string
        description: Filter results where name contains value
      - in: query
        name: name__icontains
        schema:
          type: string
        description: Filter results where name contains value
      - in: query
        name: name__iexact
        schema:
          type: string
        description: Filter results where name matches value
      - in: query
        name: name__in
        schema:
          type: array
          items:
            type: string
        description: Filter results where name is in a comma-separated list of values
        explode: false
        style: form
      - in: query
        name: name__iregex
        schema:
          type: string
        description: Filter results where name matches regex value
      - in: query
        name: name__istartswith
        schema:
          type: string
        description: Filter results where name starts with value
      - in: query
        name: name__regex
        schema:
          type: string
        description: Filter results where name matches regex value
      - in: query
        name: name__startswith
        schema:
          type: string
        description: Filter results where name starts with value
      - name: offset
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      - in: query
        name: ordering
        schema:
          type: array
          items:
            type: string
            enum:
            - -avatar_sha256
            - -company
            - -description
            - -email
            - -links
            - -metadata_sha256
            - -name
            - -pk
            - -pulp_created
            - -pulp_id
            - -pulp_last_updated
            - -pulp_type
            - -resources
            - -timestamp_of_interest
            - -upstream_id
            - avatar_sha256
            - company
            - description
            - email
            - links
            - metadata_sha256
            - name
            - pk
            - pulp_created
            - pulp_id
            - pulp_last_updated
            - pulp_type
            - resources
            - timestamp_of_interest
            - upstream_id
        description: 'Ordering


          * `pulp_id` - Pulp id

          * `-pulp_id` - Pulp id (descending)

          * `pulp_created` - Pulp created

          * `-pulp_created` - Pulp created (descending)

          * `pulp_last_updated` - Pulp last updated

          * `-pulp_last_updated` - Pulp last updated (descending)

          * `pulp_type` - Pulp type

          * `-pulp_type` - Pulp type (descending)

          * `upstream_id` - Upstream id

          * `-upstream_id` - Upstream id (descending)

          * `timestamp_of_interest` - Timestamp of interest

          * `-timestamp_of_interest` - Timestamp of interest (descending)

          * `name` - Name

          * `-name` - Name (descending)

          * `company` - Company

          * `-company` - Company (descending)

          * `email` - Email

          * `-email` - Email (descending)

          * `description` - Description

          * `-description` - Description (descending)

          * `resources` - Resources

          * `-resources` - Resources (descending)

          * `links` - Links

          * `-links` - Links (descending)

          * `avatar_sha256` - Avatar sha256

          * `-avatar_sha256` - Avatar sha256 (descending)

          * `metadata_sha256` - Metadata sha256

          * `-metadata_sha256` - Metadata sha256 (descending)

          * `pk` - Pk

          * `-pk` - Pk (descending)'
        explode: false
        style: form
      - in: query
        name: orphaned_for
        schema:
          type: number
        description: Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
      - in: query
        name: pulp_href__in
        schema:
          type: array
          items:
            type: string
        description: Multiple values may be separated by commas.
        explode: false
        style: form
      - in: query
        name: pulp_id__in
        schema:
          type: array
          items:
            type: string
            format: uuid
        description: Multiple values may be separated by commas.
        explode: false
        style: form
      - in: query
        name: q
        schema:
          type: string
      - in: query
        name: repository_version
        schema:
          type: string
        description: Repository Version referenced by HREF
      - in: query
        name: repository_version_added
        schema:
          type: string
        description: Repository Version referenced by HREF
      - in: query
        name: repository_version_removed
        schema:
          type: string
        description: Repository Version referenced by HREF
      - in: query
        name: fields
        schema:
          type: array
          items:
            type: string
        description: A list of fields to include in the response.
      - in: query
        name: exclude_fields
        schema:
          type: array
          items:
            type: string
        description: A list of fields to exclude from the response.
      tags:
      - 'Content: Namespaces'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Paginatedansible.AnsibleNamespaceMetadataResponseList'
          description: ''
  /api/automation-hub/pulp/api/v3/content/ansible/namespaces/{pulp_id}/:
    get:
      operationId: content_ansible_namespaces_read
      description: ViewSet for AnsibleNamespace.
      summary: Inspect an ansible namespace metadata
      parameters:
      - in: path
        name: pulp_id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this ansible namespace metadata.
        required: true
      - in: query
        name: fields
        schema:
          type: array
          items:
            type: string
        description: A list of fields to include in the response.
      - in: query
        name: exclude_fields
        schema:
          type: array
          items:
            type: string
        description: A list of fields to exclude from the response.
      tags:
      - 'Content: Namespaces'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ansible.AnsibleNamespaceMetadataResponse'
          description: ''
  /api/automation-hub/pulp/api/v3/content/ansible/namespaces/{pulp_id}/avatar/:
    get:
      operationId: content_ansible_namespaces_avatar
      description: Get the logo for the this namespace.
      parameters:
      - in: path
        name: pulp_id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this ansible namespace metadata.
        required: true
      - in: query
        name: fields
        schema:
          type: array
          items:
            type: string
        description: A list of fields to include in the response.
      - in: query
        name: exclude_fields
        schema:
          type: array
          items:
            type: string
        description: A list of fields to exclude from the response.
      tags:
      - 'Content: Namespaces'
      responses:
        '302':
          content:
            application/json:
              schema:
                type: object
                description: Unspecified response body
          description: ''
      summary: Content ansible namespaces avatar
      x-summary-source: derived
components:
  schemas:
    ansible.AnsibleNamespaceMetadataResponse:
      type: object
      description: A serializer for Namespaces.
      properties:
        pulp_href:
          type: string
          format: uri
          readOnly: true
        name:
          type: string
          description: Required named, only accepts lowercase, numbers and underscores.
          maxLength: 64
          minLength: 3
          pattern: ^(?!.*__)[a-z]+[0-9a-z_]*$
        company:
          type: string
          description: Optional namespace company owner.
          maxLength: 64
        email:
          type: string
          description: Optional namespace contact email.
          maxLength: 256
        description:
          type: string
          description: Optional short description.
          maxLength: 256
        resources:
          type: string
          description: Optional resource page in markdown format.
        links:
          type: array
          items:
            $ref: '#/components/schemas/NamespaceLinkResponse'
          description: Labeled related links.
        avatar_sha256:
          type: string
          readOnly: true
          description: SHA256 digest of avatar image if present.
          maxLength: 64
        avatar_url:
          type: string
          readOnly: true
          description: Download link for avatar image if present.
        metadata_sha256:
          type: string
          readOnly: true
      required:
      - name
    Paginatedansible.AnsibleNamespaceMetadataResponseList:
      type: object
      required:
      - count
      - results
      properties:
        count:
          type: integer
          example: 123
        next:
          type:
          - string
          - 'null'
          format: uri
          example: http://api.example.org/accounts/?offset=400&limit=100
        previous:
          type:
          - string
          - 'null'
          format: uri
          example: http://api.example.org/accounts/?offset=200&limit=100
        results:
          type: array
          items:
            $ref: '#/components/schemas/ansible.AnsibleNamespaceMetadataResponse'
    NamespaceLinkResponse:
      type: object
      properties:
        name:
          type: string
          maxLength: 32
        url:
          type: string
          maxLength: 256
      required:
      - name
      - url