|
73 | 73 | "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$", |
74 | 74 | "type": "string" |
75 | 75 | } |
| 76 | + }, |
| 77 | + "dateStart": { |
| 78 | + "description": "Date string to narrow records selection to those created on or after that date.", |
| 79 | + "in": "query", |
| 80 | + "name": "dateStart", |
| 81 | + "required": false, |
| 82 | + "schema": { |
| 83 | + "example": "2025-01-01T00:00:00Z", |
| 84 | + "format": "date-time", |
| 85 | + "type": "string" |
| 86 | + } |
| 87 | + }, |
| 88 | + "dateEnd": { |
| 89 | + "description": "Date string to narrow records selection to those created before or on that date.", |
| 90 | + "in": "query", |
| 91 | + "name": "dateEnd", |
| 92 | + "required": false, |
| 93 | + "schema": { |
| 94 | + "example": "2025-02-05T23:59:59Z", |
| 95 | + "format": "date-time", |
| 96 | + "type": "string" |
| 97 | + } |
76 | 98 | } |
77 | 99 | }, |
78 | 100 | "responses": { |
|
891 | 913 | }, |
892 | 914 | "description": "Collects data from the various SHI Lab products and makes it available in a standardized way.", |
893 | 915 | "title": "SHI Data Gateway", |
894 | | - "version": "2.1.0" |
| 916 | + "version": "2.1.1" |
895 | 917 | }, |
896 | 918 | "openapi": "3.0.0", |
897 | 919 | "paths": { |
|
1077 | 1099 | }, |
1078 | 1100 | "/Api/LicenseReport/Correlation": { |
1079 | 1101 | "get": { |
1080 | | - "description": "Retrieves the list of correlation records for the authenticated tenant. Correlation records store the metadata for a specific license report.\n\nThis endpoint requires the `LicenseReport.Read`, `LicenseReport.Read.All`, `LicenseReport.ReadWrite`, or `LicenseReport.ReadWrite.All` scope (permission).", |
| 1102 | + "description": "Retrieves the list of correlation records for the authenticated tenant. Can use filters targeting creation date to limit results. Correlation records store the metadata for a specific license report.\n\nThis endpoint requires the `LicenseReport.Read`, `LicenseReport.Read.All`, `LicenseReport.ReadWrite`, or `LicenseReport.ReadWrite.All` scope (permission).", |
1081 | 1103 | "operationId": "/Api/LicenseReport/Correlation/Get", |
| 1104 | + "parameters": [ |
| 1105 | + { |
| 1106 | + "$ref": "#/components/parameters/dateStart" |
| 1107 | + }, |
| 1108 | + { |
| 1109 | + "$ref": "#/components/parameters/dateEnd" |
| 1110 | + } |
| 1111 | + ], |
1082 | 1112 | "responses": { |
1083 | 1113 | "200": { |
1084 | 1114 | "content": { |
|
1133 | 1163 | }, |
1134 | 1164 | "/Api/LicenseReport/Correlation/Tenant/{tenantId}": { |
1135 | 1165 | "get": { |
1136 | | - "description": "Retrieves the list of correlation records for the specified tenant. Correlation records store the metadata for a specific license report.\n\nThis endpoint requires the `LicenseReport.Read.All`, or `LicenseReport.ReadWrite.All` scope (permission). This endpoint is also only accessible form the `SHI` and `SHI Lab` tenants. End user access is restricted.", |
| 1166 | + "description": "Retrieves the list of correlation records for the specified tenant. Can use filters targeting creation date to limit results. Correlation records store the metadata for a specific license report.\n\nThis endpoint requires the `LicenseReport.Read.All`, or `LicenseReport.ReadWrite.All` scope (permission). This endpoint is also only accessible form the `SHI` and `SHI Lab` tenants. End user access is restricted.", |
1137 | 1167 | "operationId": "/Api/LicenseReport/Correlation/Tenant/:tenantId/Get", |
1138 | 1168 | "parameters": [ |
1139 | 1169 | { |
1140 | 1170 | "$ref": "#/components/parameters/tenantId" |
| 1171 | + }, |
| 1172 | + { |
| 1173 | + "$ref": "#/components/parameters/dateStart" |
| 1174 | + }, |
| 1175 | + { |
| 1176 | + "$ref": "#/components/parameters/dateEnd" |
1141 | 1177 | } |
1142 | 1178 | ], |
1143 | 1179 | "responses": { |
|
0 commit comments