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

Refactor API endpoints for starting Sense tasks #326

Closed
mountaindude opened this issue Dec 16, 2021 · 0 comments · Fixed by #338
Closed

Refactor API endpoints for starting Sense tasks #326

mountaindude opened this issue Dec 16, 2021 · 0 comments · Fixed by #338
Milestone

Comments

@mountaindude
Copy link
Collaborator

mountaindude commented Dec 16, 2021

Is your feature request related to a problem? Please describe.
The API for starting Sense tasks is very useful and flexible, but that flexibility has resulted in some inconsistencies around how parameters are handled in different usage scenarios.

Specifically:

  • The returned JSON objects should be consistent across all usage scenarios. "Invalid", "denied" should always mean the same thing.
  • If all tasks are passed in the message body, the magic task ID of - can be passed in as task ID in the URL. This already works to some degree, but is not consistent.
  • Create test cases for all major usage scenarios. Document in Google doc/Excel files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant