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.
https://developers.app.net
952 stars 99 forks source link

Annotations are not returned when creating a channel #374

Open tonyarnold opened 10 years ago

tonyarnold commented 10 years ago

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 commented 10 years ago

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

tonyarnold commented 10 years ago

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

tonyarnold commented 10 years ago

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