Skip to content

Retrieve Single Client Code Distribution Metadata

Retrieve metadata for a specific client code distribution, including its name, size, and details from the uploaded distribution-manifest.json file.

GET/api/{version}/uicode/distributions/{distribution_name}
NameDescription
Acceptapplication/json (default) or application/xml
NameDescription
{distribution_name}The name attribute of the client code distribution to retrieve.
curl -X GET -H "Authorization: {SESSION_ID}" \ https://myvault.veevavault.com/api/v26.1/uicode/distributions/custom_pages__c
{ "responseStatus": "SUCCESS", "data": { "name": "custom_pages__c", "checksum": "aef4acfadc4b50a0324f792e217befd3", "size": 493836 } }

The response contains the following metadata, including metadata provided in the distribution-manifest.json file:

Field NameDescription
nameThe name of the client code distribution.
checksumA unique string used to identify the distribution.
sizeThe size of the unzipped client code distribution in bytes.
pagesThe pages listed in the distribution-manifest.json file. For each page, this includes the name, file, and export values.
stylesheetsThe optional list of stylesheet paths from the distribution-manifest.json file.
importmapThe optional importmap included in the distribution-manifest.json file.