JSON API

Gary Haran's Avatar

Gary Haran

28 Nov, 2009 02:14 AM

Hey guys,

I was wondering if there was any chance you would have an API where we could make Ajax calls with a special key or something to get information on an issue.

I could imagine something like this:

http://talker.tenderapp.com/discussions/problems/14.json?login_key=...

  {
    'id': 22,
    'title': "link is broken when you log on a second time",
    'author': {
      'name': "john_doe",
      'author_image_url': 'http://www.gravatarurl.com/etc...'
    },
    'body': "Link breaks when you do these three actions:\n1. copy the text from the [...]"
    'comment_count': 12,
    'datetime': 'Sat, 28 Nov 2009 02:12:21 GMT'
  }
  1. 1 Posted by rick on 28 Nov, 2009 03:13 AM

    rick's Avatar

    We have a JSON api that works similar to that, but it doesn't support API tokens. The only tokens we have currently are for authenticated atom feeds, which are supposed to be read-only. I'm assuming you're trying to access this from javascript, so I'll add API tokens in our next push.

    We do support multipass tokens in the API with a X-Multipass header or a ?sso URL option, but multipass tokens require a language with gzipping and AES encryption.

  2. 2 Posted by rick on 28 Nov, 2009 04:51 AM

    rick's Avatar

    FYI: I just added this multipass stuff in the last week or so. It's not mentioned in the docs, but I hope to remedy that this upcoming week.

  3. 3 Posted by rick on 08 Jan, 2010 04:33 AM

    rick's Avatar

    We just finished a big push on the API. The various token based authentication schemes are documented. The discussion schema has been updated. If you're accessing this from script tags, you can add a ?callback attribute to get the response wrapped in a javascript method.

    We also launched webhooks for Tender. I'll probably add a Talker one really soon :)

    And, that's the last time I bug you about this issue :)

  4. rick closed this discussion on 08 Jan, 2010 04:33 AM.

Discussions are closed to public comments.
If you need help with Tender please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac