What alternatives are there for creating a REST-full web service API based on JSON? -
we're creating web service , we'd 2 things: - json based - rest-full - how so, haven't decided
we've implemented custom apis we'd follow standards, since @ point gets little crazy remember rules, exceptions, , undocumented parts creator forgot.
are of using standards you've found useful? or @ least, alternatives?
so far know of jsonapi , hal.
these don't seem enough though, since we'd optimaly able to: + define, expose , update entities , relations between them + define, expose , invoke operations + small numbers of requests preferable, @ least "makes sense" (i'll leave blank check)
[edit] apparently, there's odata too: http://www.odata.org/
are of using standards you've found useful? or @ least, alternatives?
between own question , comments of big names have been mentioned. add json hyper schema:
"json schema json based format defining structure of json data. document specifies hyperlink- , hypermedia-related keywords of json schema."
http://json-schema.org/latest/json-schema-hypermedia.html
it's extension json schema , fulfils similar role others mentioned above.
i've been using json-hal while , lot, i'm increasingly drawn json schema family of schemas handle data model definition , validation. these schemas basis of excellent swagger rest api standard:
http://swagger.io/specification/
hope helps.
Comments
Post a Comment