spec/files/posts/2.json in wp-api-0.0.2 vs spec/files/posts/2.json in wp-api-0.0.3
- old
+ new
@@ -163,8 +163,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
+}