Box API events don't display full user details
Hello I was pulling event with the api like so:
stream_position = 0
events = client.events().get_events(stream_position=stream_position,stream_type="admin_logs")
stream_position = events['next_stream_position']
for event in events['entries']:
print('Got {0} event that occurred at {1} and created by {2}'.format(event.event_type, event.created_at, event.created_by))
The problem is that if in the "event.created.by" data i only recieve the users display name
ie:
Got SHARE event that occurred at 2019-10-22T11:42:00-07:00 and created by <Box User - xxxxxxx (July User)>
Is there a way to dump all the JSON data out of the event? I noticed not everything is displayed as it is in the original stream
サインインしてコメントを残してください。
コメント
0件のコメント