Перейти до вмісту

Get a list of browser profiles

Request

Query the browser profiles visible to the authenticated member, page by page.

Paging starts at 1. dataList is an empty array when there are no results.

Security
OpenApiBearer
Bodyapplication/jsonrequired
uniqueIdsArray of integers, (int32), <= 100 items

Profile sequence numbers. Up to 100 items.

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

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

Example:"1800000000000001"
envNamestring

Profile name.

Example:"marketing-01"
keywordstring

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

Example:"marketing"
groupIdstring^\d+$

Group ID. 0 means ungrouped.

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

Number of items per page.

Default:10
Example:10
pageNointeger, (int64), >= 1required

Current page number, starting from 1.

Default:1
Example:1
onlyMainAccountboolean

Whether to return only profiles owned by the main account.

Example:false
POST
/env/page
curl -i -X POST \
  https://api.morelogin.com/env/page \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -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(EnvPageData)required
Response
{ "code": 0, "msg": null, "requestId": "1d4f3ea968664593860b94b35d4ebf5e", "data": { "total": "1", "current": "1", "pages": "1", "dataList": [] } }