Graph

Shortest path between two objects

How A reaches B in the knowledge graph.

get/v1/path

Request

  • Base URL: https://api.rossdata.dev
  • URL: https://api.rossdata.dev/v1/path
  • Auth: none declared

Query parameters

fromstring required
tostring required

Response

OK

fromstring
tostring
foundboolean
hopsinteger

Edges traversed; 0 when not found

pathstring[]

Ordered node labels from → to

errorstring nullable

Present when found=false, e.g. unknown_from / unknown_to / no_path

Example response

{
  "from": "GL_ACCOUNTS",
  "to": "GL_POSTINGS",
  "hops": 1
}

Changes

No recorded changes to this operation across all 1 revision of this API.