Domains
Copy Page
SwaggerHub Registry API
APIs
Retrieves a list of currently defined APIs in APIs.json format.
GET
Retrieves an APIs.json listing of all APIs defined for this owner
GET
Deletes the specified API
DELETE
Retrieves an APIs.json listing for all API versions for this owner and API
GET
Saves the provided Swagger definition
POST
Deletes API's collaboration
DELETE
Gets API's collaboration
GET
Updates API's collaboration
PUT
Deletes a particular version of the specified API
DELETE
Retrieves the Swagger definition for the specified API and version
GET
Returns comments for the specified API version
GET
Retrieves the Swagger definition for the specified API and version in JSON format
GET
Retrieves the Swagger definition for the specified API and version in YAML format
GET
Retrieves a list of currently defined APIs and Domains in APIs.json format
GET
Domains
Retrieves a list of currently defined domains in APIs.json format
GET
Retrieves an APIs.json listing of all domains defined for this owner
GET
Deletes the specified domain
DELETE
Retrieves an APIs.json listing for all domain versions for this owner and domain
GET
Saves the provided Swagger definition of a domain
POST
Deletes a particular version of the specified domain
DELETE
Retrieves the Swagger definition for the specified domain and version
GET
Returns comments for the specified domain version
GET
Retrieves the definition for the specified domain and version in JSON format
GET
Retrieves the definition for the specified domain and version in YAML format
GET
Schemas
Schemas
ApisJson
ApisJsonApi
ApisJsonProperty
ClosableComment
Collaboration
CollaborationHint
CollaborationMember
CollaborationMembership
CollaborationTeamMembership
Comment
Page
User
Domains
MCP
Copy Page
Retrieves the definition for the specified domain and version in JSON format
GET
/domains/{owner}/{domain}/{version}/domain.json
Try it
Run in Apidog
Run in Apidog
Request
Path Params
Generate Code
Responses
🟢
200
Definition in JSON format
application/json
Generate Code
Body
Generate Code
ðŸŸ
404
The specified domain was not found
Request
Request Example
Shell
JavaScript
Java
Swift
cURL
cURL-Windows
Httpie
wget
PowerShell
curl
--location
--request
GET
'https://api.swaggerhub.com/domains////domain.json'
Response
Response Example
200 -
Example 1
{
}
Modified atÂ
2022-09-11 16:53:02
Previous
Returns comments for the specified domain version
Next
Retrieves the definition for the specified domain and version in YAML format