auth v1.3.1 AuthWeb.ApiController
ApiController includes all functions for our RESTfull API in one place.
Link to this section Summary
Functions
approles/2
Returns the (JSON) List of Roles for a given App based on apikey.client_id
Sample output: https://github.com/dwyl/auth/issues/120#issuecomment-695354317
personroles/2
Returns the (JSON) List of Roles for a given person (and App)
e.g: /personroles/:person_id/:client_id
Sample output: https://github.com/dwyl/auth/issues/121#issuecomment-695360870
Link to this section Functions
approles(conn, map)
approles/2
Returns the (JSON) List of Roles for a given App based on apikey.client_id
Sample output: https://github.com/dwyl/auth/issues/120#issuecomment-695354317
personroles(conn, map)
personroles/2
Returns the (JSON) List of Roles for a given person (and App)
e.g: /personroles/:person_id/:client_id
Sample output: https://github.com/dwyl/auth/issues/121#issuecomment-695360870