Files
2012-02-21 01:15:00 -05:00

1 line
12 KiB
JSON

[{"user_id": 209, "stars": [], "topic_id": 9767, "date_created": 1299005322.7181971, "message": "@leah Perfect :)", "group_id": 2780, "id": 236882}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299005109.5151801, "message": "@issackelly np... yeah, that's what we meant by \"The Convore API is currently under construction so watch for big changes coming soon!\"", "group_id": 2780, "id": 236838}, {"user_id": 209, "stars": [], "topic_id": 9767, "date_created": 1299005053.2079411, "message": "@leah Thanks! I saw all this start showing up in the interface. I'm so glad that you guys are pushing forward on getting all the functionality of the website available in the API.", "group_id": 2780, "id": 236830}, {"user_id": 8360, "stars": [], "topic_id": 9767, "date_created": 1299005070.853039, "message": "Great! Will check it out later today.", "group_id": 2780, "id": 236834}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299005079.9783909, "message": "Pagination for topics (using an until_id): https://convore.com/api/#group-topics", "group_id": 2780, "id": 236835}, {"user_id": 209, "stars": [], "topic_id": 9767, "date_created": 1299005280.8467929, "message": "@leah, The only other thing that I think would be helpful would be all of the \"kind\"s and a description of what gets spit out of the live endpoint", "group_id": 2780, "id": 236876}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299004992.2446859, "message": "Mark group as read: https://convore.com/api/#group-mark-read", "group_id": 2780, "id": 236819}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299005120.3825159, "message": "not that the API will change much, but that we need to add to ti", "group_id": 2780, "id": 236843}, {"user_id": 2, "stars": [{"date_created": 1299009829.6206529, "user_id": 8391}], "topic_id": 9767, "date_created": 1299004950.6729469, "message": "just a quick update - I've added some stuff to the API", "group_id": 2780, "id": 236811}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299004964.9771221, "message": "Mark all as read: https://convore.com/api/#account-mark-read", "group_id": 2780, "id": 236813}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299005000.2450531, "message": "Mark topic as read: https://convore.com/api/#topic-mark-read", "group_id": 2780, "id": 236822}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299005019.8921261, "message": "Members online (all members in your groups): https://convore.com/api/#account-online", "group_id": 2780, "id": 236824}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299005184.0046329, "message": "that should be all the major updates for a while... so let me know if you need anything else soonish", "group_id": 2780, "id": 236849}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299005062.9761851, "message": "Pagination for messages (using an until_id): https://convore.com/api/#topic-messages", "group_id": 2780, "id": 236832}, {"user_id": 8360, "stars": [{"date_created": 1299005659.543453, "user_id": 1}], "topic_id": 9767, "date_created": 1299005226.197916, "message": "The API changes so fast, I am constantly updating my wrapper classes. :)", "group_id": 2780, "id": 236859}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299005092.5531571, "message": "@lmarinho cool", "group_id": 2780, "id": 236837}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299005037.3569009, "message": "Members of a group that are online: https://convore.com/api/#group-online", "group_id": 2780, "id": 236826}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299005297.9609661, "message": "@issackelly that's all documentation right?", "group_id": 2780, "id": 236878}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299005307.400166, "message": "I have an open issue to get all the responses documented", "group_id": 2780, "id": 236880}, {"user_id": 8391, "stars": [], "topic_id": 9767, "date_created": 1299009850.194036, "message": "Awesome additions", "group_id": 2780, "id": 237662}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299029080.908685, "message": "ooooh", "group_id": 2780, "id": 242423}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299029109.3328691, "message": "or do you want a list of ids that the logged-in user is a member of?", "group_id": 2780, "id": 242424}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299029115.5701671, "message": "sorry, it's been a long day :(", "group_id": 2780, "id": 242426}, {"user_id": 1706, "stars": [], "topic_id": 9767, "date_created": 1299028647.712997, "message": "@leah not a deal-breaker but the account/online endpoint does indicate any group membership like we see in live for login/logout. As such, you *have* to fetch the per-group online anyways.", "group_id": 2780, "id": 242402}, {"user_id": 1706, "stars": [], "topic_id": 9767, "date_created": 1299028678.3958261, "message": "s/does indicate/does not indicate/", "group_id": 2780, "id": 242404}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299028791.3714049, "message": "@protocool I'll take a look at adding it", "group_id": 2780, "id": 242413}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299028864.437315, "message": "so you want each user to have a \"group_ids\" that contains a list of ids of the groups they belong to?", "group_id": 2780, "id": 242417}, {"user_id": 1706, "stars": [], "topic_id": 9767, "date_created": 1299032561.1108861, "message": "and no need to apologize, long days all around I expect :-)", "group_id": 2780, "id": 242582}, {"user_id": 1706, "stars": [], "topic_id": 9767, "date_created": 1299032523.4973669, "message": "@leah - to clarify, *not* asking for a list of group_ids that the authenticated user is a member of (because that's satisfied by /groups). *am* asking for each user returned in account/online to include an array of group_ids", "group_id": 2780, "id": 242577}, {"user_id": 16271, "stars": [], "topic_id": 9767, "date_created": 1299035170.8784721, "message": "@leah Ah well alas my speculation ends with my link - no idea about Campfire. I mean I know what it is, but I've never used it.", "group_id": 2780, "id": 242867}, {"user_id": 1706, "stars": [], "topic_id": 9767, "date_created": 1299034969.714375, "message": "sure thing - I only have to do it once per 'session' in live anyhow so it's not like I'm doing it often.", "group_id": 2780, "id": 242846}, {"user_id": 16271, "stars": [{"date_created": 1299047684.4430201, "user_id": 1}], "topic_id": 9767, "date_created": 1299035068.490963, "message": "My guess is that the app will look a lot like http://propaneapp.com/ :-)", "group_id": 2780, "id": 242859}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299034714.475292, "message": "@protocool I still have \"151 members online now\" :(", "group_id": 2780, "id": 242815}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299034810.3108151, "message": "otherwise I would have just copied it over", "group_id": 2780, "id": 242831}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299035001.5692451, "message": "@protocool okay thanks... maybe when I get a chance to see your app it will make more sense :D", "group_id": 2780, "id": 242850}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299034271.1639881, "message": "@protocool that's a pretty expensive database operation (getting all the groups for all the users in groups you share). What's the use case in the UI?", "group_id": 2780, "id": 242753}, {"user_id": 1706, "stars": [], "topic_id": 9767, "date_created": 1299034650.9784651, "message": "I think we may be misunderstanding each other. \"all groups for all users in groups you share\" does indeed sound expensive. I'm talking about *online* only. <more>", "group_id": 2780, "id": 242805}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299034848.7928171, "message": "it's probably best to just request the group members online as it's needed (if possible)", "group_id": 2780, "id": 242835}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299034721.4308491, "message": "which I guess isn't too bad", "group_id": 2780, "id": 242816}, {"user_id": 1706, "stars": [], "topic_id": 9767, "date_created": 1299034729.046838, "message": "heh", "group_id": 2780, "id": 242818}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299034748.390209, "message": "it can get up there during the day though", "group_id": 2780, "id": 242820}, {"user_id": 1706, "stars": [], "topic_id": 9767, "date_created": 1299034757.7953069, "message": "it's not a killer, I can ask each group for /online", "group_id": 2780, "id": 242821}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299034788.2064259, "message": "@protocool yeah, that's what the website does obviously.", "group_id": 2780, "id": 242827}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299035144.2817121, "message": "because that's totally different from campfire", "group_id": 2780, "id": 242862}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299035134.459281, "message": "@mridley I'm just curious how the topics are handled", "group_id": 2780, "id": 242861}, {"user_id": 16271, "stars": [], "topic_id": 9767, "date_created": 1299327815.9042699, "message": "@leah Question about the pagination for messages. I'm not sure how best to use until_id because the id of messages doesn't increment by one each time so I can't do addition and subtraction of the message id based on some pagination messages per page count. Also there is no from_id so apparently a call for the messages for page n will return the messages from pages 1...n as well? Maybe I'm missing something obvious?", "group_id": 2780, "id": 276141}, {"user_id": 1706, "stars": [], "topic_id": 9767, "date_created": 1299358375.4292569, "message": "@mridley in case you haven't figured it out (assuming topics and messages work the same btw), the message id you specify in \"until_id\" is the *oldest* message you have cached in memory.", "group_id": 2780, "id": 277647}, {"user_id": 1706, "stars": [], "topic_id": 9767, "date_created": 1299358376.8533909, "message": "The payload you get back will have at least one message (unless it's deleted I guess, not tested that) which is the message specified by your until_id. All subsequent messages in the payload are the messages that are *older* (descending order) than the one you specified in until_id.", "group_id": 2780, "id": 277648}, {"user_id": 1706, "stars": [], "topic_id": 9767, "date_created": 1299358489.3414619, "message": "Note that I'm basing my description on the behavior of paginating through topics though - I haven't bothered implementing paged message fetching yet.", "group_id": 2780, "id": 277658}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299361424.6177549, "message": "sorry, I've been offline for a bit", "group_id": 2780, "id": 277759}, {"user_id": 2, "stars": [], "topic_id": 9767, "date_created": 1299361444.361973, "message": "the api also just gives you the until_id to use for the next page", "group_id": 2780, "id": 277760}, {"user_id": 16271, "stars": [], "topic_id": 9767, "date_created": 1299363423.0549841, "message": "It might just be a concept bias I have since whenever I have written pagination APIs I have had the arguments be a starting id and a count of how many to return. So this is a little different. I'm sure I'll figure it out if I play with it some more.", "group_id": 2780, "id": 277804}, {"user_id": 16271, "stars": [], "topic_id": 9767, "date_created": 1299363346.9195869, "message": "Thanks for the input @protocool and @leah I ended up doing the pagination the old fashioned way where I grab all the messages each time and only output what's relevant for the page but that's wasteful. I'm still not 100% sure I follow how to use until_id but I will play with it some more and see if I can figure it out.", "group_id": 2780, "id": 277801}]