정검 상태 변경

PUT https://{status-domain:internal}/m1.0/status/main

Request Body

Name
Type
Description

state*

int

0 : 정상 1 : 정검중 2 : 서비스장애

info

object

state가 1인 경우에만 필요함

info:start_date

string

정검 시작 시간 (ms)

info:end_date

string

정검 종료 시간 (ms)

info:content

string

Description

{
    "return": 0,
    "message": "success",
    "value": {
        "state": 0,
        "info": {}
    }
}
curl --location --request PUT 'http://localhost:51060/m1.0/status/main' \
--header 'Content-Type: application/json' \
--data '{
    "state": 1,
    "info": {
        "start_date": "1688101200000",
        "end_date": "1688112000000",
        "content": "system check"
    }
}'

Last updated