Parsequerade / docs
In-App Purchase images (v1)
GET/legacy/purchase-images/{purchaseImageId}

Proposed · Legacy read design · Adapter not implemented

Request

Routes are relative to your connection. Use a facade API key; the service manages Apple authentication.

cURL
BASE='https://asc.example.com/v1/connections/conn_example'

curl --fail-with-body "$BASE/legacy/purchase-images/purchase_image_123" \
  -H "Authorization: Bearer $ASC_FACADE_KEY"

asc.example.com is a placeholder for your deployment. Examples use fictional IDs.

Path parameters

NameTypeDescription
purchaseImageIdRequiredstringThe selected resource’s ID.

Query parameters

NameTypeDescription
fieldsOptionalstringComma-separated attribute names to return. This selects read fields and does not expand relationships. Multiple values are comma-separated.
ValuesfileSize, fileName, sourceFileChecksum, assetToken, imageAsset, uploadOperations, state

Response

One flat object for the selected resource.

200 · application/json
{
  "id": "in_app_purchase_image_123",
  "fileSize": 184320,
  "fileName": "screenshot.png",
  "sourceFileChecksum": "source_file_checksum_example",
  "assetToken": "asset_token_example",
  "imageAsset": {
    "templateUrl": "template_url_example",
    "width": 1290,
    "height": 2796
  }
}

Illustrative response. Optional read fields may be absent or null; unknown enum values are preserved.

Response fields

NameTypeDescription
idstringApple’s resource ID. Keep this string unchanged when addressing a resource.
fileSizeintegerThe file size in bytes.
fileNamestringThe uploaded file’s name.
sourceFileChecksumstringThe checksum Apple records for the uploaded source file.
assetTokenstringThe asset token value reported by Apple for this resource.
imageAssetobjectApple’s image dimensions and URL template. The service does not download the image.
uploadOperationsobject[]Apple’s recorded upload-operation metadata. A GET does not perform these operations.
statestringThe current state reported by Apple for this resource.
ValuesAWAITING_UPLOAD, UPLOAD_COMPLETE, FAILED, PREPARE_FOR_SUBMISSION, WAITING_FOR_REVIEW, APPROVED, REJECTED
inAppPurchaseIdOptional linkagestring | nullID of the related in app purchase. Present only when Apple supplies linkage; related objects are not loaded automatically.
imageAsset fields
NameTypeDescription
templateUrlOptionalstringThe template url value reported by Apple for this resource.
widthOptionalintegerThe width value reported by Apple for this resource.
heightOptionalintegerThe height value reported by Apple for this resource.
uploadOperations fields
NameTypeDescription
methodOptionalstringThe method value reported by Apple for this resource.
urlOptionalstringThe url value reported by Apple for this resource.
lengthOptionalintegerThe length value reported by Apple for this resource.
offsetOptionalintegerThe offset value reported by Apple for this resource.
requestHeadersOptionalobject[]The request headers value reported by Apple for this resource.
uploadOperations.requestHeaders fields
NameTypeDescription
nameOptionalstringThe resource’s name. An app’s localized name is read from its app-info localization.
valueOptionalstringThe value value reported by Apple for this resource.

Behavior

  • This documents an older Apple resource contract. Its /legacy route keeps that shape separate from the current resource design; do not use it as an automatic fallback after a failed request.

Errors

HTTPTypeDescription
400invalid_queryUnsupported filter, sort, limit, or cursor.
401unauthorizedMissing or invalid facade API key.
403forbidden / upstream_forbiddenThe caller or configured Apple key cannot read this resource.
404resource_not_foundThe requested resource, parent, or exact locale is absent or outside the caller’s scope.
429rate_limitedA facade or Apple rate limit was reached. Respect Retry-After when returned.
502–504upstream errorApple authentication, response parsing, availability, or timeout failure; this is not an empty result.

Apple mapping

Upstream route and translation

The adapter calls GET /v1/inAppPurchaseImages/{id}. Read Apple’s original endpoint ↗

Flatten Apple’s attributes into each resource object. Expose supplied singleton linkage as IDs, with no automatic relationship traversal. Read access does not make these fields writable.

Facade parameterTypeDescription
fieldsqueryfields[inAppPurchaseImages]

Reviewed 2026-10-14 · OpenAPI 4.5.1