Tutorial: 6. Info API

6. Info API

The SAP HANA REST Application Programming Interface (REST API) includes an Info API that can be used to display information about the current version of the REST API. The information displayed by the Info API includes a description of the current version of the delivery unit and the number of commands (API entry points) that are currently supported by the REST API.

Display Information about the REST API

Retrieve all available information about the current version of the REST API.

Example Request

GET /sap/hana/xs/dt/base/info

Orion-Version: 1.0

Example Response

HTTP/1.1 200 OK



{
"DeliveryUnit":{
"name":"HANA_DT_BASE",
"version":"1",
"responsible":"SAP",
"vendor":"sap.com",
"version_sp":"0",
"version_patch":"8",
"ppmsID":"",
"caption":"",
"lastUpdate":1386163749544,
"sp_PPMS_ID":"",
"ach":""
},
"Commands":[
"/sap/hana/xs/dt/base/file",
"/sap/hana/xs/dt/base/workspace",
"/sap/hana/xs/dt/base/xfer/import",
"/sap/hana/xs/dt/base/metadata",
"/sap/hana/xs/dt/base/change",
"/sap/hana/xs/dt/base/info"
]
}