From bb4c1988df8004ebd765e93a47d1158b0bbb4bc3 Mon Sep 17 00:00:00 2001 From: Steffen Rhinow <53087707+steffenrhinow@users.noreply.github.com> Date: Wed, 18 Dec 2024 16:17:47 +0100 Subject: [PATCH] Update getRootCertificatesRes.v1.json - Add pagination of the GetRootCertificates Add pagination of the GetRootCertificates --- .../responses/getRootCertificatesRes.v1.json | 28 ++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/specification/components/responses/getRootCertificatesRes.v1.json b/specification/components/responses/getRootCertificatesRes.v1.json index 14ad37f..7e666d5 100644 --- a/specification/components/responses/getRootCertificatesRes.v1.json +++ b/specification/components/responses/getRootCertificatesRes.v1.json @@ -8,7 +8,33 @@ "items": { "$ref": "../schemas/rootCertificate.v1.json" } + }, + , + "pagination": { + "type": "object", + "description": "Pagination details for the response.", + "properties": { + "page": { + "type": "integer", + "description": "The current page number." + }, + "pageSize": { + "type": "integer", + "description": "The number of items per page." + }, + "totalPages": { + "type": "integer", + "description": "The total number of pages." + }, + "totalItems": { + "type": "integer", + "description": "The total number of items." + } + }, + "required": ["page", "pageSize", "totalPages", "totalItems"] } + }, + "required": ["rootCertificateCollection", "pagination"] } -} \ No newline at end of file +}