Download Code Signed Files
This API allows users to download code-signed files that have been digitally signed and verified, ensuring the integrity and authenticity of the downloaded content.
URL: /code-signing-download-signed-file
Type: POST
Parameters
| Param Type | Name | Description | Field Type |
|---|---|---|---|
| Header | sessionId |
Session ID received after login. | String |
| Header | username |
AppViewX login username. | String |
| Header | password |
AppViewX login password. | String |
| Payload | signId |
Sign Id received after signing code. | String |
Possible Response Message and Code
| HTTP Code | appStatusCode | Description | Response Message |
|---|---|---|---|
| 200 | null | OK | Successful |
| 400 | VALIDATION_ERROR_0004 | Payload entered is Invalid. | Input fields do not comply with the validation criteria. Please recheck the input payload::[Id is mandatory] |
| 400 | VALIDATION_ERROR_0004 | SignId entered is invalid. | Invalid 'signId |
| 403 | CODE_SIGNING_0076 | Invalid permissions. | Permissions are not there to download the signed file for the given input |
| 500 | CODE_SIGNING_0068 | SignId does not exist. | Sign Id Does not Exist. |
| 500 | CODE_SIGNING_0069 | Invalid input. | Download action can not be performed on Hash Based Signing/Failed status entry. |
| 500 | CODE_SIGNING_0014 | Unavailability of resources. | Download operation failed for the given sign id |
Sample Request/Response
Use Case
To download a code signed file using Sign Id.
Request Payload
{
Payload : {
signId: "651baff382ca812a7cbf4baa"
}
}Response
Signed File