Skip to content

Commit

Permalink
Add descriptors
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin01 committed Dec 2, 2014
1 parent a419b74 commit f3397b9
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion config/json/api-descriptors.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,11 @@
"is_admin"
]
},
"deleteUserReset": {
"endpoint": "/user/reset",
"verb": "DELETE",
"expectedStatus": 204
},
"getUsers": {
"endpoint": "/users"
},
Expand All @@ -215,7 +220,14 @@
},
"getUsersById": {
"endpoint": "/users/{id}",
"requireId": true
"requireId": true,
"subFunctions": {
"deleteReset": {
"endpoint": "/reset",
"verb": "DELETE",
"expectedStatus": 204
}
}
},
"patchUsersById": {
"endpoint": "/users/{id}",
Expand Down

0 comments on commit f3397b9

Please sign in to comment.