Files
List files
The organization's unexpired files, newest first. Any role.
sha256stringappstring · uuidplatformstringbundleIdstringbranchstringcommitstringstatusstringqstringlimitintegercursorstringX-Organization-IdstringobjectstringrequireddataarrayrequiredShow child attributes
idstring · uuidrequiredstatusstringrequiredappstring · uuidrequirednullableplatformstringrequirednullablefilenamestringrequiredfilesizeinteger · int64requiredsha256stringrequirednamestringrequiredbundleIdstringrequirednullableversionstringrequirednullablebuildNumberstringrequirednullableminOsVersionstringrequirednullableisSimulatorbooleanrequiredbuildobjectrequirednullableShow child attributes
branchstringcommitstringciRunUrlstring · urisourcestringrequiredorganizationstringrequireduserstringrequirednullablefailureReasonstringrequirednullablecreatedAtstring · date-timerequiredlastUsedAtstring · date-timerequirednullableexpiresAtstring · date-timerequirednextCursorstringCreate a file
Declares a file by its SHA-256. If the organization already stores that hash, the stored file is returned instead of a new one.
PUT the bytes if and only if the response contains upload. Do not branch on the status code. Then call completeFile unless the file is already ready.
| Stored file with this sha256 | Response | upload |
|---|---|---|
| none | 201, pendingUpload | yes |
pendingUpload or failed | 200, same id, reset to pendingUpload | yes, fresh URL |
processing | 200 | no |
ready | 200, expiry extended, lastUsedAt set | no |
A dedup hit keeps the first create's filename, name, build and user, and never shortens the expiry. Rate limited to 100 creates per 15 minutes per organization.
X-Organization-Idstringfilenamestringrequiredfilesizeinteger · int64requiredsha256stringrequiredexpiresIninteger · int64namestringbuildobjectShow child attributes
branchstringcommitstringciRunUrlstring · uriidstring · uuidrequiredstatusstringrequiredappstring · uuidrequirednullableplatformstringrequirednullablefilenamestringrequiredfilesizeinteger · int64requiredsha256stringrequirednamestringrequiredbundleIdstringrequirednullableversionstringrequirednullablebuildNumberstringrequirednullableminOsVersionstringrequirednullableisSimulatorbooleanrequiredbuildobjectrequirednullableShow child attributes
branchstringcommitstringciRunUrlstring · urisourcestringrequiredorganizationstringrequireduserstringrequirednullablefailureReasonstringrequirednullablecreatedAtstring · date-timerequiredlastUsedAtstring · date-timerequirednullableexpiresAtstring · date-timerequireduploadobjectShow child attributes
methodstringrequiredurlstring · urirequiredheadersobjectrequiredexpiresAtstring · date-timerequiredGet file storage usage
Stored bytes against the plan's quota, for display. The quota is not enforced yet; the only enforced limit is a safety ceiling (403 storage_quota_exceeded on create).
X-Organization-IdstringusedBytesinteger · int64requiredquotaBytesinteger · int64requirednullableGet a file
Returns a file in any status. A missing, expired or other organization's file is 404.
fileIdstring · uuidrequiredX-Organization-IdstringOne stored app binary. Immutable bytes, unique per organization by SHA-256.
idstring · uuidrequiredstatusstringrequiredappstring · uuidrequirednullableplatformstringrequirednullablefilenamestringrequiredfilesizeinteger · int64requiredsha256stringrequirednamestringrequiredbundleIdstringrequirednullableversionstringrequirednullablebuildNumberstringrequirednullableminOsVersionstringrequirednullableisSimulatorbooleanrequiredbuildobjectrequirednullableShow child attributes
branchstringcommitstringciRunUrlstring · urisourcestringrequiredorganizationstringrequireduserstringrequirednullablefailureReasonstringrequirednullablecreatedAtstring · date-timerequiredlastUsedAtstring · date-timerequirednullableexpiresAtstring · date-timerequiredUpdate a file
Changes a file's expiry or display name. The bytes are immutable.
fileIdstring · uuidrequiredX-Organization-IdstringexpiresIninteger · int64namestringOne stored app binary. Immutable bytes, unique per organization by SHA-256.
idstring · uuidrequiredstatusstringrequiredappstring · uuidrequirednullableplatformstringrequirednullablefilenamestringrequiredfilesizeinteger · int64requiredsha256stringrequirednamestringrequiredbundleIdstringrequirednullableversionstringrequirednullablebuildNumberstringrequirednullableminOsVersionstringrequirednullableisSimulatorbooleanrequiredbuildobjectrequirednullableShow child attributes
branchstringcommitstringciRunUrlstring · urisourcestringrequiredorganizationstringrequireduserstringrequirednullablefailureReasonstringrequirednullablecreatedAtstring · date-timerequiredlastUsedAtstring · date-timerequirednullableexpiresAtstring · date-timerequiredDelete a file
Deletes the file immediately: it no longer appears in lists, cannot be fetched or downloaded, and stops counting as usage. Download URLs already issued keep working until they expire.
fileIdstring · uuidrequiredX-Organization-IdstringComplete a file upload
Call after the PUT. Verifies the stored bytes against the declared size and SHA-256 and returns the file as ready or failed. Synchronous; there is nothing to poll. Idempotent: a ready or failed file is returned unchanged.
fileIdstring · uuidrequiredX-Organization-IdstringOne stored app binary. Immutable bytes, unique per organization by SHA-256.
idstring · uuidrequiredstatusstringrequiredappstring · uuidrequirednullableplatformstringrequirednullablefilenamestringrequiredfilesizeinteger · int64requiredsha256stringrequirednamestringrequiredbundleIdstringrequirednullableversionstringrequirednullablebuildNumberstringrequirednullableminOsVersionstringrequirednullableisSimulatorbooleanrequiredbuildobjectrequirednullableShow child attributes
branchstringcommitstringciRunUrlstring · urisourcestringrequiredorganizationstringrequireduserstringrequirednullablefailureReasonstringrequirednullablecreatedAtstring · date-timerequiredlastUsedAtstring · date-timerequirednullableexpiresAtstring · date-timerequiredDownload a file
Returns a presigned download URL valid for 5 minutes; it saves under the file's original filename. Any role. Does not change lastUsedAt. Returns JSON rather than redirecting, so the route itself cannot be shared as a download link.
fileIdstring · uuidrequiredX-Organization-Idstringurlstring · urirequiredexpiresAtstring · date-timerequired