jstp / jstp-rfc

JSON Transfer Protocol RFC
0 stars 0 forks source link

OPTIONS Method #14

Open xaviervia opened 11 years ago

xaviervia commented 11 years ago

An OPTIONS Method in JSTP may be used to retrieve a description of the bound Endpoints in an Engine. An OPTIONS method may allow JSTP APIs to self-describe.

As a prospect, it looks good, since it may even allow applications to discover and learn APIs, but it raises some other questions because it is prominently a meta-operation closer to the Subscription feature than to regular Dispatches.

It also might have to be taken into account that publishing the entire Subscriptions Table raises extra security issues.