POST Codesign/ExportSignArchive
Exports code signing archive entries and returns them in CSV format after input filters get applied. To retrieve an unfiltered list of archive entries, use GET Codesign/ExportSignArchive.
Requirements
- Permissions: The caller must be a Master Admin, System Auditor, Code Signing Administrator, or Code Signing Auditor.
- Token scope: Codesign:Manage
Headers
- Token: The bearer access token that you received. For example, Authorization:Bearer 4MyGeneratedBearerTknz==. For more information, see Passing a bearer token in your API calls.
Parameters
Name |
Description |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ArchiveFilter |
The following keys can be passed in the The percent character
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
PageSize |
(Required) Integer specifying the number of results to be included in each page of the response. If no value is passed, the request will succeed, but no archive entries will be returned. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Page |
The page to return. Default is 1. |
Returns
For value requests, POST ExportSignArchive
returns the matching archive entries in CSV format.
Example
Request archive entries that used signtool.exe from IP 192.168.5.128
POST /vedsdk/codesign/ExportSignArchive HTTP/1.1 Host: tpp.server.url Content-Type: application/json Authorization: •••••• Content-Length: 143 { "PageSize": 100, "Page": 1, "ArchiveFilter": { "Executable": "signtool.exe", "IPAddress": "192.168.5.128" } }
Request archive entries that used the "Production" environment from the "Sample" project.
POST /vedsdk/codesign/ExportSignArchive HTTP/1.1 Host: 192.168.1.230 Content-Type: application/json Authorization: •••••• Content-Length: 157 { "PageSize": 100, "Page": 1, "ArchiveFilter": { "EnvironmentDN":"\\VED\\Code Signing\\Projects\\Sample\\Prod", "ProjectDN": "\\VED\\Code Signing\\Projects\\Sample" } }