Skip to content

Instantly share code, notes, and snippets.

@BobWassermann
Created April 29, 2017 18:20
Show Gist options
  • Save BobWassermann/879a7c35867dfd862a26da519bc32f53 to your computer and use it in GitHub Desktop.
Save BobWassermann/879a7c35867dfd862a26da519bc32f53 to your computer and use it in GitHub Desktop.
category_information
{
"id":3,
"count":3,
"description":"",
"link":"http://foo.com/category/foo/",
"name":"Foo",
"slug":"foo",
"taxonomy":"category",
"parent":0,
"meta":[
],
"_links":{
"self":[
{
"href":"http://foo.com/wp-json/wp/v2/categories/3"
}
],
"collection":[
{
"href":"http://foo.com/wp-json/wp/v2/categories"
}
],
"about":[
{
"href":"http://foo.com/wp-json/wp/v2/taxonomies/category"
}
],
"wp:post_type":[
{
"href":"http://foo.com/wp-json/wp/v2/posts?categories=3"
},
{
"href":"http://foo.com/wp-json/wp/v2/journal?categories=3"
}
],
"curies":[
{
"name":"wp",
"href":"https://api.w.org/{rel}",
"templated":true
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment