Monday, 15 February 2010

box api - How to get source of ITEM_SHARED_CREATE and ITEM_SHARED_UNSHARE events? -



box api - How to get source of ITEM_SHARED_CREATE and ITEM_SHARED_UNSHARE events? -

for events in box api, source field of event notifies client of object has changed.

for 2 sharing events, item_shared_create , item_shared_unshare, source field of event set null. afaik, there's no id in event entry points object has been shared or unshared. without doing total rescan of box filesystem via api, there way determine files/folders have been shared/unshared?

here's illustration response, note null source field:

{"type":"event", "event_id":"57b34bc08ed2720fb72c2a1aba56cc6b399e8e7d", "created_by": {"type":"user", "id":"xxx", "name":"joe polastre", "login":"joe@xxx"}, "created_at":"2013-02-14t20:39:22-08:00", "recorded_at":"2013-02-14t20:39:23-08:00", "event_type":"item_shared_create", "session_id":"925514914511d78b532462", "source":null}

this looks need prepare on our end. please email @ api @ box.com if you'd updated on progress make.

box-api

No comments:

Post a Comment