Endpoints
Generate OpenAPI document for one runtime endpoint.
ROLES: ENDPOINT_READ,ENDPOINT_WRITE,ENDPOINT_ADMIN USER: true SERVICE ACCOUNT: true
GET
/
api
/
v1
/
endpoints
/
{endpointId}
/
openapi
Generate OpenAPI document for one runtime endpoint.
curl --request GET \
--url https://api.revoengine.com/api/v1/endpoints/{endpointId}/openapi \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/endpoints/{endpointId}/openapi', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/endpoints/{endpointId}/openapi"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)⌘I
Generate OpenAPI document for one runtime endpoint.
curl --request GET \
--url https://api.revoengine.com/api/v1/endpoints/{endpointId}/openapi \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/endpoints/{endpointId}/openapi', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/endpoints/{endpointId}/openapi"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)
