Skip to content

Instantly share code, notes, and snippets.

@daxroc
Created April 7, 2015 19:04
Show Gist options
  • Save daxroc/1c994e36889a8b3f69ea to your computer and use it in GitHub Desktop.
Save daxroc/1c994e36889a8b3f69ea to your computer and use it in GitHub Desktop.
- url: /api/v1/user
script: user
# Requires login + admin
login: admin
auth_fail_action: unauthorized
- url: /api/v1/user/view
script: user.view
# Requires login but not admin
login: required
auth_fail_action: unauthorized
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment