Last active
October 10, 2017 07:52
-
-
Save mczachurski/b62cf851dd4ecc430877ca262afe1176 to your computer and use it in GitHub Desktop.
GraphQL - JSON with status codes
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
{ | |
"data": { | |
"project": { | |
"statusCode": "Success", | |
"errorMessage": null, | |
"data": { | |
"id": "projectA", | |
"name": "Project A", | |
"visibleBranches": [ | |
"Latest" | |
], | |
"tags": [ | |
"Data admin" | |
] | |
} | |
}, | |
"projects": { | |
"statusCode": "Success", | |
"errorMessage": null, | |
"data": { | |
"allResults": 3, | |
"results": [ | |
{ | |
"name": "Project A", | |
"id": "project-a" | |
}, | |
{ | |
"name": "Project B", | |
"id": "project-b" | |
}, | |
{ | |
"name": "Project C", | |
"id": "project-c" | |
} | |
] | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment