POST Codesign/EnumerateApplications

Returns information about tools that are used for signing applications.

Requirements

  • Permissions:  None.
  • Token scope:  Codesign

Headers

  • Content type: Content-Type:application/json.

  • 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

Input parameters

Name

Description

Filter

(Optional) The partial tool name and optional trailing asterisk (*) wild card. For example, Powershell*.

Returns

:

Response description

Name

Description

HTTP 200

For valid requests, this call returns a HTTP 200 message and the following data in the message body:

  • Applications: The array of Application objects. The attributes that appear depend on the application settings.
  • Error: Appears only when Success is false. An error message that accompanies the Result. Check your payload input values.

  • Result: The Result code of this API call. For more information, see Sign Result Codes.

  • Success: The result of this API call: A value of false indicates the request failed due to an Error. Otherwise, true.

HTTP 400

For invalid requests, this call returns HTTP 400 Bad Request and the following data in the message body:

  • error: The reason for the error.
  • error_description: If available, additional information about how to retry the request.

Example: Show Powershell signing tools

Request

POST https://codesign.venafi.example/vedsdk/Codesign/EnumerateApplications
Authorization:Bearer 4MyGeneratedBearerTknz==
{
   "Filter": "Powershell*"
}
        

Response

HTTP/1.1 200 OK
{
   "Applications":[
      {
         "Dn":"\\VED\\Code Signing\\Signing Applications\\Powershell
	 - x64",
         "Guid":"{63942a81-e1b3-46a0-a9e3-51d52bcdac21}",
         "Id":407,
         "Location":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"
      },
      {
         "Dn":"\\VED\\Code Signing\\Signing Applications\\Powershell
	 - x86",
         "Guid":"{75405a5f-dad1-4267-9b90-682f60ca7776}",
         "Id":408,
         "Location":"C:\\Windows\\SysWOW64\\WindowsPowerShell\\v1.0\\powershell.exe"
      }
   ],
   "Result":1,
   "Success":true
}