1
0
forked from docs/doc-exports
doc-exports/docs/opengauss/api-ref/opengauss_newapi_0026.html
Ru, Li Yi d97aea4dd2 opengauss_api
Reviewed-by: Boka, Ladislav <ladislav.boka@t-systems.com>
Co-authored-by: Ru, Li Yi <liyiru7@huawei.com>
Co-committed-by: Ru, Li Yi <liyiru7@huawei.com>
2024-09-06 09:04:21 +00:00

12 KiB

Querying the Restoration Time Range

Function

This API is used to query the restoration time range of an instance. Before calling this API:

URI

Request

None

Response

  • Normal response
    Table 2 Parameter description

    Parameter

    Type

    Description

    restore_time

    Array of objects

    Restoration time ranges.

    For details, see Table 3.

    Table 3 restore_time field data structure description

    Parameter

    Type

    Description

    start_time

    Long

    Start time of the restoration time range in the UNIX timestamp format. The unit is millisecond and the time zone is UTC.

    end_time

    Long

    End time of the restoration time range in the UNIX timestamp format. The unit is millisecond and the time zone is UTC.

  • Example normal response
{
    "restore_time": [
        {
            "start_time": 1652084311000,
            "end_time": 1652092839000
        },
        {
            "start_time": 1652092847000,
            "end_time": 1652094792000
        }
    ]
}

Status Code

Error Code

For details, see Error Codes.