{
  "opencollection": "1.0.0",
  "info": {
    "name": "SwaggerHub Registry API",
    "version": "1.3.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Search",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search APIs Domains and Templates",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.swaggerhub.com/specs",
            "params": [
              {
                "name": "specType",
                "value": "",
                "type": "query",
                "description": "Filter by specification type"
              },
              {
                "name": "owner",
                "value": "",
                "type": "query",
                "description": "Filter by owner username or organization"
              },
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "Free-text search query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query"
              },
              {
                "name": "order",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieve a paginated list of APIs, domains, and/or templates based on search criteria. Filter by type, owner, visibility, tags, and more."
        }
      ]
    },
    {
      "info": {
        "name": "APIs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Owner APIs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.swaggerhub.com/apis/:owner",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path",
                "description": "Owner username or organization name"
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a list of all API definitions owned by the specified user or organization."
        },
        {
          "info": {
            "name": "Get API Versions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.swaggerhub.com/apis/:owner/:api",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path"
              },
              {
                "name": "api",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns all versions of the specified API."
        },
        {
          "info": {
            "name": "Create or Update API",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.swaggerhub.com/apis/:owner/:api",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path"
              },
              {
                "name": "api",
                "value": "",
                "type": "path"
              },
              {
                "name": "version",
                "value": "",
                "type": "query",
                "description": "Version string (defaults to 0.0.1)"
              },
              {
                "name": "isPrivate",
                "value": "",
                "type": "query"
              },
              {
                "name": "force",
                "value": "",
                "type": "query",
                "description": "Force update even if version is published"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new API or update an existing API definition in SwaggerHub. Pass the OpenAPI or AsyncAPI specification in the request body."
        },
        {
          "info": {
            "name": "Delete API",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.swaggerhub.com/apis/:owner/:api",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path"
              },
              {
                "name": "api",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete all versions of the specified API."
        },
        {
          "info": {
            "name": "Rename API",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.swaggerhub.com/apis/:owner/:api/rename",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path"
              },
              {
                "name": "api",
                "value": "",
                "type": "path"
              },
              {
                "name": "newName",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Rename an API definition within the same owner namespace."
        },
        {
          "info": {
            "name": "Get API Definition",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.swaggerhub.com/apis/:owner/:api/:version",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path"
              },
              {
                "name": "api",
                "value": "",
                "type": "path"
              },
              {
                "name": "version",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns the OpenAPI or AsyncAPI definition for a specific API version."
        },
        {
          "info": {
            "name": "Delete API Version",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.swaggerhub.com/apis/:owner/:api/:version",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path"
              },
              {
                "name": "api",
                "value": "",
                "type": "path"
              },
              {
                "name": "version",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a specific version of an API."
        },
        {
          "info": {
            "name": "Get API Definition JSON",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.swaggerhub.com/apis/:owner/:api/:version/swagger.json",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path"
              },
              {
                "name": "api",
                "value": "",
                "type": "path"
              },
              {
                "name": "version",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns the API definition in JSON format for a specific version."
        },
        {
          "info": {
            "name": "Get API Definition YAML",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.swaggerhub.com/apis/:owner/:api/:version/swagger.yaml",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path"
              },
              {
                "name": "api",
                "value": "",
                "type": "path"
              },
              {
                "name": "version",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns the API definition in YAML format for a specific version."
        },
        {
          "info": {
            "name": "Fork API Version",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.swaggerhub.com/apis/:owner/:api/:version/fork",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path"
              },
              {
                "name": "api",
                "value": "",
                "type": "path"
              },
              {
                "name": "version",
                "value": "",
                "type": "path"
              },
              {
                "name": "newOwner",
                "value": "",
                "type": "query"
              },
              {
                "name": "newApi",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Create a fork of a specific API version in a new owner namespace."
        },
        {
          "info": {
            "name": "Clone API Version",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.swaggerhub.com/apis/:owner/:api/:version/clone",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path"
              },
              {
                "name": "api",
                "value": "",
                "type": "path"
              },
              {
                "name": "version",
                "value": "",
                "type": "path"
              },
              {
                "name": "newVersion",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Create a new version by cloning an existing version."
        },
        {
          "info": {
            "name": "Get API Comments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.swaggerhub.com/apis/:owner/:api/:version/comments",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path"
              },
              {
                "name": "api",
                "value": "",
                "type": "path"
              },
              {
                "name": "version",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve all comments on a specific API version."
        },
        {
          "info": {
            "name": "Add API Comment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.swaggerhub.com/apis/:owner/:api/:version/comments",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path"
              },
              {
                "name": "api",
                "value": "",
                "type": "path"
              },
              {
                "name": "version",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Add a new review comment to a specific API version."
        }
      ]
    },
    {
      "info": {
        "name": "Integrations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Integrations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.swaggerhub.com/apis/:owner/:api/:version/integrations",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path"
              },
              {
                "name": "api",
                "value": "",
                "type": "path"
              },
              {
                "name": "version",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List all integrations configured for a specific API version."
        },
        {
          "info": {
            "name": "Create Integration",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.swaggerhub.com/apis/:owner/:api/:version/integrations",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path"
              },
              {
                "name": "api",
                "value": "",
                "type": "path"
              },
              {
                "name": "version",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Configure a new integration (CI/CD, GitHub sync, etc.) for an API version."
        },
        {
          "info": {
            "name": "Delete Integration",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.swaggerhub.com/apis/:owner/:api/:version/integrations/:integrationId",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path"
              },
              {
                "name": "api",
                "value": "",
                "type": "path"
              },
              {
                "name": "version",
                "value": "",
                "type": "path"
              },
              {
                "name": "integrationId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Remove an integration from an API version."
        },
        {
          "info": {
            "name": "Execute Integration",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.swaggerhub.com/apis/:owner/:api/:version/integrations/:integrationId/execute",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path"
              },
              {
                "name": "api",
                "value": "",
                "type": "path"
              },
              {
                "name": "version",
                "value": "",
                "type": "path"
              },
              {
                "name": "integrationId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Manually trigger an integration to run against the current API version."
        }
      ]
    },
    {
      "info": {
        "name": "Settings",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Lifecycle Settings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.swaggerhub.com/apis/:owner/:api/:version/settings/lifecycle",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path"
              },
              {
                "name": "api",
                "value": "",
                "type": "path"
              },
              {
                "name": "version",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get the publish/unpublish status of an API version."
        },
        {
          "info": {
            "name": "Update Lifecycle Settings",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.swaggerhub.com/apis/:owner/:api/:version/settings/lifecycle",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path"
              },
              {
                "name": "api",
                "value": "",
                "type": "path"
              },
              {
                "name": "version",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Publish or unpublish an API version."
        }
      ]
    },
    {
      "info": {
        "name": "Projects",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Projects",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.swaggerhub.com/projects/:owner",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path"
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Get all projects within an organization."
        },
        {
          "info": {
            "name": "Create Project",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.swaggerhub.com/projects/:owner",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new project within an organization to group related APIs and domains."
        },
        {
          "info": {
            "name": "Get Project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.swaggerhub.com/projects/:owner/:projectId",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path"
              },
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve details about a specific project."
        },
        {
          "info": {
            "name": "Delete Project",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.swaggerhub.com/projects/:owner/:projectId",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path"
              },
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a project and remove all API/domain associations from it."
        }
      ]
    },
    {
      "info": {
        "name": "Domains",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Domain Versions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.swaggerhub.com/domains/:owner/:domain",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path"
              },
              {
                "name": "domain",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns all versions of the specified domain."
        },
        {
          "info": {
            "name": "Create or Update Domain",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.swaggerhub.com/domains/:owner/:domain",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path"
              },
              {
                "name": "domain",
                "value": "",
                "type": "path"
              },
              {
                "name": "version",
                "value": "",
                "type": "query"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create or update a shared component domain in SwaggerHub."
        },
        {
          "info": {
            "name": "Delete Domain",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.swaggerhub.com/domains/:owner/:domain",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path"
              },
              {
                "name": "domain",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete all versions of the specified domain."
        }
      ]
    },
    {
      "info": {
        "name": "Standardization",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Spectral Ruleset Bundle",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.swaggerhub.com/standardization/spectral-rulesets/:owner/:name/zip",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path"
              },
              {
                "name": "name",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Download the Spectral ruleset bundle as a ZIP archive."
        },
        {
          "info": {
            "name": "Upload Spectral Ruleset Bundle",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.swaggerhub.com/standardization/spectral-rulesets/:owner/:name/zip",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path"
              },
              {
                "name": "name",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Create or update a Spectral ruleset by uploading a ZIP bundle."
        }
      ]
    }
  ],
  "bundled": true
}