Releases/4.244.0 (#146)
* All files have been added to the repo * 4.244.0 --------- Co-authored-by: TFS MiniLab Admin <tfsmladm@microsoft.com>
This commit is contained in:
Родитель
101b2d8bb0
Коммит
31869e083e
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "azure-devops-extension-api",
|
||||
"version": "4.243.0",
|
||||
"version": "4.244.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "azure-devops-extension-api",
|
||||
"version": "4.243.0",
|
||||
"version": "4.244.0",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"whatwg-fetch": "~3.0.0"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "azure-devops-extension-api",
|
||||
"version": "4.243.0",
|
||||
"version": "4.244.0",
|
||||
"description": "REST client libraries and contracts for Azure DevOps web extension developers.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -216,7 +216,7 @@ export interface PipelineResource {
|
|||
}
|
||||
|
||||
export interface PipelineResourceParameters {
|
||||
branch: string;
|
||||
runId: number;
|
||||
version: string;
|
||||
}
|
||||
|
||||
|
|
|
@ -596,6 +596,10 @@ export interface ServiceEndpoint {
|
|||
* All other project references where the service endpoint is shared.
|
||||
*/
|
||||
serviceEndpointProjectReferences: ServiceEndpointProjectReference[];
|
||||
/**
|
||||
* Service Tree ID
|
||||
*/
|
||||
serviceManagementReference: string;
|
||||
/**
|
||||
* Gets or sets the type of the endpoint.
|
||||
*/
|
||||
|
|
|
@ -1820,6 +1820,10 @@ export interface ServiceEndpoint {
|
|||
* Gets or sets the identity reference for the readers group of the service endpoint.
|
||||
*/
|
||||
readersGroup: WebApi.IdentityRef;
|
||||
/**
|
||||
* Service Tree ID
|
||||
*/
|
||||
serviceManagementReference: string;
|
||||
/**
|
||||
* Gets or sets the type of the endpoint.
|
||||
*/
|
||||
|
|
|
@ -863,6 +863,36 @@ export class TestPlanRestClient extends RestClientBase {
|
|||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a list of deleted test plans
|
||||
*
|
||||
* @param project - Project ID or project name
|
||||
* @param continuationToken - If the list of plans returned is not complete, a continuation token to query next batch of plans is included in the response header as "x-ms-continuationtoken". Omit this parameter to get the first batch of test plans.
|
||||
*/
|
||||
public async getDeletedTestPlans(
|
||||
project: string,
|
||||
continuationToken?: string
|
||||
): Promise<WebApi.PagedList<TestPlan.TestPlan>> {
|
||||
|
||||
const queryValues: any = {
|
||||
continuationToken: continuationToken
|
||||
};
|
||||
|
||||
return this.beginRequest<Response>({
|
||||
apiVersion: "7.2-preview.1",
|
||||
routeTemplate: "{project}/_apis/testplan/recycleBin/TestPlan/{planId}",
|
||||
routeValues: {
|
||||
project: project
|
||||
},
|
||||
queryParams: queryValues,
|
||||
returnRawResponse: true
|
||||
}).then(async response => {
|
||||
const body = <WebApi.PagedList<TestPlan.TestPlan>>await response.text().then(deserializeVssJsonObject);
|
||||
body.continuationToken = response.headers.get("x-ms-continuationtoken");
|
||||
return body;
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Restores the deleted test plan
|
||||
*
|
||||
|
|
Загрузка…
Ссылка в новой задаче