Reply to comment

Connector API

HOWTO build a Jangle connector

Note, everything here is negotiable.  If you have a better idea for anything, please provide comments!

All GET requests should return a JSON object with the following keys:

time, string
UTC timestamp of request

request, string
returns the path and query string of the incoming request,

data, array
an array of objects,

Optionally, the response object may include:

links, hash
a hash of values to populate the link tags at the Atom feed level, such as for pagination.
Example:
links : { "self" : "\/actors\/", "first" : "\/actors\/", "last" : "\/actors\/?page=60"}

values can be either relative or absolute URIs

Reply

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options