Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
doc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
nodes
common
doc
Commits
cdc067d0
Commit
cdc067d0
authored
6 years ago
by
Vincent Texier
Browse files
Options
Downloads
Patches
Plain Diff
Endpoints follow the WS2Pv2 RFC protocol
parent
8d89ee60
No related branches found
No related tags found
1 merge request
!3
WIP: RFC 3 : GraphQL API for Duniter Client
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
rfc/0003 RFC GraphQL API for Duniter Clients.md
+3
-3
3 additions, 3 deletions
rfc/0003 RFC GraphQL API for Duniter Clients.md
with
3 additions
and
3 deletions
rfc/0003 RFC GraphQL API for Duniter Clients.md
+
3
−
3
View file @
cdc067d0
...
@@ -366,11 +366,11 @@ The GraphQL API is added on the server as a Duniter module.
...
@@ -366,11 +366,11 @@ The GraphQL API is added on the server as a Duniter module.
### ENDPOINTS format
### 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
## API GraphQL Schema
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment