Get category statistics

Prev Next

Available in Classic and VPC

Get file encoding statistics for a category.

Request

This section describes the request format. The method and URI are as follows:

Method URI
GET /api/v2/status/status-statistic

Request headers

For information about the headers common to all VOD Station APIs, see VOD Station request headers.

Request parameters

The following describes the request parameters.

Field Type Required Description
workStartTimeFrom Integer Optional Query start date and time (millisecond)
  • Unix timestamp format
workStartTimeTo Integer Optional Query end date and time (millisecond)
  • Unix timestamp format

Request example

The request example is as follows:

curl --location --request GET 'https://vodstation.apigw.ntruss.com/api/v2/status/status-statistic?workStartTimeFrom=1755590820000&workStartTimeTo=1755591000000' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'

Response

This section describes the response format.

Response body

The response body includes the following data:

Field Type Required Description
content Array - Response result
content.waiting Integer - Number of pending encoding jobs
content.running Integer - Number of encoding jobs in progress
content.complete Integer - Number of completed encoding jobs
content.failure Integer - Number of failed encoding jobs
content.canceled Integer - Number of canceled encoding jobs

Response status codes

For information about the HTTP status codes common to all VOD Station APIs, see VOD Station response status codes.

Response example

The response example is as follows:

{
    "content": {
        "waiting": 0,
        "running": 0,
        "complete": 24,
        "failure": 15,
        "canceled": 0
    }
}