Skip to content
Snippets Groups Projects
Commit cdc067d0 authored by Vincent Texier's avatar Vincent Texier
Browse files

Endpoints follow the WS2Pv2 RFC protocol

parent 8d89ee60
Branches
No related tags found
1 merge request!3WIP: RFC 3 : GraphQL API for Duniter Client
......@@ -366,11 +366,11 @@ The GraphQL API is added on the server as a Duniter module.
### ENDPOINTS format
The endpoint format needs one path for the HTTP requests (queries and mutations) and one path for the websocket channel (subscriptions).
We follow the WS2P RFC proposal: https://git.duniter.org/nodes/common/doc/blob/ws2p_v2/rfc/0006_ws2p_v2.md#endpoints
The typical endpoint string is:
The endpoint format needs one path for the HTTP requests (queries and mutations) and one path for the websocket channel (subscriptions).
GVA|GVAS [DNS | IPv4 | IPv6] [PORT] [PATH] [SUBSCRIPTIONS_PATH]
So the websoket channel path is automatically deducted from the optionnal path: `path/subscriptions`
## API GraphQL Schema
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment