ListBrowserRestrictedURLs

Updated at:

Performs a paging query on the list of access restriction URLs configured for a specified browser delivery group or delivery group set.

Operation description

Invoke this operation to perform a paging query on the list of access restriction URLs (Restricted URLs) configured for a cloud browser delivery group or delivery group set to view the details of the URLs configured in the current access control policy.

You must specify either BrowserInstanceGroupId or BrowserInstanceGroupSetId, but not both. If you specify BrowserInstanceGroupId, the restricted URLs for the delivery group are queried. If you specify BrowserInstanceGroupSetId, the restricted URLs for the delivery group set are queried. Specifying both or neither returns a parameter error.

You can use Keyword to filter restricted URLs by using a case-insensitive include match. If this parameter is not specified, all restricted URLs are returned. Pagination is controlled by PageNumber and PageSize. Valid values for PageSize: 1 to 200. Default value: 200. Default value for PageNumber: 0. If the value is less than 1, the first page is returned. In the response, TotalCount indicates the total number of records that meet the filter conditions, and Data contains the records on the current page. If no data is found, an empty array is returned.

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

appstreaming:ListBrowserRestrictedURLs

list

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

BrowserInstanceGroupId

string

No

The ID of the browser delivery group. You must specify either this parameter or BrowserInstanceGroupSetId, but not both. If you specify this parameter, the restricted URLs configured for the delivery group are queried.

big-3jm9d0abc00example

BrowserInstanceGroupSetId

string

No

The ID of the browser delivery group set. You must specify either BrowserInstanceGroupSetId or BrowserInstanceGroupId, but not both.

set-3jm9d0abc00example

Keyword

string

No

The keyword used to filter access control URLs by using an include match. The match is case-insensitive for English letters. The maximum length is 1,024 characters after leading and trailing spaces are removed. If this parameter is not specified or contains only spaces, no filtering is performed. Special characters are matched literally.

example.com

PageSize

integer

No

The number of records to return on each page during a paging query. Valid values: 1 to 200. Default value: 200. If the value is less than or equal to 0 or greater than 200, a parameter error is returned.

10

PageNumber

integer

No

The page number during a paging query. Default value: 0. If the value is less than 1, such as 0, the first page is returned. If the value is less than 0, a parameter error is returned. Specify 1 or a greater value.

1

Response elements

Element

Type

Description

Example

object

The response for the paging query on the access restriction URL list, which includes the request ID, paging information, total number of records, and the list of access restriction URLs on the current page.

PageSize

integer

The actual number of entries returned per page for this query, which is the echoed value of the PageSize request parameter.

10

PageNumber

integer

The actual page number used for this query, which is the echoed value of the PageNumber request parameter.

1

Data

array<object>

The list of restricted URLs on the current page. Each record contains a restricted URL and its unique identifier. If no restricted URLs are configured under the specified conditions, an empty array is returned.

object

RestrictedURLId

string

The unique identifier of the restricted URL record.

ru-3jm9d0abc00example

Url

string

The URL address that is restricted from access.

https://www.example.com

TotalCount

integer

The total number of restricted URL records that meet the filter conditions. This value is independent of the number of records returned on the current page and can be used with PageSize to calculate the total number of pages. If no records meet the conditions, 0 is returned.

2

RequestId

string

The ID of the request, which is used to locate call records and troubleshoot issues. The example value is partially masked.

D4A13D91-****

Examples

Success response

JSON format

{
  "PageSize": 10,
  "PageNumber": 1,
  "Data": [
    {
      "RestrictedURLId": "ru-3jm9d0abc00example",
      "Url": "https://www.example.com"
    }
  ],
  "TotalCount": 2,
  "RequestId": "D4A13D91-****"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.