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

Document endpoint that lists all known endpoints to CT #66

Open
tiagojsag opened this issue Oct 23, 2019 · 0 comments
Open

Document endpoint that lists all known endpoints to CT #66

tiagojsag opened this issue Oct 23, 2019 · 0 comments
Assignees

Comments

@tiagojsag
Copy link

https://github.com/Skydipper/control-tower/blob/8658f5e6d893348b9496725ceb46783ed91e0d9b/app/src/routes/api/v1/endpoint.router.js#L46

curl -X GET \ http://api.resourcewatch.org/api/v1/endpoint \ -H 'Accept: */*' \ -H 'Accept-Encoding: gzip, deflate' \ -H 'Authorization: Bearer <token> \ -H 'Cache-Control: no-cache' \ -H 'Content-Type: application/json'

  • lists all endpoints known to CT
  • need ADMIN to be able to access it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants