Skip to content

Instantly share code, notes, and snippets.

@scottbaggett
Last active August 29, 2015 14:03
Show Gist options
  • Select an option

  • Save scottbaggett/9393edcaac5a261a50b6 to your computer and use it in GitHub Desktop.

Select an option

Save scottbaggett/9393edcaac5a261a50b6 to your computer and use it in GitHub Desktop.
Sample Terms JSON
{
ID:4,
name:"Red",
slug:"red",
description:"",
parent:{
ID:3,
name:"Wines",
slug:"wines",
description:"",
parent:null,
count:35,
link:"http://example.com/category/wines/",
meta:{
links:{
collection:"http://example.com/wp-json/taxonomies/category/terms",
self:"http://example.com/wp-json/taxonomies/category/terms/3"
}
}
},
count:9,
link:"http://example.com/category/wines/red/",
meta:{
links:{
collection:"http://example.com/wp-json/taxonomies/category/terms",
self:"http://example.com/wp-json/taxonomies/category/terms/4"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment