All Products
Search
Document Center

ApsaraDB for OceanBase:DescribeTimeZones

Last Updated:Oct 23, 2024

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

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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.

Listarray<object>

The list of time zones.

Listobject

The name of the time zone.

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