ListProgramTypeCount

Updated at:

Retrieves the distribution of node task types.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

ProjectId

integer

Yes

The ID of the workspace.

1234

ProjectEnv

string

Yes

The workspace environment, including PROD and DEV.

Valid values:

  • PROD :

    Production environment.

  • DEV :

    Development environment.

PROD

Response elements

Element

Type

Description

Example

object

The response structure.

RequestId

string

The ID of the request. You can use the ID to locate logs and troubleshoot issues.

E6F0DBDD-5AD****

ProgramTypeAndCounts

array<object>

The types and counts of nodes.

object

Count

integer

The number of nodes.

3

ProgramType

string

The type of the node.

ODPS_SQL

Examples

Success response

JSON format

{
  "RequestId": "E6F0DBDD-5AD****",
  "ProgramTypeAndCounts": [
    {
      "Count": 3,
      "ProgramType": "ODPS_SQL"
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.