All Products
Search
Document Center

ApsaraDB for OceanBase:DescribeTimeZones

Last Updated:Apr 29, 2024

You can call this API to query the time zones supported by an OceanBase Database tenant.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
The current API does not require request parameters

Response parameters

ParameterTypeDescriptionExample
object

The default time zone.

TimeZonesobject

The description of the time zone.

Listobject []

The list of time zones.

TimeZonestring

The operation that you want to perform.
Set the value to DescribeTimeZones.

Asia/Shanghai
Descriptionstring

Example 1

(GMT+8:00) Asia/Shanghai
Defaultstring
Asia/Shanghai
RequestIdstring

DescribeTimeZones

EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C

Examples

Sample success responses

JSONformat

{
  "TimeZones": {
    "List": [
      {
        "TimeZone": "Asia/Shanghai",
        "Description": "(GMT+8:00) Asia/Shanghai"
      }
    ],
    "Default": "Asia/Shanghai"
  },
  "RequestId": "EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C"
}

Error codes

HTTP status codeError codeError message
2014InternalErrorThe request processing has failed due to some unknown error.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history