Get patch list in a patch baseline

This endpoint is used to retrieve the list of patches in a patch baseline.

Leave Feedback

URL

GET https://{api-url}/api/v2/tenants/{tenantId}/patches/baselines/{baselineId}

Sample URLs

To retrieve the list of patches in a patch baseline::

https://{api-url}/api/v2/tenants/client_14/resources/patches/baselines/PBL-24d68b3c-7dc5-4104-915c-6fd212c46c61

To retrieve the list of patches in a patch baseline with pagination in a descending, alphabetical order:

https://{api-url}/api/v2/tenants/client_14/resources/patches/baselines/PBL-24d68b3c-7dc5-4104-915c-6fd212c46c61?pageNo=1&pageSize=10&isDescendingOrder=true&sortName=name

Sample response

{
	"results": [{
			"id": "PATCH-be4069ba-f432-4a02-b861-fbd826890cb3",
			"name": "Update for Windows 7 (KB3184143)",
			"externalId": "3184143",
			"severity": "Important",
			"category": "Updates - Windows 7",
			"releaseTime": "2016-10-11T00:00:00+0000",
			"type": "WINDOWS",
			"rebootRequired": true,
			"rating": {
				"rating": "TESTING"
			}
		},
		{
			"id": "PATCH-d119f423-9b5f-4685-9145-85a011ddc29d",
			"name": "Update for Windows 7 (KB3179573)",
			"externalId": "3179573",
			"severity": "Important",
			"category": "Updates - Windows 7",
			"releaseTime": "2016-09-13T00:00:00+0000",
			"type": "WINDOWS",
			"rebootRequired": true,
			"rating": {
				"rating": "TESTING"
			}
		},
		{
			"id": "PATCH-3a011c95-a03f-4a35-93f1-75f6e1fe6d63",
			"name": "Update for Windows 7 (KB3170735)",
			"externalId": "3170735",
			"severity": "Important",
			"category": "Updates - Windows 7",
			"releaseTime": "2016-07-12T00:00:00+0000",
			"type": "WINDOWS",
			"rebootRequired": true,
			"rating": {
				"rating": "TESTING"
			}
		},
		{
			"id": "PATCH-f0a474bc-008c-4569-aff9-9b1aa5134a65",
			"name": "Update for Windows 7 (KB3161102)",
			"externalId": "3161102",
			"severity": "Important",
			"category": "Updates - Windows 7",
			"releaseTime": "2016-09-13T00:00:00+0000",
			"type": "WINDOWS",
			"rebootRequired": true,
			"rating": {
				"rating": "TESTING"
			}
		},
		{
			"id": "PATCH-1ee57411-43da-42da-80db-3e26cbdf52cf",
			"name": "Update for Windows 7 (KB3147071)",
			"externalId": "3147071",
			"severity": "Important",
			"category": "Updates - Windows 7",
			"releaseTime": "2016-04-12T00:00:00+0000",
			"type": "WINDOWS",
			"rebootRequired": true,
			"rating": {
				"rating": "TESTING"
			}
		},
		{
			"id": "PATCH-a90ed74a-8283-4368-8dd2-51f982ffe082",
			"name": "Update for Windows 7 (KB3138378)",
			"externalId": "3138378",
			"severity": "Important",
			"category": "Updates - Windows 7",
			"releaseTime": "2016-05-10T00:00:00+0000",
			"type": "WINDOWS",
			"rebootRequired": true,
			"rating": {
				"rating": "TESTING"
			}
		},
		{
			"id": "PATCH-f9b5f8dd-f7ca-4a42-9558-34db7913ce39",
			"name": "Update for Windows 7 (KB3137061)",
			"externalId": "3137061",
			"severity": "Important",
			"category": "Updates - Windows 7",
			"releaseTime": "2016-04-12T00:00:00+0000",
			"type": "WINDOWS",
			"rebootRequired": true,
			"rating": {
				"rating": "TESTING"
			}
		},
		{
			"id": "PATCH-e4a948bc-4274-4cbc-9f1d-8a3d22415630",
			"name": "Update for Windows 7 (KB3133977)",
			"externalId": "3133977",
			"severity": "Important",
			"category": "Updates - Windows 7",
			"releaseTime": "2016-04-12T00:00:00+0000",
			"type": "WINDOWS",
			"rebootRequired": true,
			"rating": {
				"rating": "TESTING"
			}
		},
		{
			"id": "PATCH-5cc371f8-b82c-4aa8-9bab-ae452c7a75fe",
			"name": "Update for Windows 7 (KB3102429)",
			"externalId": "3102429",
			"severity": "Important",
			"category": "Updates - Windows 7",
			"releaseTime": "2016-01-19T00:00:00+0000",
			"type": "WINDOWS",
			"rebootRequired": true,
			"rating": {
				"rating": "TESTING"
			}
		},
		{
			"id": "PATCH-f178f950-12d4-49a4-be5e-5a8418ceb5bf",
			"name": "Update for Windows 7 (KB3080149)",
			"externalId": "3080149",
			"severity": "Important",
			"category": "Updates - Windows 7",
			"releaseTime": "2015-09-08T00:00:00+0000",
			"type": "WINDOWS",
			"rebootRequired": true,
			"rating": {
				"rating": "TESTING"
			}
		}
	],
	"totalResults": 10,
	"orderBy": "name",
	"pageNo": 1,
	"pageSize": 100,
	"totalPages": 1,
	"nextPage": false,
	"previousPageNo": 0,
	"descendingOrder": true
}