14 thoughts on “REST API

      1. Hi Justin, I’m using Firefox 11.0 on Win7 x64. I get a loading circle in the top left (ie inside what should be the “REFERENCE” box?), and when I hit submit, a new section appears in the larger window on the right, saying “GET /me” (or whatever the query I’m trying to use) and with a loading circle to the right. I have also tried the direct link you mention – no difference.

        I’ve also tried with Safari 5.1.5 on the same machine – the overall look is the same, but the same behaviour (just getting loading circles).

        Same thing in IE9, but the loading circles don’t animate.

        I can query the API directly, using the URL (eg http://public-api.wordpress.com/rest/v1/sites/33534099/posts/43/?pretty=true), but just can’t use Console in any browser. :(

    1. Mary — are you logged into WordPress.com when you’re seeing these problems? The console is only accessible when you are logged in (even though some API endpoints are accessible *without* being logged in).

  1. Hi guys, can anyone help me with the worpress api integration with ruby , i m using oauth2 ruby gem for authentication whenever i try to create an access_token it gives me Oauth2::error

  2. Hi,
    Thanks for this useful API. Just wanted to know how can I get the attachments associated with my post. I know ‘attachments’ are objects (Hash of post attachments (keyed by attachment ID)). But how can I get the attachment ID? Thanks in advance.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s