frontitygit
Version:
A Frontity source package for the REST API of self-hosted and WordPress.com sites
126 lines (125 loc) • 2.73 kB
JSON
[
{
"id": 1,
"slug": "post-1",
"type": "post",
"link": "https://test.frontity.org/post-1/",
"author": 1,
"featured_media": 1,
"categories": [1],
"tags": [],
"_embedded": {
"author": [
{
"id": 1,
"name": "Author 1",
"link": "https://test.frontity.org/author/author-1/",
"slug": "author-1"
}
],
"wp:featuredmedia": [
{
"id": 1,
"slug": "attachment-1",
"type": "attachment",
"link": "https://test.frontity.org/post-1/attachment-1/",
"author": 1
}
],
"wp:term": [
[
{
"id": 1,
"count": 5,
"link": "https://test.frontity.org/category/cat-1/",
"slug": "cat-1",
"taxonomy": "category",
"parent": 0
}
]
]
}
},
{
"id": 2,
"slug": "post-2",
"type": "post",
"link": "https://test.frontity.org/post-2/",
"author": 1,
"featured_media": 2,
"categories": [1],
"tags": [],
"_embedded": {
"author": [
{
"id": 1,
"name": "Author 1",
"link": "https://test.frontity.org/author/author-1/",
"slug": "author-1"
}
],
"wp:featuredmedia": [
{
"id": 2,
"slug": "attachment-2",
"type": "attachment",
"link": "https://test.frontity.org/post-2/attachment-2/",
"author": 1
}
],
"wp:term": [
[
{
"id": 1,
"count": 5,
"link": "https://test.frontity.org/category/cat-1/",
"slug": "cat-1",
"taxonomy": "category",
"parent": 0
}
]
]
}
},
{
"id": 3,
"slug": "post-3",
"type": "post",
"link": "https://test.frontity.org/post-3/",
"author": 1,
"featured_media": 3,
"categories": [1],
"tags": [],
"_embedded": {
"author": [
{
"id": 1,
"name": "Author 1",
"link": "https://test.frontity.org/author/author-1/",
"slug": "author-1"
}
],
"wp:featuredmedia": [
{
"id": 3,
"slug": "attachment-3",
"type": "attachment",
"link": "https://test.frontity.org/post-3/attachment-3/",
"author": 1
}
],
"wp:term": [
[
{
"id": 1,
"count": 5,
"link": "https://test.frontity.org/category/cat-1/",
"slug": "cat-1",
"taxonomy": "category",
"parent": 0
}
]
]
}
}
]