GET /v1/admin/package-resource-options
List named resources available to the current platform package catalog
Description (from the contract)
Requires packages.manage in the authenticated platform scope. No query parameters are accepted, including target_scope_id. Returns the internal UUIDs used by ProductSpec, not the numeric display IDs from the region-management API. Only this platform's regions and non-deleted line groups are returned in stable sort order. A line group's legacy region string must match exactly one current region by name or canonical UUID. A null line-group region_id means this mapping is missing or ambiguous and must not be selected. Create and update require the selected region and main/optional backup groups to exist in this platform and match the region, checked and locked inside the write transaction. Unknown legacy values remain readable but must be explicitly corrected before writing. An active reseller tenant gets the platform's regions and CNAME domains and only the platform line groups granted to it. Completed idempotent writes retain their original receipts after live authorization.
Responses
| Status | Description |
|---|---|
200 | Scoped resource options; empty arrays mean no available resources. Fields: |
400 | Stable error code; callers must render localized messages. |
401 | Stable error code; callers must render localized messages. |
403 | Stable error code; callers must render localized messages. |
500 | Stable error code; callers must render localized messages. |
503 | Stable error code; callers must render localized messages. |
What to do on failure
400Fix the parameters or body per the field list; do not retry unchanged.401Check the credential format and whether it expired or was rotated.403Check the key scopes, the owner’s current permissions and the tenant scope; never switch to a more privileged account.500Outcome unknown: read back by ID or list first, then decide whether to retry with the original Idempotency-Key.503A dependency is unavailable: retry later with the original Idempotency-Key.