Resource: Swagger API List ( /api/swagger )
Allows the retrieval of list of Swagger compliant API's exposed by this Enterprise Tester server.
Root Relation: SwaggerResourceList
This resource supports the following methods: GET
Methods
GET
Retrieves the list of swagger-documented API's exposed by Enterprise Tester.
Status Codes
These are the expected status codes returned by the service - in addition, some other status codes may be returned if either an internal error occurs or there is an authentication issue (such as an expired OAuth token).
| Status | Description |
|---|---|
| 200 - OK | Returned if the request was completed successfully. |
Example - GET
Retrieves list of Swagger API's available on this server
Request Headers
| Key | Value | Description |
|---|---|---|
| Content-type | application/json | |
| Accept | application/json |
Response Headers
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json; charset=utf-8 |
Response Body
{
"apiVersion": "4.10.0.0",
"swaggerVersion": "1.1",
"basePath": "http://localhost/EnterpriseTester/api/swagger",
"apis": [
{
"path": "/api",
"description": "Enterprise Tester Core API"
}
]
}
Status Code
200 - OK