Endpoints
Check METHOD and PATH conflicts within an Application, including inactive endpoints.
Check METHOD and PATH conflicts within an Application, including inactive endpoints. The request is scoped to the authenticated instance and enforces Endpoint roles and lifecycle state.
POST
/
api
/
v1
/
endpoints
/
route-conflicts
Check METHOD and PATH conflicts within an Application, including inactive endpoints.
curl --request POST \
--url https://api.revoengine.com/api/v1/endpoints/route-conflicts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"path": "/_/orders/:orderId"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({path: '/_/orders/:orderId'})
};
fetch('https://api.revoengine.com/api/v1/endpoints/route-conflicts', 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/route-conflicts"
payload = { "path": "/_/orders/:orderId" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Body
application/json
Response
201
⌘I
Check METHOD and PATH conflicts within an Application, including inactive endpoints.
curl --request POST \
--url https://api.revoengine.com/api/v1/endpoints/route-conflicts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"path": "/_/orders/:orderId"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({path: '/_/orders/:orderId'})
};
fetch('https://api.revoengine.com/api/v1/endpoints/route-conflicts', 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/route-conflicts"
payload = { "path": "/_/orders/:orderId" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
