Last active
March 24, 2017 21:25
-
-
Save danielpowney/0c697574ca6984b34f518fd2f5f59cd8 to your computer and use it in GitHub Desktop.
rating-items REST API route endpoint e.g. https://<website>/wp-json/mrp/v1/rating-items
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"61":{ | |
"max_option_value":5, | |
"rating_item_id":61, | |
"description":"Aroma", | |
"default_option_value":5, | |
"option_value_text":"1=1 star,2=2 stars,3=3 stars,4=4 stars,5=5 stars", | |
"type":"star_rating", | |
"only_show_text_options":false | |
}, | |
"67":{ | |
"max_option_value":5, | |
"rating_item_id":67, | |
"description":"Body", | |
"default_option_value":5, | |
"option_value_text":"0=No stars,1=1 star,2=2 stars,3=3 stars,4=4 stars,5=5 stars", | |
"type":"select", | |
"only_show_text_options":false | |
}, | |
"68":{ | |
"max_option_value":5, | |
"rating_item_id":68, | |
"description":"Flavour", | |
"default_option_value":5, | |
"option_value_text":"0=No stars,1=1 star,2=2 stars,3=3 stars,4=4 stars,5=5 stars", | |
"type":"radio", | |
"only_show_text_options":false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment