Appearance
Upload Release File
Upload a release zip to storage. Returns the stored file's path/name/size plus WordPress compatibility fields lifted from the zip's readme.txt, ready to pass to Create Release.
POST /v1/products/:id/releases/uploadRequires a paid plan (free-tier products get 402).
Request
multipart/form-data:
| Field | Required | Description |
|---|---|---|
file | Yes | The release .zip (max 100 MB) |
version | Yes | Release version, e.g. 1.4.0 (used in the storage path) |
Response
json
{
"data": {
"filePath": "my-plugin/1.4.0/my-plugin-1.4.0.zip",
"fileName": "my-plugin-1.4.0.zip",
"fileSize": 1248576,
"requiresWp": "6.0",
"testedWp": "6.7",
"requiresPhp": "7.4"
}
}Example
bash
curl -X POST "https://api.packedge.dev/v1/products/prd_xxx/releases/upload" \
-H "Authorization: Bearer pk_your_api_key" \
-F "file=@./my-plugin-1.4.0.zip" \
-F "version=1.4.0"Notes
- The zip is normalized to a single top-level
{product-slug}/folder so WordPress installs into the right directory requiresWp/testedWp/requiresPhpare parsed from the zip'sreadme.txt(best-effort; empty when not declared)- Uploading alone does not create a release — follow up with Create Release
