Package

WARNING: This information is part of a limited availability release. Portions of this API may be subject to changes and improvements over time. Fields marked deprecated may be removed in the future and their use is discouraged. For more information, see our product and feature lifecycle descriptions.

Compute@Edge is a computation platform capable of running custom binary packages that you compile on your own systems and upload to Fastly. These packages are associated with a service version and are deployed to Fastly's edge network.

Data model

metadataobjectPackage metadata that has been extracted from the uploaded package.
created_atstringDate and time in ISO 8601 format.
deleted_atstringDate and time in ISO 8601 format.
idstringAlphanumeric string identifying the package.
service_idstringAlphanumeric string identifying the service.
updated_atstringDate and time in ISO 8601 format.
versionintegerInteger identifying a service version.

Metadata model

Package metadata that has been extracted from the uploaded package.

authorsarrayA list of package authors' email addresses.
descriptionstringDescription of the Compute@Edge package.
hashsumstringHash of the Compute@Edge package.
languagestringThe language of the Compute@Edge package.
namestringName of the Compute@Edge package.
sizeintegerSize of the Compute@Edge package in bytes.

Package upload model

packagestringThe content of the Wasm binary package.

Endpoints

Get details of the service's Compute@Edge package

GET/service/service_id/version/version_id/package

Upload a Compute@Edge package

PUT/service/service_id/version/version_id/package