Last active
January 26, 2016 23:32
-
-
Save martijn94/65a3f15a307a41346695 to your computer and use it in GitHub Desktop.
WP json custom endpoint doc
This file contains 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
"/somename/search": | |
{ | |
"namespace": "somename", | |
"methods": [ | |
"GET" | |
], | |
"endpoints": [ | |
{ | |
"methods": [ | |
"GET" | |
], | |
"args": [ ] | |
} | |
], | |
"_links": | |
{ | |
"self": "http://yourwebsite.com/wp-json/somename/search" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment