spec/files/posts.json in wp-api-0.0.2 vs spec/files/posts.json in wp-api-0.0.3
- old
+ new
@@ -163,10 +163,25 @@
"links": {
"collection": "http:\/\/wp.example.com\/wp-json\/taxonomies\/post_tag\/terms",
"self": "http:\/\/wp.example.com\/wp-json\/taxonomies\/post_tag\/terms\/1"
}
}
+ }],
+ "category": [{
+ "ID": 3,
+ "name": "Foxes",
+ "slug": "foxes",
+ "description": "",
+ "parent": null,
+ "count": 1,
+ "link": "http:\/\/wp.example.com\/category\/foxes\/",
+ "meta": {
+ "links": {
+ "collection": "http:\/\/wp.example.com\/wp-json\/taxonomies\/category\/terms",
+ "self": "http:\/\/wp.example.com\/wp-json\/taxonomies\/category\/terms\/3"
+ }
+ }
}]
}
},
{
"ID": 2,
@@ -333,8 +348,23 @@
"links": {
"collection": "http:\/\/wp.example.com\/wp-json\/taxonomies\/post_tag\/terms",
"self": "http:\/\/wp.example.com\/wp-json\/taxonomies\/post_tag\/terms\/2"
}
}
+ }],
+ "category": [{
+ "ID": 4,
+ "name": "Cars",
+ "slug": "cars",
+ "description": "",
+ "parent": null,
+ "count": 1,
+ "link": "http:\/\/wp.example.com\/category\/cars\/",
+ "meta": {
+ "links": {
+ "collection": "http:\/\/wp.example.com\/wp-json\/taxonomies\/category\/terms",
+ "self": "http:\/\/wp.example.com\/wp-json\/taxonomies\/category\/terms\/4"
+ }
+ }
}]
}
-}]
\ No newline at end of file
+}]