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

Annotations are not returned when creating a channel #374

Open
tonyarnold opened this issue Apr 13, 2014 · 3 comments
Open

Annotations are not returned when creating a channel #374

tonyarnold opened this issue Apr 13, 2014 · 3 comments

Comments

@tonyarnold
Copy link

I'm not sure if this applies to other objects, but the object returned from creating a channel both via the standard API calls and via the user stream have no annotations despite being passed annotations, and the annotations being present on subsequent calls to the API.

@mthurman
Copy link
Member

Are you passing include_annotations=1 in the query string when you post?

@tonyarnold
Copy link
Author

It's in the POST body for creating a channel. Does it always need to be in the query string?

@tonyarnold
Copy link
Author

It seems that unless I add include_annotations=1 to the query string of the initial request for subscription from https://stream-channel.app.net/stream/user, I never receive annotations via the stream JSON messages.

Could the API be modified such that the include_annotations (and other query params) respect the passed values from individual subscription requests? i.e. https://api.app.net/channels?connection_id=…&include_annotations=1&…

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