MODULES > REST API and GraphQL > GraphQL endpoints
2. GraphQL endpoints
The REST API heavily leverages the GraphQL framework. The GraphQL framework enables to have only one endpoint for all REST API call.
To ease navigation in the HOPEX platform repository each Solution has its endpoint. The endpoint corresponds to the published schema:
https://<<server url>>/HOPEXGraphQL/api/ITPM
https://<<server url>>/HOPEXGraphQL/api/BPA
https://<<server url>>/HOPEXGraphQL/api/GDPR
https://<<server url>>/HOPEXGraphQL/api/Audit
Other endpoints are available for focused topics like:
upload/download of documents
download of diagrams
2.1. Synchronous versus Asynchronous
The endpoint can be called in synchronous or asynchronous way:
https://<<server url>>/HOPEXGraphQL/api/async/ITPM
https://<<server url>>/HOPEXGraphQL/api/async/BPA
https://<<server url>>/HOPEXGraphQL/api/async/GDPR
https://<<server url>>/HOPEXGraphQL/api/async/Audit
2.2. Version of the endpoint
The endpoint can also have version if the schema evolves overtime. In that case the particular version of the endpoint can be called by adding the version number in the URL:
https://<<server url>>/HOPEXGraphQL/api/v5/ITPM
https://<<server url>>/HOPEXGraphQL/api/v5/BPA
https://<<server url>>/HOPEXGraphQL/api/v5/GDPR
https://<<server url>>/HOPEXGraphQL/api/v5/Audit