pump-io / pump.io

Social server with an ActivityStreams API
http://pump.io/
Apache License 2.0
2.22k stars 332 forks source link

Document that objects in main feed don't have "author" property #610

Open erincandescent opened 11 years ago

erincandescent commented 11 years ago

Objects returned as the subject of activities in the user's main feeds (/api/user/inbox, etc) don't have an "author" property when the verb is "post" or similar. While in many cases this is the same as the activity's actor, it interferes with caching the object.

evanp commented 11 years ago

In the Web UI, I think I slap the author property in when I get the activity.

evanp commented 11 years ago

So, I'm probably not going to change this; it seems like it's duplicating info and taking up a lot of bandwidth. Can you handle it the way I do in the Web UI?

erincandescent commented 11 years ago

Already am. It should probably be noted in API.md however

Evan Prodromou wrote:

So, I'm probably not going to change this; it seems like it's duplicating info and taking up a lot of bandwidth. Can you handle it the way I do in the Web UI?

— Reply to this email directly or view it on GitHub https://github.com/e14n/pump.io/issues/610#issuecomment-19878887.