Go to documentation repository
Previous page Next page
GET http://IPaddress:port/prefix/archive/health/{HOSTNAME}/{ENDTIME}/{BEGINTIME}
{HOSTNAME} − 서버 이름
Note
NDTIME과 BEGINTIME 구문은 Get MM archive contents 섹션에 설명되어 있습니다.
파라미터 | 필수 | 설명 |
---|---|---|
archive | No | 아카이브 목록을 가져오기 위한 요청에서 아카이브 이름 (아카이브 내용 가져오기 참조). |
health | No | 0 − 아카이브 손상 있음, 1 − 아카이브 손상 없음 |
Important!
요청에 아카이브 또는 상태 파라미터가 포함되지 않은 경우, 응답에는 이들 파라미터의 모든 값이 포함됩니다.
샘플 요청:
GET http://127.0.0.1:80/archive/health/SERVER/past/future?archive=hosts/SERVER/MultimediaStorage.AliceBlue/MultimediaStorage&health=0
샘플 응답:
{ "events" : [ { "data" : { "archive" : "D:/archiveAliceBlue.afs", "health" : 0 }, "timestamp" : "20180907T101637.361014" }, { "data" : { "archive" : "D:/archiveAliceBlue.afs", "health" : 0 }, "timestamp" : "20180907T102726.750134" } ] }
여기서,
timestamp − 아카이브 손상 탐지 시간 (UTC +0)