--- layout: page title: "Apache Zeppelin Server REST API" description: "This page contains Apache Zeppelin Server REST API information." group: usage/rest_api --- {% include JB/setup %} # Apache Zeppelin Server REST API
## Overview Apache Zeppelin provides several REST APIs for interaction and remote activation of zeppelin functionality. All REST APIs are available starting with the following endpoint `http://[zeppelin-server]:[zeppelin-port]/api`. Note that Apache Zeppelin REST APIs receive or return JSON objects, it is recommended for you to install some JSON viewers such as [JSONView](https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc). If you work with Apache Zeppelin and find a need for an additional REST API, please [file an issue or send us an email](http://zeppelin.apache.org/community.html). ## Zeppelin Server REST API list ### Get Zeppelin version| Description | This ```GET``` method returns Zeppelin version |
| URL | ```http://[zeppelin-server]:[zeppelin-port]/api/version``` |
| Success code | 200 |
| Fail code | 500 |
| sample JSON response |
{
"status": "OK",
"message": "Zeppelin version",
"body": [
{
"version": "0.8.0",
"git-commit-id": "abc0123",
"git-timestamp": "2017-01-02 03:04:05"
}
]
}
|
| Description | This ```PUT``` method is used to update the root logger's log level of the server. |
| URL | ```http://[zeppelin-server]:[zeppelin-port]/api/log/level/ |
| Success code | 200 |
| Fail code | 406 |
| sample JSON response |
{
"status": "OK"
}
|
| sample error JSON response |
{
"status":"NOT_ACCEPTABLE",
"message":"Please check LOG level specified. Valid values: DEBUG, ERROR, FATAL, INFO, TRACE, WARN"
}
|