Skip to content

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/inspect

Request

multipart/form-data:

FieldRequiredDescription
fileYesThe release .zip (max 100 MB)
versionNoVersion 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.txt doesn't declare them