|
|
ServicesProvidedByAJangleConnector
Services provided by every Jangle connector
Introduction
The following is a list of services which every Jangle connector should provide.
Services
Patron services
Query patrons
GET /patrons[?query] returns data about patrons for this connector. The optional query can contain one or both of these parameters:
- max=<integer:max>: The maximum number of records to return. Default = 10.
- offset=<integer:offset>: Start from this offset, skipping any records previous to this. Default = 0.
- ordering ???
- search ???
GET /patrons/<integer:id> returns information about a single patron. ???coping with different identities
Update a patron
???
Delete a patron
???
Add new patron
???
Sign in to add a comment

This seems to require prior knowledge of the connectors defined and what they mean. While this is, most likely, where the majority of development would happen (in-house against your known targets), I don't see how the later examples (/actors/<id>) would work. Unless Jangle defines a default target, then we're golden.
Jangle defines routing to a connector and each connector implements the same set of services. The connector itself could provide a registry of the services it provides, which Jangle could present for a client to select from (e.g. in WADL).