uploads

Get an upload

get/v1/apps/uploads/{id}

Request

  • Base URL: https://phonebox.dev
  • URL: https://phonebox.dev/v1/apps/uploads/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Query parameters

wait'ready'

ready: wait until the upload is processed, or has failed.

timeoutinteger

Response

The upload. With wait=ready, long-polls up to timeout seconds while it is processing, and answers at once in any other status. Poll again only while it is processing.

object'upload' required
idstring required
status'awaiting_file' | 'processing' | 'ready' | 'invalid_apk' | 'too_large' | 'storage_full' | 'failed' | 'duplicate' | 'deleted' required
packagestring nullable required

The package the APK's manifest declares, once read.

version_codeinteger nullable required
version_namestring nullable required
min_sdkinteger nullable required
size_bytesinteger nullable required
sha256string nullable required

The file's SHA-256, in hex.

created_atstring date-time required

ISO 8601 timestamp (UTC)

expires_atstring date-time required

When Phonebox deletes the upload: 7 days after its last install, or its creation if never installed; an hour after creation while it waits for its file.

Changes

No recorded changes to this operation across all 1 revision of this API.