Shortest Path
The Shortest Path endpoint returns a response identifying the shortest traversal path connecting each pair of entities.
Headers
Authorization
OAuth authentication of the form <token>.
Query parameters
entities
A list of Sayari entity IDs specifying the source and target entities for the shortest path calculation. The list must contain exactly two entity IDs The first entity ID represents the source.The second entity ID represents the target.
Response
This endpoint returns an object.
entities
data
Errors
400
Bad Request
401
Unauthorized
404
Not Found
405
Method Not Allowed
429
Rate Limit Exceeded
500
Internal Server Error
502
Bad Gateway
520
Connection Error