All Products
Search
Document Center

DataWorks:ListTableTheme

Last Updated:Jan 08, 2026

Lists table themes. This operation will be replaced soon. We recommend that you do not call this operation.

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

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
dataworks:*get
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
ProjectIdlongYes

The DataWorks workspace ID.

123
ParentIdlongNo

The ID of the parent table theme.

121
PageNumintegerNo

The page number.

1
PageSizeintegerNo

The number of entries per page. Default value: 10. Maximum value: 100.

10

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

HttpStatusCodeinteger

The HTTP status code.

200
ErrorMessagestring

The error message.

The specified parameters are invalid.
RequestIdstring

The request ID.

abcde
Successboolean

Indicates whether the request was successful.

true
ErrorCodestring

The error code.

1031203110005
Dataobject

The returned result.

TotalCountlong

The total number of entries returned.

10
ThemeListarray<object>

The list of table levels.

ThemeListobject
CreateTimeStamplong

The time when the table level was created.

123432343243
ParentIdlong

The ancestor node ID.

122
ThemeIdlong

The table theme ID.

123
ProjectIdlong

The DataWorks workspace ID.

123
Namestring

The name of the table level.

test
Levelinteger

The level of the table folder. Valid values: 1 and 2. The value 1 indicates the first level. The value 2 indicates the second level.

1
Creatorstring

The creator of the table level.

123455

Examples

Sample success responses

JSONformat

{
  "HttpStatusCode": 200,
  "ErrorMessage": "The specified parameters are invalid.",
  "RequestId": "abcde",
  "Success": true,
  "ErrorCode": 1031203110005,
  "Data": {
    "TotalCount": 10,
    "ThemeList": [
      {
        "CreateTimeStamp": 123432343243,
        "ParentId": 122,
        "ThemeId": 123,
        "ProjectId": 123,
        "Name": "test",
        "Level": 1,
        "Creator": 123455
      }
    ]
  }
}

Error codes

HTTP status codeError codeError messageDescription
403Forbidden.AccessAccess is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition.No permission, please authorize
429Throttling.ApiThe request for this resource has exceeded your available limit.-
429Throttling.Api.RiskThe request for this resource has exceeded your daily available limit.-
429Throttling.SystemThe DataWorks system is busy. Try again later.-
429Throttling.UserYour request is too frequent. Try again later.-
500InternalError.SystemAn internal system error occurred. Try again later.-
500InternalError.UserId.MissingAn internal system error occurred. Try again later.-

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

Change history

Change timeSummary of changesOperation
No change history