Versions Compared

Key

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

...

아카이브 깊이

GET http://IP address:port/prefix/archive/statistics/depth/{VIDEOSOURCEID}to get the information about the archive depth—아카이브 깊이에 대한 정보를 가져옵니다.

Tip

{VIDEOSOURCEID}three-component source endpoint ID (see —세 가지 구성 요소로 된 소스 엔드포인트 ID (비디오 카메라 목록 및 정보 가져오기 참조). For instance예를 들어, "SERVER1/DeviceIpint.3/SourceEndpoint.video:0:0".


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

요청에서 아카이브 목록을 가져오는 데 사용된 아카이브의 이름 (아카이브 내용 가져오기 참조).

If not specified, the default archive is used

지정되지 않으면 기본 아카이브가 사용됩니다.

thresholdNo

Maximum duration of the interval between records in the archive. If the interval between records exceeds the value of the threshold parameter, then the records will be considered split and a new interval will be formed. The threshold parameter is set in days, the default value is 1 day

아카이브에 기록된 레코드 간의 최대 간격 기간. 레코드 간의 간격이 임계값(threshold) 파라미터 값을 초과하면 레코드는 분리된 것으로 간주되며 새 간격이 형성됩니다. 임계값(threshold) 파라미터는 일(day) 단위로 설정되며, 기본값은 1일입니다.

샘플 요청 Sample request 1:

GET http://127.0.0.1:80/archive/statistics/depth/SERVER1/DeviceIpint.23/SourceEndpoint.video:0:0

Sample response샘플 응답:

Code Block
{
  "start": "20160823T141333.778000"
  ,"end": "20160824T065142"
}

Sample request 샘플 요청 2:

GET http://127.0.0.1:80/archive/statistics/depth/SERVER1/DeviceIpint.1/SourceEndpoint.video:0:0?archive=hosts/SERVER1/MultimediaStorage.AliceBlue/MultimediaStorage

Sample response샘플 응답:

Code Block
{
  "start": "20210910T070448.179000"
  ,"end": "20210910T072838"
}


Parameter파라미터Description설명
startInterval start간격 의 시작 시간
endInterval end간격의 끝 시간

샘플 요청 Sample request 3:

GET http://127.0.0.1:80/archive/statistics/depth/SERVER1/DeviceIpint.11/SourceEndpoint.video:0:1?threshold=2&archive=hosts%2FSERVER1%2FMultimediaStorage.AliceBlue%2FMultimediaStorage&bundle=com.inaxsys.arkiv

...

Code Block
{
  "start": "20230506T125443.056000"
  ,"end": "20230804T065741.643000"
}

...

특정 카메라 아카이브의 녹화 용량

GET http://IP address:port/prefix/archive/statistics/capacity/{VIDEOSOURCEID}/{ENDTIME}/{BEGINTIME}to get the information about the recording capacity to specific camera archive starting at BEGINTIME and ending at ENDTIME—BEGINTIME에서 ENDTIME까지 특정 카메라 아카이브의 녹화 용량에 대한 정보를 가져옵니다.

Info
titleNote

The ENDTIME and BEGINTIME syntax is described in ENDTIME과 BEGINTIME 구문은 아카이브 내용 가져오기에서 설명된 대로입니다.


Parameter파라미터Required필수Description설명
archiveNo

The name of the archive from the request to get the list of the archives (see GET 요청을 통해 아카이브 목록을 가져올 때 사용된 아카이브 이름 (아카이브 내용 가져오기 참조). If not specified, the default archive is used지정하지 않으면 기본 아카이브가 사용됩니다.

샘플 요청Sample request:

GET http://127.0.0.1:80/archive/statistics/capacity/SERVER1/DeviceIpint.23/SourceEndpoint.video:0:0/past/future?archive=hosts/SERVER1/MultimediaStorage.AntiqueWhite/MultimediaStorage

Sample response샘플 응답:

Code Block
{
  "size": 520093696
  ,"duration": 32345
}


Parameter파라미터Description설명

size

지정된 기간 내 아카이브 크기 (바이트 단위)

duration

지정된 기간 내 아카이브 지속 시간 (초 단위)

Archive size (in bytes) within the specified period

duration

Archive duration (in seconds) within the specified period

Note
titleAttention!

Since calculating the exact value is a high-runner process, the value is calculated approximately, and the margin of error may be a few percent정확한 값을 계산하는 것이 고성능 프로세스이므로 값은 대략적으로 계산되며 오차 범위는 몇 퍼센트일 수 있습니다.