| --- |
| { |
| "title": "Be Version Info", |
| "language": "en" |
| } |
| --- |
| |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| # Be Version Info |
| |
| ## Request |
| |
| `GET /api/be_version_info` |
| |
| ## Description |
| |
| Provide BE version info |
| |
| ## Query parameters |
| |
| None |
| |
| ## Request body |
| |
| None |
| |
| ## Response |
| |
| ``` |
| { |
| "msg":"success", |
| "code":0, |
| "data":{ |
| "beVersionInfo":{ |
| "dorisBuildVersionPrefix":"doris", |
| "dorisBuildVersionMajor":0, |
| "dorisBuildVersionMinor":0, |
| "dorisBuildVersionPatch":0, |
| "dorisBuildVersionRcVersion":"trunk", |
| "dorisBuildVersion":"doris-0.0.0-trunk", |
| "dorisBuildHash":"git://4b7b503d1cb3/data/doris/doris/be/../@a04f9814fe5a09c0d9e9399fe71cc4d765f8bff1", |
| "dorisBuildShortHash":"a04f981", |
| "dorisBuildTime":"Fri, 09 Sep 2022 07:57:02 UTC", |
| "dorisBuildInfo":"root@4b7b503d1cb3" |
| } |
| }, |
| "count":0 |
| } |
| ``` |
| ## Examples |
| |
| |
| ``` |
| curl http://127.0.0.1:8040/api/be_version_info |
| |
| ``` |
| |