{
  "opencollection": "1.0.0",
  "info": {
    "name": "Ansible Galaxy Roles & Collections API",
    "version": "1"
  },
  "items": [
    {
      "info": {
        "name": "Default",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "API root",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://galaxy.ansible.com/api/"
          },
          "docs": "Lists available API versions (v1, v3, pulp v3)."
        },
        {
          "info": {
            "name": "Legacy v1 root",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://galaxy.ansible.com/api/v1/"
          },
          "docs": "Lists the v1 endpoints (roles, users, namespaces, imports, sync)."
        }
      ]
    },
    {
      "info": {
        "name": "Roles",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search community roles",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://galaxy.ansible.com/api/v1/roles/",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query"
              },
              {
                "name": "owner__username",
                "value": "",
                "type": "query",
                "description": "Filter by GitHub username of the role owner."
              },
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "Filter by role name (substring match)."
              },
              {
                "name": "keyword",
                "value": "",
                "type": "query",
                "description": "Free-text keyword search."
              },
              {
                "name": "tag",
                "value": "",
                "type": "query",
                "description": "Filter by tag (galaxy_tags)."
              },
              {
                "name": "platforms",
                "value": "",
                "type": "query",
                "description": "Filter by supported platform name."
              },
              {
                "name": "namespace",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Search community roles"
        },
        {
          "info": {
            "name": "Retrieve a role",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://galaxy.ansible.com/api/v1/roles/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a role"
        },
        {
          "info": {
            "name": "List role versions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://galaxy.ansible.com/api/v1/roles/:id/versions/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List role versions"
        },
        {
          "info": {
            "name": "Increment a role download counter",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://galaxy.ansible.com/api/v1/roles/:id/downloads/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Increment a role download counter"
        }
      ]
    },
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://galaxy.ansible.com/api/v1/users/"
          },
          "docs": "List users"
        },
        {
          "info": {
            "name": "Retrieve a user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://galaxy.ansible.com/api/v1/users/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a user"
        }
      ]
    },
    {
      "info": {
        "name": "Namespaces",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List namespaces",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://galaxy.ansible.com/api/v1/namespaces/"
          },
          "docs": "List namespaces"
        },
        {
          "info": {
            "name": "Retrieve a namespace",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://galaxy.ansible.com/api/v1/namespaces/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a namespace"
        }
      ]
    },
    {
      "info": {
        "name": "Imports",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List role import jobs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://galaxy.ansible.com/api/v1/imports/",
            "params": [
              {
                "name": "role_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "state",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List role import jobs"
        },
        {
          "info": {
            "name": "Trigger a role import",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://galaxy.ansible.com/api/v1/imports/",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Trigger a role import"
        },
        {
          "info": {
            "name": "Retrieve a role import job",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://galaxy.ansible.com/api/v1/imports/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a role import job"
        }
      ]
    },
    {
      "info": {
        "name": "Sync",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Trigger a content sync",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://galaxy.ansible.com/api/v1/sync/"
          },
          "docs": "Trigger a content sync"
        }
      ]
    },
    {
      "info": {
        "name": "Collections",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List collections",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://galaxy.ansible.com/api/v3/collections/"
          },
          "docs": "List collections"
        },
        {
          "info": {
            "name": "Retrieve a collection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://galaxy.ansible.com/api/v3/collections/:namespace/:name/",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path"
              },
              {
                "name": "name",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a collection"
        },
        {
          "info": {
            "name": "List collection versions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://galaxy.ansible.com/api/v3/collections/:namespace/:name/versions/",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path"
              },
              {
                "name": "name",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List collection versions"
        },
        {
          "info": {
            "name": "Retrieve a collection version",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://galaxy.ansible.com/api/v3/collections/:namespace/:name/versions/:version/",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path"
              },
              {
                "name": "name",
                "value": "",
                "type": "path"
              },
              {
                "name": "version",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a collection version"
        }
      ]
    }
  ],
  "bundled": true
}