-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathaltair-getting-started-collection.agc
1 lines (1 loc) · 4.63 KB
/
altair-getting-started-collection.agc
1
{"version":1,"type":"collection","title":"Getting started","queries":[{"version":1,"type":"window","query":"mutation {\n signupUser(data: { email: \"[email protected]\", name: \"Alice\" }) {\n id\n name\n email\n }\n}\n","apiUrl":"http://0.0.0.0:3000/graphql","variables":"{\n \"data980\": {\n \"email\": \"[email protected]\",\n \"name\": \"Alice\"\n }\n}","subscriptionUrl":"","subscriptionConnectionParams":"{}","headers":[{"key":"","value":"","enabled":true}],"windowName":"Signup user","preRequestScript":"","preRequestScriptEnabled":false,"id":"70135bca-8680-4418-a156-30b2fde6f86e","created_at":1618658531963,"updated_at":1618658531963},{"version":1,"type":"window","query":"# Welcome to Altair GraphQL Client.\n# You can send your request using CmdOrCtrl + Enter.\n\n# Enter your graphQL query here.\nquery all {\n\tallUsers {\n\t id\n\t name\n\t email\n posts {\n id\n createdAt\n title\n likes\n }\n\t} \n}","apiUrl":"http://0.0.0.0:3000/graphql","variables":"{}","subscriptionUrl":"","subscriptionConnectionParams":"{}","headers":[{"key":"","value":"","enabled":true}],"windowName":"All users","preRequestScript":"","preRequestScriptEnabled":false,"id":"018e7e1d-a3b4-4bd6-a2fb-4b01e9d0a31d","created_at":1623244535358,"updated_at":1623244535358},{"version":1,"type":"window","query":"mutation {\n togglePublishPost(id: 4 published: true) {\n title\n id\n published\n likes\n }\n}","apiUrl":"http://0.0.0.0:3000/graphql","variables":"{}","subscriptionUrl":"","subscriptionConnectionParams":"{}","headers":[{"key":"","value":"","enabled":true}],"windowName":"toggle publish","preRequestScript":"","preRequestScriptEnabled":false,"id":"dab0a142-4a60-4e9c-ad8a-f82554b577a6","created_at":1623244544489,"updated_at":1623244544489},{"version":1,"type":"window","query":"# Welcome to Altair GraphQL Client.\n# You can send your request using CmdOrCtrl + Enter.\n\n# Enter your graphQL query here.\nmutation {\n likePost(id:1) {\n id\n title\n likes\n author {\n name\n email\n }\n }\n}","apiUrl":"http://0.0.0.0:3000/graphql","variables":"{}","subscriptionUrl":"","subscriptionConnectionParams":"{}","headers":[{"key":"","value":"","enabled":true}],"windowName":"Like post","preRequestScript":"","preRequestScriptEnabled":false,"id":"cefd3ac6-72e1-4172-b591-8a5dd76e7906","created_at":1623244552735,"updated_at":1623244552735},{"version":1,"type":"window","query":"{\n feed {\n id\n createdAt\n updatedAt\n title\n content\n published\n likes\n comments {\n comment\n }\n }\n}\n","apiUrl":"http://0.0.0.0:3000/graphql","variables":"{}","subscriptionUrl":"","subscriptionConnectionParams":"{}","headers":[{"key":"","value":"","enabled":true}],"windowName":"Feed","preRequestScript":"","preRequestScriptEnabled":false,"id":"69c8f216-a6e5-4c18-9234-87eb92c7c069","created_at":1623244558978,"updated_at":1623244558978},{"version":1,"type":"window","query":"query {\n postById(id: 1) {\n id\n createdAt\n published\n author {\n name\n }\n comments {\n comment\n author {\n name\n }\n }\n }\n}","apiUrl":"http://0.0.0.0:3000/graphql","variables":"{}","subscriptionUrl":"","subscriptionConnectionParams":"{}","headers":[{"key":"","value":"","enabled":true}],"windowName":"Post by Id","preRequestScript":"","preRequestScriptEnabled":false,"id":"d6d89203-5d95-45d9-bfe8-cc4e074bf05f","created_at":1623244566327,"updated_at":1623244566327},{"version":1,"type":"window","query":"mutation {\n createDraft(\n authorEmail: \"[email protected]\"\n data: { title: \"Introduction to monitoring GraphQL\" }\n ) {\n id\n published\n title\n likes\n }\n}\n","apiUrl":"http://0.0.0.0:3000/graphql","variables":"{}","subscriptionUrl":"","subscriptionConnectionParams":"{}","headers":[{"key":"","value":"","enabled":true}],"windowName":"Create draft","preRequestScript":"","preRequestScriptEnabled":false,"id":"bf71966e-4f94-4735-a554-2c0fe32d0a60","created_at":1623244573874,"updated_at":1623244573874},{"version":1,"type":"window","query":"mutation {\n createComment(\n authorEmail: \"[email protected]\"\n postId: 1\n data: { comment: \"Interesting article. Does this scale well\" }\n ) {\n id\n comment\n post {\n title\n }\n }\n}\n","apiUrl":"http://0.0.0.0:3000/graphql","variables":"{}","subscriptionUrl":"","subscriptionConnectionParams":"{}","headers":[{"key":"","value":"","enabled":true}],"windowName":"Add comment","preRequestScript":"","preRequestScriptEnabled":false,"id":"945b5534-b6ab-4fc7-89eb-42ade6ad281c","created_at":1623244592193,"updated_at":1623244592193}],"created_at":1618658531963,"updated_at":1623244592193,"id":1}