Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Our IP cam platform (System) uses GraphQL to access the API, which is an alternative for a more widespread REST model. GraphQL brings improvements in the form of greater clarity , typology, and a reduced number of queries and mutations. GraphQL is an application layer-level query language. The server interprets the query string and returns a response with the data in the required format. It provides a comprehensive and clear description of the data in the API, giving client applications the ability to request exactly the data they need.and strict types There are a lot of GraphQL client libraries for almost every programing language. Link: https://graphql.org/code/#language-support

GraphQL uses two types of operations. Query operations are used to read data. Mutations are used to change data. Individual query and mutation operations are sent in the POST endpoint request.

GraphQL endpoint:

...