Options and Conformance
The OPTIONS HTTP method allows a client to determine the options and/or requirements associated with a resource, service or with the system, without implying a resource action.
Services SHOULD respond to this method with the appropriate HTTP codes, headers and potentially with a payload revealing more details about themselves.
Another use-case for this method is related to exposing service capabilities for a conformance manifest.
Responses
- application/json
Request Example for options/
curl https://openEHRSys.example.com/v1/ \
--request OPTIONS
{
"solution": "openEHRSys",
"solution_version": "v1.0",
"vendor": "My-openEHR",
"restapi_specs_version": "1.1.0",
"conformance_profile": "STANDARD",
"endpoints": [
"/ehr",
"/demographic",
"/definition",
"/query",
"/admin"
]
}