Appearance
Inspect Release File
Preview a release zip without storing anything. Parses the zip's readme.txt and returns the WordPress header fields plus the changelog entry for a given version — useful to prefill a release form before uploading.
POST /v1/products/:id/releases/inspectRequest
multipart/form-data:
| Field | Required | Description |
|---|---|---|
file | Yes | The release .zip (max 100 MB) |
version | No | Version whose changelog entry to extract from readme.txt |
Response
json
{
"data": {
"requiresWp": "6.0",
"testedWp": "6.7",
"requiresPhp": "7.4",
"releaseNotes": "* Fixed a crash on activation\n* Improved performance"
}
}Example
bash
curl -X POST "https://api.packedge.dev/v1/products/prd_xxx/releases/inspect" \
-H "Authorization: Bearer pk_your_api_key" \
-F "file=@./my-plugin-1.4.0.zip" \
-F "version=1.4.0"Notes
- Nothing is uploaded or created — this is a read-only convenience
- Fields come back empty when the zip's
readme.txtdoesn't declare them
