Created
February 5, 2021 08:54
-
-
Save denielchiang/ccf67b0cd54f7b528f179e4f1fe2b1dd to your computer and use it in GitHub Desktop.
For GraphQL subscription testing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"key": "graphiql", | |
"lastId": 4, | |
"tabIds": [ | |
"tab1", | |
"tab2", | |
"tab3", | |
"tab4" | |
], | |
"closedTabs": [], | |
"defaultUrl": "http://localhost:4000/v1/graphiql", | |
"defaultWebsocketUrl": "ws://localhost:4000/socket", | |
"defaultQuery": "", | |
"defaultVariables": "", | |
"defaultProxy": false, | |
"defaultHeaders": [], | |
"usedUrls": [ | |
"http://localhost:4000/v1/graphql", | |
"http://localhost:4000/v1/graphiql" | |
], | |
"recentHeaders": [], | |
"maxTabHistory": 20, | |
"maxUrlHistory": 20, | |
"maxHistory": 20, | |
"savedQueries": [], | |
"activeId": "tab4", | |
"tabs": [ | |
{ | |
"id": "tab1", | |
"name": "mutation - accountsLogin", | |
"url": "http://localhost:4000/v1/graphql", | |
"websocketUrl": "ws://localhost:4000/socket", | |
"proxy": false, | |
"headers": [], | |
"collapsed": false, | |
"maxHistory": 20, | |
"history": [ | |
{ | |
"query": "mutation {\n accountsLogin(email: \"[email protected]\", password: \"12345678Ab\") {\n user {\n name\n id\n }\n }\n}", | |
"variables": null | |
} | |
], | |
"graphiql:query": "mutation {\n accountsLogin(email: \"[email protected]\", password: \"12345678Ab\") {\n user {\n name\n id\n }\n }\n}", | |
"graphiql:variables": "", | |
"graphiql:queries": "{\"queries\":[{\"query\":\"mutation {\\n accountsLogin(email: \\\"[email protected]\\\", password: \\\"12345678Ab\\\") {\\n user {\\n name\\n id\\n }\\n }\\n}\",\"variables\":\"\"}]}", | |
"graphiql:editorFlex": 1, | |
"graphiql:variableEditorHeight": 200, | |
"graphiql:docExplorerWidth": 350 | |
}, | |
{ | |
"id": "tab2", | |
"name": "mutation - accountsLogout", | |
"url": "http://localhost:4000/v1/graphql", | |
"websocketUrl": "ws://localhost:4000/socket", | |
"proxy": false, | |
"headers": [], | |
"collapsed": false, | |
"maxHistory": 20, | |
"history": [ | |
{ | |
"query": "mutation {\n accountsLogout {\n user {\n name\n }\n }\n}", | |
"variables": null | |
} | |
], | |
"graphiql:query": "mutation {\n accountsLogout {\n user {\n name\n }\n }\n}", | |
"graphiql:variables": "", | |
"graphiql:queries": "{\"queries\":[{\"query\":\"mutation {\\n accountsLogout {\\n user {\\n name\\n }\\n }\\n}\",\"variables\":\"\"}]}", | |
"graphiql:editorFlex": 1, | |
"graphiql:variableEditorHeight": 200, | |
"graphiql:docExplorerWidth": 350 | |
}, | |
{ | |
"id": "tab3", | |
"name": "query - accountsMe", | |
"url": "http://localhost:4000/v1/graphql", | |
"websocketUrl": "ws://localhost:4000/socket", | |
"proxy": false, | |
"headers": [], | |
"collapsed": false, | |
"maxHistory": 20, | |
"history": [ | |
{ | |
"query": "query {\n accountsMe {\n user {\n name\n }\n token\n }\n}", | |
"variables": null | |
} | |
], | |
"graphiql:query": "query {\n accountsMe {\n user {\n name\n }\n token\n }\n}", | |
"graphiql:variables": "", | |
"graphiql:queries": "{\"queries\":[{\"query\":\"query {\\n accountsMe {\\n user {\\n name\\n }\\n token\\n }\\n}\",\"variables\":\"\"}]}", | |
"graphiql:editorFlex": 1, | |
"graphiql:variableEditorHeight": 200, | |
"graphiql:docExplorerWidth": 350 | |
}, | |
{ | |
"id": "tab4", | |
"name": "subscription - accountsUserCount", | |
"url": "http://localhost:4000/v1/graphql", | |
"websocketUrl": "ws://localhost:4000/socket?token=XXXXX", | |
"proxy": false, | |
"headers": [], | |
"collapsed": false, | |
"maxHistory": 20, | |
"history": [], | |
"graphiql:query": "subscription {\n accountsUserCount\n}", | |
"graphiql:variables": "", | |
"graphiql:queries": "{\"queries\":[{\"query\":\"subscription {\\n accountsUserCount\\n}\",\"variables\":\"\"}]}", | |
"graphiql:editorFlex": 1, | |
"graphiql:variableEditorHeight": 200, | |
"graphiql:docExplorerWidth": 350 | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment