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

Include ID in action requests #106

Open
mrstegeman opened this issue Sep 24, 2018 · 1 comment
Open

Include ID in action requests #106

mrstegeman opened this issue Sep 24, 2018 · 1 comment

Comments

@mrstegeman
Copy link
Contributor

For action requests through both the REST API and the WebSocket API, the client should include an ID which can be used to map responses.

@mrstegeman mrstegeman changed the title Include ID in Action Requests Include ID in action requests Sep 24, 2018
@benfrancis
Copy link
Member

Can you explain how you think this should work?

Currently in the REST API the ID of an action request is its URL, which is returned in the response to the POST request that created it. That URL can then be used to query the status of the action.

Where I think this probably falls down is in the WebSocket API where an actionStatus message includes the URL of the action request, but there's no way for a client to know which actionStatus messages correspond to their original requestAction message.

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