Skip to content

Instantly share code, notes, and snippets.

@DHFW
Created December 21, 2018 20:38
Show Gist options
  • Save DHFW/581e7b661a97b57bd459e125527934b6 to your computer and use it in GitHub Desktop.
Save DHFW/581e7b661a97b57bd459e125527934b6 to your computer and use it in GitHub Desktop.
Get projects
{
"expression": "/projects",
"method": "GET",
"name": "getProjects",
"responses": {
"allProjects": {
"default": true,
"status": 200,
"delay": 200,
"file": "mocks/data/getAllProjects.json"
},
"emptyList": {
"status": 200,
"delay": 200,
"data": { "data": [] }
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment