Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API call to request the ID of a role given an ID #19

Open
mikejquinn opened this issue May 19, 2014 · 0 comments
Open

API call to request the ID of a role given an ID #19

mikejquinn opened this issue May 19, 2014 · 0 comments

Comments

@mikejquinn
Copy link
Collaborator

Our provisioning scripts currently contain role ID values in order to register hosts with Watchman specific roles, which is somewhat error prone. It would be great if there were an API call to to fetch the ID of a Role given its name.

Perhaps via:

/api/v1/roles?name=MyRole

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant