appdotnet / api-spec

App.net API Documentation is on the web at https://developers.app.net. Source for these docs is in the new-docs branch here. Please use the issue tracker and submit pull requests! Help us build the real-time social service where users and developers come first, not advertisers.

Home Page:https://developers.app.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Annotations are not returned when creating a channel

tonyarnold opened this issue · comments

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.

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

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

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&…