DescribeAppLayouts

Updated at:

Query custom application layouts.

Operation description

QPS limit

This API supports up to 10 queries per second (QPS) per user. Exceeding this limit triggers rate limiting, which may affect your business operations. Use the API judiciously.

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

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

rtc:DescribeAppLayouts

none

*App

acs:rtc:*:{#accountId}:app/{#AppId}

None None

Request parameters

Parameter

Type

Required

Description

Example

AppId

string

Yes

The application ID. Create and query it using the console. Only a single ID is supported.

ac7N****

PageNum

integer

No

The page number. Default value: 1.

1

PageSize

integer

No

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

10

Condition

object

No

The query conditions.

LayoutId

string

No

The layout ID.

167466539798442****

Name

string

No

The layout name.

测试

Response elements

Element

Type

Description

Example

object

TotalPage

integer

The total number of pages.

1

RequestId

string

The ID of this request.

16A96B9A-F203-4EC5-8E43-CB92E68F4CD8

TotalNum

integer

The total number of entries.

10

Layouts

array<object>

The list of layouts.

array<object>

LayoutId

string

The layout ID.

167466539798442****

Name

string

The layout name.

测试

Panes

array<object>

The list of panes.

object

Width

number

The pane width, as a normalized percentage. The value range for Width is 0.0 < Width ≤ 1.0.

0.25

Height

number

The pane height, as a normalized percentage. The value range for Height is 0.0 < Height ≤ 1.0.

0.25

Y

number

The Y coordinate, as a normalized percentage. The value range for Y is 0.0 ≤ Y ≤ 1.0.

0.25

PaneId

integer

The pane ID.

0

ZOrder

integer

The Z-order. 0 is the bottom layer, 1 is above 0, and so on.

0

X

number

The X coordinate, as a normalized percentage. The value range for X is 0.0 ≤ X ≤ 1.0.

0.25

Examples

Success response

JSON format

{
  "TotalPage": 1,
  "RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CD8",
  "TotalNum": 10,
  "Layouts": [
    {
      "LayoutId": "167466539798442****",
      "Name": "测试",
      "Panes": [
        {
          "Width": 0.25,
          "Height": 0.25,
          "Y": 0.25,
          "PaneId": 0,
          "ZOrder": 0,
          "X": 0.25
        }
      ]
    }
  ]
}

Error codes

HTTP status code

Error code

Error message

Description

400 ParameterError %s.
404 NotFound %s. The requested resource does not exist

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.