Red Hat Ansible Automation Platform Importers: Pulp Import-Check API

The Importers: Pulp Import-Check API from Red Hat Ansible Automation Platform — 1 operation(s) for importers: pulp import-check.

Operations 1

POST /api/automation-hub/pulp/api/v3/importers/core/pulp/import-check/ Validate the parameters to be used for a PulpImport call #

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-importers-pulp-import-check-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-importers-pulp-import-check-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 'Automation Hub Importers: Pulp Import-Check 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: 'Importers: Pulp Import-Check'
paths:
  /api/automation-hub/pulp/api/v3/importers/core/pulp/import-check/:
    post:
      operationId: pulp_import_check_post
      description: 'Evaluates validity of proposed PulpImport parameters ''toc'', ''path'', and ''repo_mapping''.


        * Checks that toc, path are in ALLOWED_IMPORT_PATHS

        * if ALLOWED:

        * Checks that toc, path exist and are readable

        * If toc specified, checks that containing dir is writeable

        * Checks that repo_mapping is valid JSON'
      summary: Validate the parameters to be used for a PulpImport call
      tags:
      - 'Importers: Pulp Import-Check'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PulpImportCheck'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PulpImportCheck'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PulpImportCheck'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PulpImportCheckResponse'
          description: ''
components:
  schemas:
    PulpImportCheck:
      type: object
      description: 'Check validity of provided import-options.


        Provides the ability to check that an import is ''sane'' without having to actually

        create an importer.'
      properties:
        path:
          type: string
          minLength: 1
          description: Path to export-tar-gz that will be imported.
        toc:
          type: string
          minLength: 1
          description: Path to a table-of-contents file describing chunks to be validated, reassembled, and imported.
        repo_mapping:
          type: string
          minLength: 1
          description: 'Mapping of repo names in an export file to the repo names in Pulp. For example, if the export has a repo named ''foo'' and the repo to import content into was ''bar'', the mapping would be "{''foo'': ''bar''}".'
    EvaluationResponse:
      type: object
      description: Results from evaluating a proposed parameter to a PulpImport call.
      properties:
        context:
          type: string
          description: Parameter value being evaluated.
        is_valid:
          type: boolean
          description: True if evaluation passed, false otherwise.
        messages:
          type: array
          items:
            type: string
          description: Messages describing results of all evaluations done. May be an empty list.
      required:
      - context
      - is_valid
      - messages
    PulpImportCheckResponse:
      type: object
      description: Return the response to a PulpImport import-check call.
      properties:
        toc:
          allOf:
          - $ref: '#/components/schemas/EvaluationResponse'
          description: Evaluation of proposed 'toc' file for PulpImport
        path:
          allOf:
          - $ref: '#/components/schemas/EvaluationResponse'
          description: Evaluation of proposed 'path' file for PulpImport
        repo_mapping:
          allOf:
          - $ref: '#/components/schemas/EvaluationResponse'
          description: Evaluation of proposed 'repo_mapping' file for PulpImport