Microsoft.PlaywrightTesting.AuthManager (stable:2024-12-01)

2025/01/07 • 6 new methods

Accounts_Get (new)
Description :  Get details of the Azure resource mapped to an account for the given account id. Authorization required is Bearer JWT Access token provided by EntraID.
Reference :  Link ¶

⚼ Request

GET:  /accounts/{accountId}
{
api-version: string ,
accountId: string ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-client-request-id: string ,
}
,
$schema:
{
id: string ,
resourceId: string ,
name: string ,
state: enum ,
subscriptionId: string ,
subscriptionState: enum ,
tenantId: string ,
location: string ,
regionalAffinity: enum ,
scalableExecution: enum ,
reporting: enum ,
localAuth: enum ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
AccessTokens_List (new)
Description :  Lists access-tokens for the given account id. It can use OData query params like $select, $filter, $orderby, $top and $skip. The default page size is 10. Use nextLink in response to fetch more objects in the list. Authorization required is Bearer JWT Access token provided by EntraID.
Reference :  Link ¶

⚼ Request

GET:  /accounts/{accountId}/access-tokens
{
api-version: string ,
accountId: string ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-client-request-id: string ,
}
,
$schema:
{
value:
[
{
id: string ,
name: string ,
jwtToken: string ,
createdAt: string ,
expiryAt: string ,
state: enum ,
}
,
]
,
nextLink: string ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
AccessTokens_Get (new)
Description :  Gets an access-token for the account with given access-token id. Authorization required is Bearer JWT Access token provided by EntraID.
Reference :  Link ¶

⚼ Request

GET:  /accounts/{accountId}/access-tokens/{accessTokenId}
{
api-version: string ,
accountId: string ,
accessTokenId: string ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-client-request-id: string ,
}
,
$schema:
{
id: string ,
name: string ,
jwtToken: string ,
createdAt: string ,
expiryAt: string ,
state: enum ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
AccessTokens_CreateOrReplace (new)
Description :  Creates an access-token for the account with given access-token id. Authorization required is Bearer JWT Access token provided by EntraID.
Reference :  Link ¶

⚼ Request

PUT:  /accounts/{accountId}/access-tokens/{accessTokenId}
{
api-version: string ,
accountId: string ,
accessTokenId: string ,
x-ms-client-request-id: string ,
resource:
{
id: string ,
name: string ,
jwtToken: string ,
createdAt: string ,
expiryAt: string ,
state: enum ,
}
,
}

⚐ Response (200)

{
$headers:
{
x-ms-client-request-id: string ,
}
,
$schema:
{
id: string ,
name: string ,
jwtToken: string ,
createdAt: string ,
expiryAt: string ,
state: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
x-ms-client-request-id: string ,
}
,
$schema:
{
id: string ,
name: string ,
jwtToken: string ,
createdAt: string ,
expiryAt: string ,
state: enum ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
AccessTokens_Delete (new)
Description :  Deletes an access-token for the account with given access-token id. Authorization required is Bearer JWT Access token provided by EntraID.
Reference :  Link ¶

⚼ Request

DELETE:  /accounts/{accountId}/access-tokens/{accessTokenId}
{
api-version: string ,
accountId: string ,
accessTokenId: string ,
x-ms-client-request-id: string ,
}

⚐ Response (204)

{
x-ms-client-request-id: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
Accounts_GetBrowsers (new)
Description :  Gets remote browsers corresponding to given account id and redirects the client for running Playwright tests. Authorization required is Bearer JWT Access token provided by EntraID or Microsoft Playwright Testing Service.
Reference :  Link ¶

⚼ Request

GET:  /accounts/{accountId}/browsers
{
api-version: string ,
accountId: string ,
runId: string ,
os: string ,
x-ms-client-request-id: string ,
}

⚐ Response (302)

{
location: string ,
x-ms-client-request-id: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}