privacy_security_get
Retrieve privacy and security information for an app to support enterprise procurement reviews. Fetches live published or draft unpublished versions.
Instructions
Get privacy & security information for an app (used by enterprise procurement reviewers). Returns {commonCloud:{dataAccessAndStorage, logDetails, dataResidency, privacy, security, properties, hasRestAPIExtension, supportsConfigurableEgress}}. state=live (default) returns the published version; state=draft the unpublished draft (404 if none exists). Invalid state → HTTP 400.
📖 Spec (GET /rest/3/privacy-and-security/products/{productId}): https://developer.atlassian.com/platform/marketplace/rest/v4/api-group-privacy-and-security/#api-rest-3-privacy-and-security-products-productid-get
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | Which version to fetch: `live` (published, default) or `draft` (unpublished). Invalid → HTTP 400; `draft` → 404 if none exists. | |
| productId | Yes |