コンテンツへスキップ

クラウドランタイムの一覧

Request

呼び出しメンバーから見えるブラウザープロファイルを、クラウドランタイムの状態と併せて一覧します。

  • 副作用:なし。読み取り専用。バックオフを入れれば安全にリトライできます。
  • ステータス値:cloudBrowserStatus は STARTING、RUNNING、CLOSED のいずれかのみです。RUNNING はブラウザーが使用可能であることを意味しません — 停止中、アーカイブ中、停止に失敗したランタイムも RUNNING として報告されます。両者は cloudBrowserArchiveStatus(PENDING、ARCHIVING、COMPLETED、FAILED)で区別でき、処理がない場合は null です。
  • 一貫性:ランタイムの解決は全件成功か全件失敗のいずれかです。ページ全体について解決できない場合、部分データを返すのではなく呼び出し自体が失敗します。
Bodyapplication/jsonrequired
uniqueIdsArray of integers, (int32), <= 100 items

Environment sequence numbers. Up to 100 items.

Example:
[ 1001, 1002 ]
envIdstring(EnvironmentId)^[1-9]\d*$

Environment ID. The request also accepts the field alias id.

Example:"1800000000000001"
envNamestring

Environment name.

Example:"marketing-01"
keywordstring

Keyword filter. Matches environment name, group name, tag name, and remark.

Example:"marketing"
groupIdstring^\d+$

Group ID. 0 means ungrouped.

Example:"0"
pageNointeger, (int64), >= 1required

Current page number, starting from 1. Default is 1.

Default:1
Example:1
pageSizeinteger, (int64), [ 1 .. 100 ]required

Number of items per page. Default is 10, maximum 100.

Default:10
Example:10
curl -i -X POST \
  http://127.0.0.1:40000/api/cloudbrowser/page \
  -H 'Content-Type: application/json' \
  -d '{
    "pageNo": 1,
    "pageSize": 10,
    "keyword": "marketing"
  }'

Responses

Success

Bodyapplication/json
codeintegerrequired

Return result code. 0 means success; other codes indicate exceptions.

Example:0
msgstring or nullrequired

Error message. Usually null on success.

Example:null
requestIdstring

Operation request ID. This field may be present when the request passes through the API gateway.

Example:"1d4f3ea968664593860b94b35d4ebf5e"
dataobject(CloudBrowserPageData)required
Response
{ "code": 0, "msg": null, "requestId": "1d4f3ea968664593860b94b35d4ebf5e", "data": { "total": "42", "current": "1", "pages": "5", "dataList": [ … ] } }