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
950 stars 98 forks source link

Provide basic user information in the ACL user lists #249

Closed simonwelsh closed 11 years ago

simonwelsh commented 11 years ago

The current ACL user lists only provide user IDs. This means almost every time a channel is retrieved, another request is made to get the user object for all those involved. I would like at least the username and display name returned along with the ID. Maybe even an option to return full user objects.

tigerbears commented 11 years ago

I second this wholeheartedly. At the very least, usernames or full names need to be available for efficient presentation, particularly on mobile. Firing off a bunch of secondary requests to retrieve this information to simply display an inbox is going to be brutal on a lot of users.

mattflaschen commented 11 years ago

I agree this makes sense. In the meantime, you can retrieve multiple users in one request.

tigerbears commented 11 years ago

Aha! Forgot all about that endpoint. Useful. OK, I should be able to use that as a temporary workaround. Thanks. :)

berg commented 11 years ago

I believe you should only have to fire off a single additional request (per 200 unique requested users), so I'm going to close this, as we're trying to move towards smaller request bodies combined with a very small number of secondary requests.