Closed LswaN58 closed 10 months ago
This should be a per-level feature. If a publish_story_click event occurred in the given level, it returns the list of all snippet_id's in the snippet_list element of event_data.
publish_story_click
snippet_id
snippet_list
event_data
For reference, the event_data for publish_story_click events is:
"event_data" : { "snippet_list": [ { "snippet_id":"str", "snippet_type":"enum(IMAGE, QUOTE)", "snippet_quality":"enum(BAD, GOOD, GREAT)", "snippet_attributes":"List[enum(COLOR, FACTS, USEFUL)]", "is_selectable":"bool" }, { "snippet_id":"str", "snippet_type":"enum(IMAGE, QUOTE)", "snippet_quality":"enum(BAD, GOOD, GREAT)", "snippet_attributes":"List[enum(COLOR, FACTS, USEFUL)]", "is_selectable":"bool" }, ... ] "layout": [ { "type": "enum(ANY,PICTURE)", "is_wide": "bool", "assigned_snippet": "Optional[snippet_id]" }, { "type": "enum(ANY,PICTURE)", "is_wide": "bool", "assigned_snippet": "Optional[snippet_id]" }, ... ] }
This should be a per-level feature. If a
publish_story_click
event occurred in the given level, it returns the list of allsnippet_id
's in thesnippet_list
element ofevent_data
.For reference, the
event_data
forpublish_story_click
events is: