-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Milestone
Description
As people build implementations, there is renewed interested in how to add non-standard features to the server.
Telecon notes from 2017-05-16 have a discussion about this:
https://github.com/hapi-server/data-specification/wiki/telecon-notes
Everyone pretty much agrees that the HAPI endpoints should be kept strict (no extensions - any extra keywords is an error).
We would need a way for people to advertise extensions, presumably in the capabilities endpoints.
{
"HAPI": "1.1",
"status": {
"code": 1200, "message": "OK"
},
"outputFormats": [
"csv", "binary", "json"
]
"extensions": {
[
{
"endpoint": "averaged_data", (name of endpoint)
"description": "basic explanation of extension"
},
{
"endpoint": "despiked_data", (name of endpoint)
"description": "basic explanation of extension"
}
]
}
}
The extension endpoint with no parameters IS a human readable landing page describing the parameters taken, and how to use the endpoint.
Metadata
Metadata
Assignees
Labels
No labels