[wp-hackers] Help with the API on WordPress.org?

Mike Schinkel mikeschinkel at gmail.com
Sun Jan 4 01:59:02 GMT 2009


Just for grins I decided to see how hard it was to add in a few more
"services."  Given the RESTian library I wrote and a few lines of code, now
I have services for all of the following. Of course they probably make no
sense in relation to the plugs, but whatever, these all work now just for
demonstration:

    http://api.advancedwordpress.net/0.1/posts.html
    http://api.advancedwordpress.net/0.1/posts/1.html
    http://api.advancedwordpress.net/0.1/posts.json
    http://api.advancedwordpress.net/0.1/posts/1.json
    http://api.advancedwordpress.net/0.1/posts.json?serve=txt
    http://api.advancedwordpress.net/0.1/posts/1.json?serve=txt

    http://api.advancedwordpress.net/0.1/pages.html
    http://api.advancedwordpress.net/0.1/pages/2.html
    http://api.advancedwordpress.net/0.1/pages.json
    http://api.advancedwordpress.net/0.1/pages/2.json
    http://api.advancedwordpress.net/0.1/pages.json?serve=txt
    http://api.advancedwordpress.net/0.1/pages/2.json?serve=txt

    http://api.advancedwordpress.net/0.1/links.html
    http://api.advancedwordpress.net/0.1/links/4.html
    http://api.advancedwordpress.net/0.1/links.json
    http://api.advancedwordpress.net/0.1/links/4.json
    http://api.advancedwordpress.net/0.1/links.json?serve=txt
    http://api.advancedwordpress.net/0.1/links/4.json?serve=txt

    http://api.advancedwordpress.net/0.1/terms.html
    http://api.advancedwordpress.net/0.1/terms/2.html
    http://api.advancedwordpress.net/0.1/terms.json
    http://api.advancedwordpress.net/0.1/terms/2.json
    http://api.advancedwordpress.net/0.1/terms.json?serve=txt
    http://api.advancedwordpress.net/0.1/terms/2.json?serve=txt

-Mike Schinkel
http://mikeschinkel.com

>
>


More information about the wp-hackers mailing list