Subject: Feed API
Fetch Combined Feed of Followed Users
Resource: /feed/<user_id>/following
Method: GET
Request Body: none
Request Headers: X-Rupture-Application, X-Rupture-Request,
X-Rupture-Signature, X-Rupture-Session
Response Code: 200
Response Body: GameSessions Message
Are the docs for feeds correct/up-to-date? Is a GameSessions message the expected returned data? I am getting a protocol buffer parsing error trying to parse a GameSessions message from the data returned.
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by bill on 01 Jul, 2009 03:40 AM
Hey Rob-
Unfortuantely you're doing nothing wrong, I fear the protocol buffer reply is a bit broken in this case.
I'm working on committing a fix ASAP tonight and we'll have that fix out to the test environment as quickly as possible. If you're doing your development against api.rupture.com it will, unfortuantely, take us a little bit longer to update the live api as well.
I'll let you know via this ticket as soon as the issue is fixed in each environment and any ETAs as I figure them out tomorrow.
3 Posted by rcolbert on 01 Jul, 2009 05:08 AM
Not an inconvenience at all. We're not sessioning with api. We're only hitting non-production domains for now.
Support Staff 4 Posted by bill on 01 Jul, 2009 05:22 AM
I've updated the wiki to reflect how the API will behave as soon as we push this update out.
http://ruplwiki.pbworks.com/API#feed_api
As you can see the feed api has a lot of options, but should be very straight forward to use.
We've also updated the protocol buffers file to include the Messages that the Feed API returns, which have the suffix _vFeed. We've built these special messages because they contain specific data useful to an API consumer who is building a "Feed" displaying application (data like gamernames, avatarurls, and more.)
http://ruplwiki.pbworks.com/Protocol-Buffer-Message-File
I moved the protocol buffer message definitions to a new spot on the wiki. You can find it at that URL above.
I'll post a follow up here as soon as my changes are deployed to the various environments, I hope to make that happen right away tomorrow morning.
Thanks Rob!
Support Staff 5 Posted by bill on 01 Jul, 2009 10:45 PM
Hey Rob-
This updated API has been pushed to our test enviornment. Not sure if this is the one you guys are developing against? The update to api.rupture.com should be done sometime next week, but api.test.rupture.com is updated now.