Examples

GET /katello/api/repositories/repository_types
200
[
  {
    "name": "ansible_collection",
    "id": "ansible_collection",
    "creatable": true,
    "pulp3_support": true,
    "generic_remote_options": [],
    "import_attributes": [],
    "url_description": null,
    "content_types": [
      {
        "label": "ansible_collection",
        "generic_browser": true,
        "generic": false,
        "removable": false,
        "uploadable": false,
        "indexed": true
      }
    ]
  },
  {
    "name": "deb",
    "id": "deb",
    "creatable": true,
    "pulp3_support": true,
    "generic_remote_options": [],
    "import_attributes": [],
    "url_description": null,
    "content_types": [
      {
        "label": "deb",
        "generic_browser": null,
        "generic": false,
        "removable": true,
        "uploadable": true,
        "indexed": true
      }
    ]
  },
  {
    "name": "docker",
    "id": "docker",
    "creatable": true,
    "pulp3_support": true,
    "generic_remote_options": [],
    "import_attributes": [],
    "url_description": null,
    "content_types": [
      {
        "label": "docker_manifest",
        "generic_browser": null,
        "generic": false,
        "removable": true,
        "uploadable": true,
        "indexed": true
      },
      {
        "label": "docker_manifest_list",
        "generic_browser": null,
        "generic": false,
        "removable": false,
        "uploadable": false,
        "indexed": true
      },
      {
        "label": "docker_tag",
        "generic_browser": null,
        "generic": false,
        "removable": false,
        "uploadable": false,
        "indexed": true
      },
      {
        "label": "docker_blob",
        "generic_browser": null,
        "generic": false,
        "removable": false,
        "uploadable": false,
        "indexed": false
      }
    ]
  },
  {
    "name": "file",
    "id": "file",
    "creatable": true,
    "pulp3_support": true,
    "generic_remote_options": [],
    "import_attributes": [],
    "url_description": null,
    "content_types": [
      {
        "label": "file",
        "generic_browser": null,
        "generic": false,
        "removable": true,
        "uploadable": true,
        "indexed": true
      }
    ]
  },
  {
    "name": "ostree",
    "id": "ostree",
    "creatable": true,
    "pulp3_support": true,
    "generic_remote_options": [],
    "import_attributes": [
      {
        "name": "ref",
        "api_param": "ostree_ref",
        "type": "String",
        "description": "OSTree ref branch that holds the reference to the last commit",
        "required": false
      },
      {
        "name": "repository_name",
        "api_param": "ostree_repository_name",
        "type": "String",
        "description": "Name of the repository in the ostree archive",
        "required": true
      }
    ],
    "url_description": "URL of an OSTree repository.",
    "content_types": [
      {
        "label": "ostree_ref",
        "generic_browser": true,
        "generic": true,
        "removable": false,
        "uploadable": true,
        "indexed": true,
        "pluralized_label": "ostree_refs",
        "pluralized_name": "OSTree Refs",
        "details_columns": [
          "Name",
          "Version"
        ]
      }
    ]
  },
  {
    "name": "python",
    "id": "python",
    "creatable": true,
    "pulp3_support": true,
    "generic_remote_options": [
      {
        "name": "excludes",
        "title": "Excludes",
        "type": "Array",
        "description": "Python packages to exclude from the upstream URL, names separated by newline. You may also specify versions, for example: django~=2.0.",
        "input_type": "textarea",
        "delimiter": "\\n",
        "default": []
      },
      {
        "name": "includes",
        "title": "Includes",
        "type": "Array",
        "description": "Python packages to include from the upstream URL, names separated by newline. You may also specify versions, for example: django~=2.0. Leave empty to include every package.",
        "input_type": "textarea",
        "delimiter": "\\n",
        "default": []
      },
      {
        "name": "package_types",
        "title": "Package Types",
        "type": "Array",
        "description": "Package types to sync for Python content, separated by comma. Leave empty to get every package type. Package types are: bdist_dmg, bdist_dumb, bdist_egg, bdist_msi, bdist_rpm, bdist_wheel, bdist_wininst, sdist.",
        "input_type": "text",
        "delimiter": ",",
        "default": []
      }
    ],
    "import_attributes": [],
    "url_description": "URL of a PyPI content source such as https://pypi.org.",
    "content_types": [
      {
        "label": "python_package",
        "generic_browser": true,
        "generic": true,
        "removable": true,
        "uploadable": true,
        "indexed": true,
        "pluralized_label": "python_packages",
        "pluralized_name": "Python Packages",
        "details_columns": [
          "Name",
          "Version",
          "Filename"
        ]
      }
    ]
  },
  {
    "name": "yum",
    "id": "yum",
    "creatable": true,
    "pulp3_support": true,
    "generic_remote_options": [],
    "import_attributes": [],
    "url_description": null,
    "content_types": [
      {
        "label": "rpm",
        "generic_browser": null,
        "generic": false,
        "removable": true,
        "uploadable": true,
        "indexed": true
      },
      {
        "label": "modulemd",
        "generic_browser": null,
        "generic": false,
        "removable": false,
        "uploadable": false,
        "indexed": true
      },
      {
        "label": "erratum",
        "generic_browser": null,
        "generic": false,
        "removable": false,
        "uploadable": false,
        "indexed": true
      },
      {
        "label": "distribution",
        "generic_browser": null,
        "generic": false,
        "removable": false,
        "uploadable": false,
        "indexed": false
      },
      {
        "label": "package_category",
        "generic_browser": null,
        "generic": false,
        "removable": false,
        "uploadable": false,
        "indexed": false
      },
      {
        "label": "package_group",
        "generic_browser": null,
        "generic": false,
        "removable": false,
        "uploadable": false,
        "indexed": true
      },
      {
        "label": "srpm",
        "generic_browser": null,
        "generic": false,
        "removable": true,
        "uploadable": true,
        "indexed": true
      }
    ]
  }
]

Params

Param name Description
creatable
optional

When set to 'True' repository types that are creatable will be returned

Validations:

  • Must be one of: true, false, 1, 0.