From 893fa92af40f68d03e485c2304822837eee98803 Mon Sep 17 00:00:00 2001 From: simonzhangsz Date: Fri, 13 Oct 2023 14:31:50 +0800 Subject: [PATCH] docs --- docs/05-5GC OMC restful intefaces.md | 41 ++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/docs/05-5GC OMC restful intefaces.md b/docs/05-5GC OMC restful intefaces.md index 46afdeb..6bc482e 100644 --- a/docs/05-5GC OMC restful intefaces.md +++ b/docs/05-5GC OMC restful intefaces.md @@ -1768,3 +1768,44 @@ Example: ] } ``` + +## 11 系统管理 + +### 11.1 OMC系统 + +#### 11.1.1 获取OMC时间接口 + +* Uri + + ```uri + /api/rest/systemManagement/v1/elementType/OMC/objectType/time + ``` +* Relations + OMC FE -> OMC BE +* Params + + NA +* Method + GET +* Body + NA +* Return + + ```json + // OMC time 信息 + type OMCLocalTime struct { + Timestamp int64 `json:"timestamp"` // 时间戳 (单位:毫秒) + TimeZone int `json:"timeZone"` // 本地时区偏移(单位:秒) + } + ``` + Expample: + + ```json + { + "data": + { + "timestamp": "1697101301164" + "timeZone": "28800" + } + } + ```