route

ダイクストラ法でstartノードからdestノードまでの最短経路のPath一覧を取得

get/route/

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/route/
  • Auth: one of:
    • API key in cookie sessionid
    • HTTP basic
    • none

Query parameters

destinteger required

終了ノードのnode_id

limitinteger

Number of results to return per page.

offsetinteger

The initial index from which to return the results.

startinteger required

開始ノードのnode_id

Response

countinteger required
nextstring uri nullable
previousstring uri nullable

Example response

{
  "count": 123,
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100"
}

Changes