From 8d89ee60355120af2873926c0d19b8acb55585ed Mon Sep 17 00:00:00 2001 From: Vincent Texier <vit@free.fr> Date: Sat, 4 Aug 2018 09:18:07 +0000 Subject: [PATCH] Modify endpoint with explicit subscriptions path --- rfc/0003 RFC GraphQL API for Duniter Clients.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/rfc/0003 RFC GraphQL API for Duniter Clients.md b/rfc/0003 RFC GraphQL API for Duniter Clients.md index 373fcaf..cee6c0a 100644 --- a/rfc/0003 RFC GraphQL API for Duniter Clients.md +++ b/rfc/0003 RFC GraphQL API for Duniter Clients.md @@ -366,15 +366,11 @@ The GraphQL API is added on the server as a Duniter module. ### ENDPOINTS format -The endpoints format is the same as the BMA api: +The endpoint format needs one path for the HTTP requests (queries and mutations) and one path for the websocket channel (subscriptions). The typical endpoint string is: - GVA [DNS] [IPv4] [IPv6] [PORT] - -The SSL endpoint string is: - - GVAS [DNS] [IPv4] [IPv6] [PORT] [PATH] + GVA|GVAS [DNS | IPv4 | IPv6] [PORT] [PATH] [SUBSCRIPTIONS_PATH] ## API GraphQL Schema -- GitLab