Versions Compared

Key

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

...

ParametrRequiredDescription
archiveNo

Archive name from the request to get the list of archives (see Get archive contents).

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 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:/archiveAntiqueWhitearchiveAliceBlue.afs",
"health" : 0
},
"timestamp" : "20180907T101637.361014"
},
{
"data" : {
"archive" : "D:/archiveAntiqueWhitearchiveAliceBlue.afs",
"health" : 0
},
"timestamp" : "20180907T102726.750134"
}
]
}

wherewhere,

timestamp — the time of archive damage detection (UTC +0).