diff --git a/rfc/0003 RFC GraphQL API for Duniter Clients.md b/rfc/0003 RFC GraphQL API for Duniter Clients.md index cee6c0aa1563bc706662abdda14ed38155f36389..0469eef63f56ff8ad790d28545054908f4efcbd1 100644 --- a/rfc/0003 RFC GraphQL API for Duniter Clients.md +++ b/rfc/0003 RFC GraphQL API for Duniter Clients.md @@ -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