Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

GET http://IPaddress:port/prefix/archive/health/{HOSTNAME}/{ENDTIME}/{BEGINTIME}

Tip

{HOSTNAME}Server name.서버 이름


Info
titleNote

The ENDTIME and BEGINTIME syntax is described in NDTIME과 BEGINTIME 구문은 Get MM archive contents section 섹션에 설명되어 있습니다.


Parametr
파라미터
Required
필수
Description
설명
archiveNo
Archive name from the request to get the list of archives (see

아카이브 목록을 가져오기 위한 요청에서 아카이브 이름 (아카이브 내용 가져오기 참조).

healthNo

0 −

there is an archive damage

아카이브 손상 있음, 1 −

no archive damage.

아카이브 손상 없음


Note
titleImportant!

If the request does not contain the archive or health parameters, then the response will contain all values of these parameters.

요청에 아카이브 또는 상태 파라미터가 포함되지 않은 경우, 응답에는 이들 파라미터의 모든 값이 포함됩니다.

샘플 요청Sample request:

GET http://127.0.0.1:80/archive/health/SERVER/past/future?archive=hosts/SERVER/MultimediaStorage.AliceBlue/MultimediaStorage&health=0

Sample response샘플 응답:

Code Block
{
"events" : [
{
"data" : {
"archive" : "D:/archiveAliceBlue.afs",
"health" : 0
},
"timestamp" : "20180907T101637.361014"
},
{
"data" : {
"archive" : "D:/archiveAliceBlue.afs",
"health" : 0
},
"timestamp" : "20180907T102726.750134"
}
]
}

where여기서,

timestampthe time of archive damage detection 아카이브 손상 탐지 시간 (UTC +0).