...

GraphQL API

GraphQL API allows flexible queries, receiving only the required data in a single request. It is especially useful when combining data from multiple resources.

Advantages

  • Flexible queries — client defines what data to receive
  • Less traffic — no unnecessary information
  • Single request — can combine multiple resources
  • Strong typing — schema defines data structure

Example

In a single query, you can retrieve ship visit data along with berth information and calculation status, without making three separate REST requests.

GraphQL API