Added Features
Get Template Asset Endpoint
A new endpoint has been added to retrieve a container template asset. This feature enables users to request specific assets within a given template, enhancing flexibility in managing cloud resources.
- Method: GET
- Endpoint:
/v2/container-templates/{templateId}/assets/{assetPath} - New Class:
GetTemplateAssetRequestfor the new request handling. - Response Classes: Several new response classes have been implemented to manage different HTTP outcomes:
GetTemplateAssetBadRequestResponseGetTemplateAssetForbiddenResponseGetTemplateAssetNotFoundResponseGetTemplateAssetDefaultResponseGetTemplateAssetInternalServerErrorResponseGetTemplateAssetServiceUnavailableResponseGetTemplateAssetTooManyRequestsResponse
Changes in Existing Classes
FileMeta Class Update
The FileMeta class has been updated to include a new property:
shortId: Added to provide a shorter identifier for files, making it easier to reference along with the existing metadata.
Constructor Update
The constructor for FileMeta has been updated to accommodate the new shortId parameter, ensuring that all instances properly initialize this new property.
With these changes, developers can take advantage of the enhanced template asset management capabilities while also benefiting from improved file identification and retrieval within their applications.