All Products
Search
Document Center

DataWorks:ListTableTheme

Last Updated:Oct 17, 2024

Queries a list of 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

There is currently no authorization information disclosed in the API.

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