Skip to content

Instantly share code, notes, and snippets.

@bodbdigr
Created November 23, 2020 17:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bodbdigr/6a189a7889fc97c8142874d2985ac212 to your computer and use it in GitHub Desktop.
Save bodbdigr/6a189a7889fc97c8142874d2985ac212 to your computer and use it in GitHub Desktop.
{
"assets": [
{
"url": "https://something.com/my.jpg",
"type": "[mp4|pdf|jpg|png|gif]",
"metadata": {
"credit": "optional",
"caption": "optional",
"tags": [
"tag1"
],
"etc": ""
}
},
{
"url": "https://something.com/other.jpg",
"type": "[mp4|pdf|jpg|png|gif]",
"metadata": {}
}
],
"categories": [
{
"id": 1,
"title": "category one",
"path": "category-one",
"parent_category_id": null,
"status": "[public|private|unlisted]",
"metadata": {}
},
{
"id": 2,
"title": "category one",
"path": "category-one",
"parent_category_id": 1,
"status": "private",
"metadata": {}
}
],
"authors": [
{
"id": 1,
"display_name": "John Doe",
"email": "john@doe.com",
"first_name": "John",
"last_name": "Doe",
"path": "john-doe",
"avatar_url": "",
"bio": "",
"metadata": {}
}
],
"posts": [
{
"id": 1,
"path": "post-title",
"original_url": "https://letmegoogleitforyou.com/",
"status": "[draft|public|deleted]",
"published_date": "[timestamp_seconds]",
"title": "post title",
"subtitle": "post subtitle",
"content": "this is the post content",
"lead_media": "assets[N]",
"tags": [
"tag1",
"tag2"
],
"categories": "category[]",
"authors": "author[]",
"assembler": {
"particles": [
{
"type": "[slideshow|particle_item|multicolumn]",
"items": [
{
"title": "assembler title",
"lead_media": "assets[N]",
"content": "this is the assembler item (particle) content"
}
]
}
]
},
"metadata": {}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment