Skip to content

Instantly share code, notes, and snippets.

@sundhine
Last active December 5, 2022 16:45
Show Gist options
  • Save sundhine/6228f859f9257699355bc455bdd7f38d to your computer and use it in GitHub Desktop.
Save sundhine/6228f859f9257699355bc455bdd7f38d to your computer and use it in GitHub Desktop.
Create Haystack Body
{
"day": "YYYYMMDD",
"stacks": {
"brexit": {
"stack_name": "Brexit",
"stories": [
{
"sentences": [
{
"sentence_hash": "media_hash",
"sentence_text": "media_hash",
"publication_date": "ISO",
"publication": "pub_name",
"url": "url.com",
"statistics": {
"comment_counts": 123,
"likes_and_react_counts": 123,
"share_count": 123
}
}
]
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment