Add or Replace Single Source Code File
PUT https://{{vaultDNS}}/api/{{version}}/code
https://developer.veevavault.com/api/23.3/#Add_Code
Note: We do not recommend using the following endpoint to deploy code as you may introduce code which breaks existing deployed code. For best practices, use the VPK Deploy method.
Add or replace a single .java
file in the currently authenticated Vault. If the given file does not already exist in the Vault, it is added. If the file already exists in the Vault, the file is updated.
Request Body
[{"name"=>"file", "value"=>nil, "datatype"=>"null"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Accept | string | ||
Content-Type | string |