Skip to content

Instantly share code, notes, and snippets.

@anoochit
Last active October 5, 2023 16:56
Show Gist options
  • Save anoochit/38ee10e1f596da3204afd5f0eaf1d844 to your computer and use it in GitHub Desktop.
Save anoochit/38ee10e1f596da3204afd5f0eaf1d844 to your computer and use it in GitHub Desktop.
post item example
[
{
"id": 1,
"user": {
"name": "Awesom User",
"avatarUrl": "https://i.pravatar.cc/300"
},
"content": "Hello",
"type": "text",
"datetime": "2023-10-04 22:10:42"
},
{
"id": 2,
"user": {
"name": "Awesom User",
"avatarUrl": "https://i.pravatar.cc/300"
},
"content": "https://picsum.photos/536/354",
"type": "image",
"datetime": "2023-10-05 22:10:42",
"ads": [
{
"title": "Sausage Mc Muffin set",
"image": "https://d1vs91ctevllei.cloudfront.net/images/product/1693528427TPO-1000x1000-sausage-set.png"
},
{
"title": "Sausage McMuffin",
"image": "https://d1vs91ctevllei.cloudfront.net/images/product/15991868771593420983050_MCD_Menu-Icon_600x400px_Breakfast-Alacarte_Sausage-McMuffin_Final.jpg"
},
{
"title": "Sausage McMuffin with Egg",
"image": "https://d1vs91ctevllei.cloudfront.net/images/product/1593420962051_MCD_Menu-Icon_600x400px_Breakfast-Alacarte_Sausage-McMuffin-EGG_Final.jpg"
},
{
"title": "Hot Americano 8 oz.",
"image": "https://d1vs91ctevllei.cloudfront.net/images/product/16487576381629277313HOT-LONG-BLACK_Final.png"
}
]
},
{
"id": 3,
"user": {
"name": "Awesom User",
"avatarUrl": "https://i.pravatar.cc/300"
},
"content": "Hello Again",
"type": "text",
"datetime": "2023-10-06 22:10:42"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment