Current documentation. Version and compatibility notes.

Build and artifact Upload API reference

Register builds and stream artifacts, icons and matching symbols with an app-scoped CI upload credential.

Workflow guide · Download OpenAPI JSON

API origin
https://upload.appportal.io
API version
v1
Reference source
8bda8e8302d4ea5bd005ef1132f7267e82e6337c
Download SHA-256
738113eafa84eb0718e14c8a7cd8a510434c0d3603fe3c77b51ab2619f2a62f6

Authentication

uploadCredential
CI/upload credential of kind Upload with ReleaseUpload permission. Account/app and optional environment derive from Identity validation; SDK, bearer, internal-service and server credentials are not substitutes. No browser cookie or CSRF credential applies.

X-AppPortal-Upload-Key (header)

Credentials stay with their intended audience. A browser session, SDK key, upload key and Automation credential grant different access.

Operations

GET/v1/builds

List registered builds

Compatibility array for a complete credential-scoped collection. limit defaults to 100 and must be 1–100. Overflow returns HTTP409 pagination_required; use /v1/builds/page instead of silently truncating. No authoritative total is supplied.

Access: uploadCredential

Parameters

environment (query, optional)
Optional environment; cannot contradict an environment-bound upload credential.
{
  "type": "string"
}
limit (query, optional)
Maximum complete-array size; overflow requires the paged resource.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 100
}

Responses

200
Complete registered builds in the authorized scope, ordered by update time and id descending.
{
  "application/json": {
    "schema": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/BuildRegistrationRecord"
      }
    }
  }
}
400
Malformed/binding input may be bodyless; domain validation returns the existing native JSON error.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/UploadNativeError"
    }
  },
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/UploadAdmissionProblem"
    }
  }
}
401
Missing, invalid, expired, wrong-kind or insufficient upload credential; no response body is declared.
409
Complete-array limit exceeded: pagination_required. Use /v1/builds/page.
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/UploadAdmissionProblem"
    }
  }
}
423
Current account operational policy denies IssueArtifact.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TenantOperationDeniedResponse"
    }
  }
}
429
Optional technical request-admission policy. Retry after the indicated seconds; this is not a billing-period reset or release-publication permission.

Response headers

{
  "Retry-After": {
    "schema": {
      "type": "integer",
      "minimum": 1,
      "maximum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "const": "no-store"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/UploadAdmissionProblem"
    }
  }
}
503
Policy authority, optional request admission, symbol storage or a retained-object operation is unavailable. Inspect Content-Type and the actual error; retry does not authorize changed upload bytes.
{
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/TenantOperationDeniedResponse"
        },
        {
          "$ref": "#/components/schemas/UploadNativeError"
        },
        {
          "$ref": "#/components/schemas/UploadStorageBusy"
        }
      ]
    }
  },
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/UploadAdmissionProblem"
    }
  }
}

Link to this operation

POST/v1/builds

Register or update one build

Registration does not require an installable artifact. The existing build identity is idempotent; a replay may update its metadata. This is not a release-publication operation.

Access: uploadCredential

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/BuildRegistrationRequest"
      }
    }
  }
}

Responses

200
Existing build registration updated.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/BuildRegistrationResponse"
    }
  }
}
201
New build registration created.

Response headers

{
  "Location": {
    "description": "/v1/builds/{buildId}",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/BuildRegistrationResponse"
    }
  }
}
400
Malformed/binding input may be bodyless; domain validation returns the existing native JSON error.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/UploadNativeError"
    }
  }
}
401
Missing, invalid, expired, wrong-kind or insufficient upload credential; no response body is declared.
423
Current account operational policy denies IssueArtifact.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TenantOperationDeniedResponse"
    }
  }
}
429
Optional technical request-admission policy. Retry after the indicated seconds; this is not a billing-period reset or release-publication permission.

Response headers

{
  "Retry-After": {
    "schema": {
      "type": "integer",
      "minimum": 1,
      "maximum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "const": "no-store"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/UploadAdmissionProblem"
    }
  }
}
503
Policy authority, optional request admission, symbol storage or a retained-object operation is unavailable. Inspect Content-Type and the actual error; retry does not authorize changed upload bytes.
{
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/TenantOperationDeniedResponse"
        },
        {
          "$ref": "#/components/schemas/UploadNativeError"
        },
        {
          "$ref": "#/components/schemas/UploadStorageBusy"
        }
      ]
    }
  },
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/UploadAdmissionProblem"
    }
  }
}

Link to this operation

GET/v1/builds/{buildId}

Read one registered build

The credential must own the build's account/app and match its environment when bound.

Access: uploadCredential

Parameters

buildId (path, required)
Opaque registered build identifier in the credential's account/app scope.
{
  "type": "string"
}

Responses

200
Registered build.

Response headers

{
  "X-AppPortal-Symbol-Resume": {
    "description": "Present when this credential has a stable key ID and the upload host supports sequential symbol resume.",
    "schema": {
      "const": "sequential-v1"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/BuildRegistrationRecord"
    }
  }
}
400
Malformed/binding input may be bodyless; domain validation returns the existing native JSON error.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/UploadNativeError"
    }
  }
}
401
Missing, invalid, expired, wrong-kind or insufficient upload credential; no response body is declared.
404
Build absent or outside the credential's environment scope.
423
Current account operational policy denies IssueArtifact.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TenantOperationDeniedResponse"
    }
  }
}
429
Optional technical request-admission policy. Retry after the indicated seconds; this is not a billing-period reset or release-publication permission.

Response headers

{
  "Retry-After": {
    "schema": {
      "type": "integer",
      "minimum": 1,
      "maximum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "const": "no-store"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/UploadAdmissionProblem"
    }
  }
}
503
Policy authority, optional request admission, symbol storage or a retained-object operation is unavailable. Inspect Content-Type and the actual error; retry does not authorize changed upload bytes.
{
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/TenantOperationDeniedResponse"
        },
        {
          "$ref": "#/components/schemas/UploadNativeError"
        },
        {
          "$ref": "#/components/schemas/UploadStorageBusy"
        }
      ]
    }
  },
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/UploadAdmissionProblem"
    }
  }
}

Link to this operation

PUT/v1/builds/{buildId}/icon

Upload a registered build's icon

A build can have an icon before an artifact exists. Optional fileName is normalized to its leaf name, default app-icon. Content-Type defaults to application/octet-stream. A retired storage generation returns retryAction:retry-upload; retry this same icon PUT.

Access: uploadCredential

Maximum request body: 10,485,760 bytes.

Parameters

buildId (path, required)
Opaque registered build identifier in the credential's account/app scope.
{
  "type": "string"
}
fileName (query, optional)
Optional icon filename; only its leaf name is used.
{
  "type": "string"
}

Request body

{
  "required": true,
  "description": "Raw icon bytes, bounded for both declared-length and streamed bodies. No multipart envelope is used. The handler accepts the supplied Content-Type without a general media-type allowlist; an absent Content-Type uses its documented default.",
  "content": {
    "application/octet-stream": {
      "schema": {
        "type": "string",
        "format": "binary"
      }
    },
    "*/*": {
      "schema": {
        "type": "string",
        "format": "binary"
      }
    }
  }
}

Responses

200
Updated build including icon storage metadata.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/BuildRegistrationRecord"
    }
  }
}
400
Malformed/binding input may be bodyless; domain validation returns the existing native JSON error.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/UploadNativeError"
    }
  }
}
401
Missing, invalid, expired, wrong-kind or insufficient upload credential; no response body is declared.
404
Build absent or outside the credential's environment scope.
409
Content, retained-object or storage-generation conflict. Preserve the original bytes. storage_generation_retired uses retryAction:register-new-upload except build icons, which use retry-upload.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/UploadNativeError"
    }
  }
}
413
Declared or streamed body exceeds its bound. The outer length/stream check is bodyless; an inspector may return a native error body.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/UploadNativeError"
    }
  }
}
423
Current account operational policy denies IssueArtifact.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TenantOperationDeniedResponse"
    }
  }
}
429
Optional technical request-admission policy. Retry after the indicated seconds; this is not a billing-period reset or release-publication permission.

Response headers

{
  "Retry-After": {
    "schema": {
      "type": "integer",
      "minimum": 1,
      "maximum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "const": "no-store"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/UploadAdmissionProblem"
    }
  }
}
503
Policy authority, optional request admission, symbol storage or a retained-object operation is unavailable. Inspect Content-Type and the actual error; retry does not authorize changed upload bytes.
{
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/TenantOperationDeniedResponse"
        },
        {
          "$ref": "#/components/schemas/UploadNativeError"
        },
        {
          "$ref": "#/components/schemas/UploadStorageBusy"
        }
      ]
    }
  },
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/UploadAdmissionProblem"
    }
  }
}

Link to this operation

PUT/v1/builds/{buildId}/metrics

Set whether a build is excluded from metrics

Changes the registered build's metrics policy; it does not remove collected telemetry or publish an artifact.

Access: uploadCredential

Parameters

buildId (path, required)
Opaque registered build identifier in the credential's account/app scope.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/UpdateBuildMetricsRequest"
      }
    }
  }
}

Responses

200
Updated registered build.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/BuildRegistrationRecord"
    }
  }
}
400
Malformed/binding input may be bodyless; domain validation returns the existing native JSON error.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/UploadNativeError"
    }
  }
}
401
Missing, invalid, expired, wrong-kind or insufficient upload credential; no response body is declared.
404
Build absent or outside the credential's environment scope.
423
Current account operational policy denies IssueArtifact.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TenantOperationDeniedResponse"
    }
  }
}
429
Optional technical request-admission policy. Retry after the indicated seconds; this is not a billing-period reset or release-publication permission.

Response headers

{
  "Retry-After": {
    "schema": {
      "type": "integer",
      "minimum": 1,
      "maximum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "const": "no-store"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/UploadAdmissionProblem"
    }
  }
}
503
Policy authority, optional request admission, symbol storage or a retained-object operation is unavailable. Inspect Content-Type and the actual error; retry does not authorize changed upload bytes.
{
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/TenantOperationDeniedResponse"
        },
        {
          "$ref": "#/components/schemas/UploadNativeError"
        },
        {
          "$ref": "#/components/schemas/UploadStorageBusy"
        }
      ]
    }
  },
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/UploadAdmissionProblem"
    }
  }
}

Link to this operation

PUT/v1/builds/{buildId}/symbols/{kind}

Upload symbols for a registered build

A build can receive symbols before an installable artifact exists. Supported kind aliases are dsym; proguard-map/proguard/mapping; pdb; managed-assembly; native-elf; breakpad/sym. kind is case-insensitive after trimming. fileName defaults from kind and uses only its leaf name; debugId is normalized. Symbol identity, platform and version come from the registered build. To resume, send one contiguous range at a time, starting at offset zero. Keep the original key, whole-file hash and upload metadata on retries. Follow the confirmed Upload-Offset. Omit Content-Encoding for resumed requests.

Access: uploadCredential

Maximum request body: 524,288,000 bytes.

Parameters

buildId (path, required)
Opaque registered build identifier in the credential's account/app scope.
{
  "type": "string"
}
kind (path, required)
Symbol kind or supported alias.
{
  "type": "string"
}
fileName (query, optional)
Optional symbol filename; only its leaf name is used on the build route.
{
  "type": "string"
}
debugId (query, optional)
Required for verified Apple dSYM (a nonempty hyphenated UUID) and verified R8 (the mapping SHA-256). Optional correlation for ordinary symbols.
{
  "type": "string"
}
profile (query, optional)
Use native-elf-debug-v1 for native-elf, managed-release-v1 for pdb or managed-assembly, apple-dsym-v1 for verified dsym, and java-r8-map-v1 for a verified Android mapping.
{
  "type": "string"
}
configuration (query, optional)
Inspector paths require Release (case-insensitive). This declaration is not build attestation.
{
  "type": "string"
}
gnuBuildId (query, optional)
Native ELF requires an even-length hexadecimal GNU build ID of 2–128 characters matching inspected content.
{
  "type": "string"
}
architecture (query, optional)
Native ELF requires x86_64 or arm64. Verified Apple dSYM requires arm64, arm64e, x86_64, or x86_64h. Do not provide this for verified R8.
{
  "type": "string"
}
Content-Range (header, optional)
Required for resume. Use bytes start-end/total, with inclusive positions and start aligned to 8388608 bytes. An abort uses bytes */total. Upload total is capped at the lower of the route's configured or profile-specific limit and 524288000 bytes.
{
  "type": "string",
  "maxLength": 80,
  "pattern": "^bytes (?:[0-9]+-[0-9]+|\\*)/[1-9][0-9]*$"
}
X-AppPortal-Symbol-SHA256 (header, optional)
Required for resume. Lowercase SHA-256 of the complete file, including for abort.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$"
}
Idempotency-Key (header, optional)
Required for resume. Use one nonblank key without leading or trailing whitespace or control characters. Keep it for the same upload and use a new key for different content.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}
X-AppPortal-Symbol-Action (header, optional)
Optional. Abort an incomplete upload using the original key, hash, upload metadata, and total length. Send no bytes.
{
  "const": "abort"
}

Request body

{
  "required": false,
  "description": "Raw symbol bytes, not multipart. The total size is limited by DownloadApi:MaxArtifactBytes and any lower profile ceiling. The ceilings are 134217728 bytes for native ELF, 134217728 for managed, 134217728 for verified Apple dSYM, and 33554432 for verified R8. Content-Type defaults from the symbol kind. Content-Encoding must be absent for native ELF, verified Apple dSYM and verified R8. The handler accepts the supplied Content-Type without a general media-type allowlist; an absent Content-Type uses its documented default. A resumed chunk is at most 8388608 bytes. All chunks except the final chunk have that size. A body is required for upload. An abort has an empty body.",
  "content": {
    "application/octet-stream": {
      "schema": {
        "type": "string",
        "format": "binary"
      }
    },
    "*/*": {
      "schema": {
        "type": "string",
        "format": "binary"
      }
    }
  }
}

Responses

200
Completed symbol metadata, or an aborted upload's progress record.

Response headers

{
  "X-AppPortal-Symbol-Upload-Id": {
    "description": "Opaque upload ID, present on successful resume requests.",
    "schema": {
      "type": "string",
      "pattern": "^symbol_resume_[0-9a-f]{64}$"
    }
  },
  "Upload-Offset": {
    "description": "Confirmed contiguous byte count. Returned for resumed progress, completion, and abort.",
    "schema": {
      "type": "integer",
      "minimum": 0
    }
  },
  "X-AppPortal-Symbol-SHA256": {
    "description": "Verified whole-file SHA-256, present only upon completed resume or replay of that completion.",
    "schema": {
      "type": "string",
      "pattern": "^[0-9a-f]{64}$"
    }
  }
}
{
  "application/json": {
    "schema": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/SymbolArtifactRecord"
        },
        {
          "$ref": "#/components/schemas/SymbolUploadResumeProgress"
        }
      ]
    }
  }
}
202
Chunk recorded or replayed. Continue at Upload-Offset. The symbol has not been accepted as complete.

Response headers

{
  "X-AppPortal-Symbol-Upload-Id": {
    "description": "Opaque upload ID, present on successful resume requests.",
    "schema": {
      "type": "string",
      "pattern": "^symbol_resume_[0-9a-f]{64}$"
    }
  },
  "Upload-Offset": {
    "description": "Confirmed contiguous byte count. Returned for resumed progress, completion, and abort.",
    "schema": {
      "type": "integer",
      "minimum": 0
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SymbolUploadResumeProgress"
    }
  }
}
400
Malformed/binding input may be bodyless; domain validation returns the existing native JSON error.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/UploadNativeError"
    }
  }
}
401
Missing, invalid, expired, wrong-kind or insufficient upload credential; no response body is declared.
404
Build absent or outside the credential's environment scope.
409
Content, retained-object, or storage-generation conflict. For resume, a changed declaration, changed bytes, or a gap in the sequence also conflict. Preserve the original bytes and use the indicated retry action.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/UploadNativeError"
    }
  }
}
413
Declared or streamed body exceeds its bound. The outer length/stream check is bodyless; an inspector may return a native error body.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/UploadNativeError"
    }
  }
}
415
Unsupported native content encoding or artifact representation.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/UploadNativeError"
    }
  }
}
422
Inspection/identity/declaration constraints or provider support prevent this symbol upload.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/UploadNativeError"
    }
  }
}
423
Current account operational policy denies IssueArtifact.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TenantOperationDeniedResponse"
    }
  }
}
429
Technical admission limit or insufficient capacity for more staged symbol bytes. Honor Retry-After when present.

Response headers

{
  "Retry-After": {
    "schema": {
      "type": "integer",
      "minimum": 1,
      "maximum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "const": "no-store"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/UploadAdmissionProblem"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/UploadNativeError"
    }
  }
}
503
Policy authority, optional request admission, symbol storage or a retained-object operation is unavailable. Inspect Content-Type and the actual error; retry does not authorize changed upload bytes.
{
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/TenantOperationDeniedResponse"
        },
        {
          "$ref": "#/components/schemas/UploadNativeError"
        },
        {
          "$ref": "#/components/schemas/UploadStorageBusy"
        }
      ]
    }
  },
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/UploadAdmissionProblem"
    }
  }
}

Link to this operation

GET/v1/builds/page

Page registered builds

Bounded keyset in immutable creation-time/id descending order. The opaque cursor expires after 30 minutes and binds the current validated upload credential, environment, page size and resolved data source. Current authority and source are rechecked before returning. Continue even when a collection is changing; this is not a frozen snapshot or authoritative total.

Access: uploadCredential

Parameters

environment (query, optional)
Optional authorized environment; keep it unchanged across pages.
{
  "type": "string"
}
limit (query, optional)
Bounded page size; keep it unchanged across pages.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque nextCursor from the previous page. Unknown, duplicate, blank or changed selectors return HTTP400.
{
  "type": "string"
}

Responses

200
Registered build page.
{
  "application/json": {
    "schema": {
      "type": "object",
      "required": [
        "items"
      ],
      "properties": {
        "items": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/BuildRegistrationRecord"
          }
        },
        "nextCursor": {
          "type": [
            "string",
            "null"
          ]
        },
        "totalCount": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Unknown; not calculated by this resource."
        }
      }
    }
  }
}
400
Malformed/binding input may be bodyless; domain validation returns the existing native JSON error.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/UploadNativeError"
    }
  },
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/UploadAdmissionProblem"
    }
  }
}
401
Missing, invalid, expired, wrong-kind or insufficient upload credential; no response body is declared.
423
Current account operational policy denies IssueArtifact.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TenantOperationDeniedResponse"
    }
  }
}
429
Optional technical request-admission policy. Retry after the indicated seconds; this is not a billing-period reset or release-publication permission.

Response headers

{
  "Retry-After": {
    "schema": {
      "type": "integer",
      "minimum": 1,
      "maximum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "const": "no-store"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/UploadAdmissionProblem"
    }
  }
}
503
Policy authority, optional request admission, symbol storage or a retained-object operation is unavailable. Inspect Content-Type and the actual error; retry does not authorize changed upload bytes.
{
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/TenantOperationDeniedResponse"
        },
        {
          "$ref": "#/components/schemas/UploadNativeError"
        },
        {
          "$ref": "#/components/schemas/UploadStorageBusy"
        }
      ]
    }
  },
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/UploadAdmissionProblem"
    }
  }
}

Link to this operation

POST/v1/uploads

Register an artifact upload

Registers metadata only. Account/app come from the validated upload key. Environment must match a bound key; otherwise request environment is selected, default production. Deployment target defaults to default. Optional build linkage requires matching environment, target and platform. WindowsZip additionally requires a .zip filename and matching Windows build. Registration does not publish to a release channel.

Access: uploadCredential

Parameters

Idempotency-Key (header, optional)
Optional single nonblank opaque value, at most 128 UTF-16 code units; repeated/control-bearing/malformed values are invalid. The exact value is preserved. The validated credential/account/app/action and request bind the operation. Same-key retries return the original 201/Location/JSON without resetting mutable state; changed requests conflict. Omission retains legacy create behavior, not duplicate suppression.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 128
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/PublicUploadRegistrationRequest"
      }
    }
  }
}

Responses

201
Artifact registration; keyed retries return the original saved snapshot, not current mutable metadata or a claim that content is still available.

Response headers

{
  "Location": {
    "description": "/v1/uploads/{artifactId}; this is a registration identifier, not an advertised artifact GET route.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadArtifactRegistrationResponse"
    }
  }
}
400
Malformed/binding input may be bodyless; domain validation returns the existing native JSON error.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/UploadNativeError"
    }
  }
}
401
Missing, invalid, expired, wrong-kind or insufficient upload credential; no response body is declared.
409
Request-key conflict or a pending registration whose storage, metadata owner or build attachment changed. Reconcile the original operation; do not silently allocate another identity.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/UploadNativeError"
    }
  }
}
423
Current account operational policy denies IssueArtifact.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TenantOperationDeniedResponse"
    }
  }
}
429
Optional technical request-admission policy. Retry after the indicated seconds; this is not a billing-period reset or release-publication permission.

Response headers

{
  "Retry-After": {
    "schema": {
      "type": "integer",
      "minimum": 1,
      "maximum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "const": "no-store"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/UploadAdmissionProblem"
    }
  }
}
503
Policy authority, optional request admission, symbol storage or a retained-object operation is unavailable. Inspect Content-Type and the actual error; retry does not authorize changed upload bytes.
{
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/TenantOperationDeniedResponse"
        },
        {
          "$ref": "#/components/schemas/UploadNativeError"
        },
        {
          "$ref": "#/components/schemas/UploadStorageBusy"
        }
      ]
    }
  },
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/UploadAdmissionProblem"
    }
  }
}

Link to this operation

PUT/v1/uploads/{artifactId}/content

Upload registered artifact content

Upload raw bytes after registration. The groups query is rejected: an upload key cannot publish releases. Existing content is immutable; identical bytes repair/replay completion while changed bytes conflict. A concurrent first upload may return artifact_content_exists. WindowsZip bytes are inspected against archive bounds and stored as application/zip. Package/signing analysis is best-effort. Successful content storage may establish a draft release; publication still requires the separate Automation API.

Access: uploadCredential

Maximum request body: 524,288,000 bytes.

Parameters

artifactId (path, required)
Opaque registered artifact identifier in the credential's account/app scope.
{
  "type": "string"
}

Request body

{
  "required": true,
  "description": "Raw APK, AAB, IPA or Windows ZIP bytes. The configured bound applies even without Content-Length. Declared registration size is not permission to exceed the stream bound. Default content types follow the artifact kind; WindowsZip is always application/zip. The handler accepts the supplied Content-Type without a general media-type allowlist; an absent Content-Type uses its documented default.",
  "content": {
    "application/octet-stream": {
      "schema": {
        "type": "string",
        "format": "binary"
      }
    },
    "*/*": {
      "schema": {
        "type": "string",
        "format": "binary"
      }
    }
  }
}

Responses

200
Stored artifact metadata including best-effort package identity.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/MobileArtifactMetadata"
    }
  }
}
400
Malformed/binding input may be bodyless; domain validation returns the existing native JSON error.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/UploadNativeError"
    }
  }
}
401
Missing, invalid, expired, wrong-kind or insufficient upload credential; no response body is declared.
404
Artifact absent or outside the credential's environment scope.
409
Content, retained-object or storage-generation conflict. Preserve the original bytes. storage_generation_retired uses retryAction:register-new-upload except build icons, which use retry-upload.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/UploadNativeError"
    }
  }
}
413
Declared or streamed body exceeds its bound. The outer length/stream check is bodyless; an inspector may return a native error body.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/UploadNativeError"
    }
  }
}
423
Current account operational policy denies IssueArtifact.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TenantOperationDeniedResponse"
    }
  }
}
429
Optional technical request-admission policy. Retry after the indicated seconds; this is not a billing-period reset or release-publication permission.

Response headers

{
  "Retry-After": {
    "schema": {
      "type": "integer",
      "minimum": 1,
      "maximum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "const": "no-store"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/UploadAdmissionProblem"
    }
  }
}
503
Policy authority, optional request admission, symbol storage or a retained-object operation is unavailable. Inspect Content-Type and the actual error; retry does not authorize changed upload bytes.
{
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/TenantOperationDeniedResponse"
        },
        {
          "$ref": "#/components/schemas/UploadNativeError"
        },
        {
          "$ref": "#/components/schemas/UploadStorageBusy"
        }
      ]
    }
  },
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/UploadAdmissionProblem"
    }
  }
}

Link to this operation

PUT/v1/uploads/{artifactId}/symbols/{kind}

Upload symbols for stored artifact content

Artifact content must reach Uploaded before symbols. Symbol version/build comes from interrogated artifact identity, with legacy 0.0.0/0 fallback if unavailable. Native ELF and managed-assembly uploads require the registered-build route instead. Supported ordinary kind aliases are dsym; proguard-map/proguard/mapping; pdb; breakpad/sym. Uploading symbols does not publish a release. To resume, send one contiguous range at a time, starting at offset zero. Keep the original key, whole-file hash and upload metadata on retries. Follow the confirmed Upload-Offset. Omit Content-Encoding for resumed requests.

Access: uploadCredential

Maximum request body: 524,288,000 bytes.

Parameters

artifactId (path, required)
Opaque registered artifact identifier in the credential's account/app scope.
{
  "type": "string"
}
kind (path, required)
Ordinary symbol kind or supported alias; native-elf and managed-assembly are rejected here.
{
  "type": "string"
}
fileName (query, optional)
Optional symbol filename; defaults from kind.
{
  "type": "string"
}
Content-Range (header, optional)
Required for resume. Use bytes start-end/total, with inclusive positions and start aligned to 8388608 bytes. An abort uses bytes */total. Upload total is capped at the lower of the route's configured or profile-specific limit and 524288000 bytes.
{
  "type": "string",
  "maxLength": 80,
  "pattern": "^bytes (?:[0-9]+-[0-9]+|\\*)/[1-9][0-9]*$"
}
X-AppPortal-Symbol-SHA256 (header, optional)
Required for resume. Lowercase SHA-256 of the complete file, including for abort.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$"
}
Idempotency-Key (header, optional)
Required for resume. Use one nonblank key without leading or trailing whitespace or control characters. Keep it for the same upload and use a new key for different content.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}
X-AppPortal-Symbol-Action (header, optional)
Optional. Abort an incomplete upload using the original key, hash, upload metadata, and total length. Send no bytes.
{
  "const": "abort"
}

Request body

{
  "required": false,
  "description": "Raw symbol bytes; no multipart envelope. Content-Type defaults to application/zip for dSYM, text/plain for ProGuard maps, otherwise application/octet-stream. The handler accepts the supplied Content-Type without a general media-type allowlist; an absent Content-Type uses its documented default. A resumed chunk is at most 8388608 bytes. All chunks except the final chunk have that size. A body is required for upload. An abort has an empty body.",
  "content": {
    "application/octet-stream": {
      "schema": {
        "type": "string",
        "format": "binary"
      }
    },
    "*/*": {
      "schema": {
        "type": "string",
        "format": "binary"
      }
    }
  }
}

Responses

200
Completed symbol metadata, or an aborted upload's progress record.

Response headers

{
  "X-AppPortal-Symbol-Upload-Id": {
    "description": "Opaque upload ID, present on successful resume requests.",
    "schema": {
      "type": "string",
      "pattern": "^symbol_resume_[0-9a-f]{64}$"
    }
  },
  "Upload-Offset": {
    "description": "Confirmed contiguous byte count. Returned for resumed progress, completion, and abort.",
    "schema": {
      "type": "integer",
      "minimum": 0
    }
  },
  "X-AppPortal-Symbol-SHA256": {
    "description": "Verified whole-file SHA-256, present only upon completed resume or replay of that completion.",
    "schema": {
      "type": "string",
      "pattern": "^[0-9a-f]{64}$"
    }
  }
}
{
  "application/json": {
    "schema": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/SymbolArtifactRecord"
        },
        {
          "$ref": "#/components/schemas/SymbolUploadResumeProgress"
        }
      ]
    }
  }
}
202
Chunk recorded or replayed. Continue at Upload-Offset. The symbol has not been accepted as complete.

Response headers

{
  "X-AppPortal-Symbol-Upload-Id": {
    "description": "Opaque upload ID, present on successful resume requests.",
    "schema": {
      "type": "string",
      "pattern": "^symbol_resume_[0-9a-f]{64}$"
    }
  },
  "Upload-Offset": {
    "description": "Confirmed contiguous byte count. Returned for resumed progress, completion, and abort.",
    "schema": {
      "type": "integer",
      "minimum": 0
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SymbolUploadResumeProgress"
    }
  }
}
400
Malformed/binding input may be bodyless; domain validation returns the existing native JSON error.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/UploadNativeError"
    }
  }
}
401
Missing, invalid, expired, wrong-kind or insufficient upload credential; no response body is declared.
404
Artifact absent or outside the credential's environment scope.
409
Content, retained-object, or storage-generation conflict. For resume, a changed declaration, changed bytes, or a gap in the sequence also conflict. Preserve the original bytes and use the indicated retry action.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/UploadNativeError"
    }
  }
}
413
Declared or streamed body exceeds its bound. The outer length/stream check is bodyless; an inspector may return a native error body.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/UploadNativeError"
    }
  }
}
423
Current account operational policy denies IssueArtifact.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TenantOperationDeniedResponse"
    }
  }
}
429
Technical admission limit or insufficient capacity for more staged symbol bytes. Honor Retry-After when present.

Response headers

{
  "Retry-After": {
    "schema": {
      "type": "integer",
      "minimum": 1,
      "maximum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "const": "no-store"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/UploadAdmissionProblem"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/UploadNativeError"
    }
  }
}
503
Policy authority, optional request admission, symbol storage or a retained-object operation is unavailable. Inspect Content-Type and the actual error; retry does not authorize changed upload bytes.
{
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/TenantOperationDeniedResponse"
        },
        {
          "$ref": "#/components/schemas/UploadNativeError"
        },
        {
          "$ref": "#/components/schemas/UploadStorageBusy"
        }
      ]
    }
  },
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/UploadAdmissionProblem"
    }
  }
}

Link to this operation

Declared schemas

Schema references in the operations resolve to these definitions from the same OpenAPI document.

BuildRegistrationRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "buildId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "bundleId": {
      "type": "string"
    },
    "appVersion": {
      "type": "string"
    },
    "buildNumber": {
      "type": "string"
    },
    "platform": {
      "enum": [
        "unattributed",
        "iOS",
        "Android",
        "Windows",
        "MacCatalyst",
        "Web",
        "macOS",
        "watchOS",
        "tvOS",
        "WinUI",
        "Wpf",
        "Linux",
        "iPadOS"
      ]
    },
    "projectType": {
      "enum": [
        "Unknown",
        "Native",
        "DotNet",
        "Flutter"
      ]
    },
    "environmentName": {
      "type": [
        "string",
        "null"
      ]
    },
    "deploymentTarget": {
      "type": [
        "string",
        "null"
      ]
    },
    "excludeFromMetrics": {
      "type": "boolean"
    },
    "displayName": {
      "type": [
        "string",
        "null"
      ]
    },
    "sourceRevision": {
      "type": [
        "string",
        "null"
      ]
    },
    "appleSigningType": {
      "type": [
        "string",
        "null"
      ]
    },
    "iconStorageKey": {
      "type": [
        "string",
        "null"
      ]
    },
    "iconContentType": {
      "type": [
        "string",
        "null"
      ]
    },
    "artifactId": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "buildId",
    "tenantId",
    "appId",
    "bundleId",
    "appVersion",
    "buildNumber",
    "platform",
    "projectType",
    "environmentName",
    "deploymentTarget",
    "excludeFromMetrics",
    "displayName",
    "sourceRevision",
    "appleSigningType",
    "iconStorageKey",
    "iconContentType",
    "artifactId",
    "createdAt",
    "updatedAt"
  ]
}
BuildRegistrationResponse
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "build": {
      "type": "object",
      "properties": {
        "buildId": {
          "type": "string"
        },
        "tenantId": {
          "type": "string"
        },
        "appId": {
          "type": "string"
        },
        "bundleId": {
          "type": "string"
        },
        "appVersion": {
          "type": "string"
        },
        "buildNumber": {
          "type": "string"
        },
        "platform": {
          "enum": [
            "unattributed",
            "iOS",
            "Android",
            "Windows",
            "MacCatalyst",
            "Web",
            "macOS",
            "watchOS",
            "tvOS",
            "WinUI",
            "Wpf",
            "Linux",
            "iPadOS"
          ]
        },
        "projectType": {
          "enum": [
            "Unknown",
            "Native",
            "DotNet",
            "Flutter"
          ]
        },
        "environmentName": {
          "type": [
            "string",
            "null"
          ]
        },
        "deploymentTarget": {
          "type": [
            "string",
            "null"
          ]
        },
        "excludeFromMetrics": {
          "type": "boolean"
        },
        "displayName": {
          "type": [
            "string",
            "null"
          ]
        },
        "sourceRevision": {
          "type": [
            "string",
            "null"
          ]
        },
        "appleSigningType": {
          "type": [
            "string",
            "null"
          ]
        },
        "iconStorageKey": {
          "type": [
            "string",
            "null"
          ]
        },
        "iconContentType": {
          "type": [
            "string",
            "null"
          ]
        },
        "artifactId": {
          "type": [
            "string",
            "null"
          ]
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        }
      },
      "required": [
        "buildId",
        "tenantId",
        "appId",
        "bundleId",
        "appVersion",
        "buildNumber",
        "platform",
        "projectType",
        "environmentName",
        "deploymentTarget",
        "excludeFromMetrics",
        "displayName",
        "sourceRevision",
        "appleSigningType",
        "iconStorageKey",
        "iconContentType",
        "artifactId",
        "createdAt",
        "updatedAt"
      ]
    },
    "created": {
      "type": "boolean"
    }
  },
  "required": [
    "build",
    "created"
  ]
}
DownloadArtifactRegistrationResponse
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "artifactId": {
      "type": "string"
    },
    "metadata": {
      "type": "object",
      "properties": {
        "artifactId": {
          "type": "string"
        },
        "kind": {
          "enum": [
            "Ipa",
            "Aab",
            "Apk",
            "WindowsZip"
          ]
        },
        "fileName": {
          "type": "string"
        },
        "contentType": {
          "type": "string"
        },
        "sizeBytes": {
          "type": "integer"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "tenantId": {
          "type": "string"
        },
        "appId": {
          "type": "string"
        },
        "environmentName": {
          "type": "string"
        },
        "deploymentTarget": {
          "type": "string"
        },
        "storageKey": {
          "type": "string"
        },
        "state": {
          "type": "integer"
        },
        "bundleId": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "appVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "buildNumber": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "iconStorageKey": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        }
      },
      "required": [
        "artifactId",
        "kind",
        "fileName",
        "contentType",
        "sizeBytes",
        "createdAt",
        "tenantId",
        "appId",
        "environmentName",
        "deploymentTarget",
        "storageKey",
        "state"
      ]
    },
    "registeredAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "artifactId",
    "metadata",
    "registeredAt"
  ]
}
MobileArtifactMetadata
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "artifactId": {
      "type": "string"
    },
    "kind": {
      "enum": [
        "Ipa",
        "Aab",
        "Apk",
        "WindowsZip"
      ]
    },
    "fileName": {
      "type": "string"
    },
    "contentType": {
      "type": "string"
    },
    "sizeBytes": {
      "type": "integer"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "environmentName": {
      "type": "string"
    },
    "deploymentTarget": {
      "type": "string"
    },
    "storageKey": {
      "type": "string"
    },
    "state": {
      "type": "integer"
    },
    "bundleId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "appVersion": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "buildNumber": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "displayName": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "iconStorageKey": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "artifactId",
    "kind",
    "fileName",
    "contentType",
    "sizeBytes",
    "createdAt",
    "tenantId",
    "appId",
    "environmentName",
    "deploymentTarget",
    "storageKey",
    "state"
  ]
}
SymbolArtifactRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "symbolId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "environmentName": {
      "type": "string"
    },
    "deploymentTarget": {
      "type": [
        "string",
        "null"
      ]
    },
    "platform": {
      "type": [
        "string",
        "null"
      ]
    },
    "appVersion": {
      "type": "string"
    },
    "buildNumber": {
      "type": "string"
    },
    "kind": {
      "type": "integer"
    },
    "fileName": {
      "type": "string"
    },
    "contentType": {
      "type": "string"
    },
    "sizeBytes": {
      "type": "integer"
    },
    "storageKey": {
      "type": "string"
    },
    "uploadedAt": {
      "type": "string",
      "format": "date-time"
    },
    "state": {
      "type": "integer"
    },
    "buildId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "debugId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "managed": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "profile": {
          "type": "string"
        },
        "declaredConfiguration": {
          "type": "string"
        },
        "contentSha256": {
          "type": "string"
        },
        "moduleMvid": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "architecture": {
          "type": [
            "string",
            "null"
          ]
        },
        "portablePdbGuid": {
          "type": "string",
          "format": "uuid"
        },
        "portablePdbStamp": {
          "type": "integer"
        },
        "verificationStatus": {
          "type": "string"
        },
        "assemblyConfiguration": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "optimizationsDisabled": {
          "type": [
            "boolean",
            "null"
          ],
          "default": null
        }
      },
      "required": [
        "profile",
        "declaredConfiguration",
        "contentSha256",
        "moduleMvid",
        "architecture",
        "portablePdbGuid",
        "portablePdbStamp",
        "verificationStatus"
      ]
    },
    "native": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "profile": {
          "type": "string"
        },
        "declaredConfiguration": {
          "type": "string"
        },
        "contentSha256": {
          "type": "string"
        },
        "gnuBuildId": {
          "type": "string"
        },
        "architecture": {
          "type": "string"
        },
        "elfClass": {
          "type": "integer"
        },
        "endianness": {
          "type": "integer"
        },
        "machine": {
          "type": "integer"
        },
        "elfType": {
          "type": "integer"
        },
        "debugOnly": {
          "type": "boolean"
        },
        "hasDwarf": {
          "type": "boolean"
        },
        "selfContained": {
          "type": "boolean"
        },
        "verificationStatus": {
          "type": "string"
        }
      },
      "required": [
        "profile",
        "declaredConfiguration",
        "contentSha256",
        "gnuBuildId",
        "architecture",
        "elfClass",
        "endianness",
        "machine",
        "elfType",
        "debugOnly",
        "hasDwarf",
        "selfContained",
        "verificationStatus"
      ]
    },
    "r8": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "profile": {
          "type": "string"
        },
        "declaredConfiguration": {
          "type": "string"
        },
        "contentSha256": {
          "type": "string"
        },
        "mappingHash": {
          "type": "string"
        },
        "compilerVersion": {
          "type": "string"
        },
        "mapVersion": {
          "type": "string"
        },
        "verificationStatus": {
          "type": "string"
        }
      },
      "required": [
        "profile",
        "declaredConfiguration",
        "contentSha256",
        "mappingHash",
        "compilerVersion",
        "mapVersion",
        "verificationStatus"
      ]
    },
    "apple": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "profile": {
          "type": "string"
        },
        "declaredConfiguration": {
          "type": "string"
        },
        "contentSha256": {
          "type": "string"
        },
        "bundleByteLength": {
          "type": "integer"
        },
        "dwarfSha256": {
          "type": "string"
        },
        "dwarfByteLength": {
          "type": "integer"
        },
        "uuid": {
          "type": "string"
        },
        "architecture": {
          "type": "string"
        },
        "preferredTextVmAddress": {
          "type": "string"
        },
        "hasDwarf": {
          "type": "boolean"
        },
        "selfContained": {
          "type": "boolean"
        },
        "verificationStatus": {
          "type": "string"
        }
      },
      "required": [
        "profile",
        "declaredConfiguration",
        "contentSha256",
        "bundleByteLength",
        "dwarfSha256",
        "dwarfByteLength",
        "uuid",
        "architecture",
        "preferredTextVmAddress",
        "hasDwarf",
        "selfContained",
        "verificationStatus"
      ]
    }
  },
  "required": [
    "symbolId",
    "tenantId",
    "appId",
    "environmentName",
    "deploymentTarget",
    "platform",
    "appVersion",
    "buildNumber",
    "kind",
    "fileName",
    "contentType",
    "sizeBytes",
    "storageKey",
    "uploadedAt",
    "state"
  ]
}
ManagedSymbolArtifactMetadata
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "profile": {
      "type": "string"
    },
    "declaredConfiguration": {
      "type": "string"
    },
    "contentSha256": {
      "type": "string"
    },
    "moduleMvid": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "architecture": {
      "type": [
        "string",
        "null"
      ]
    },
    "portablePdbGuid": {
      "type": "string",
      "format": "uuid"
    },
    "portablePdbStamp": {
      "type": "integer"
    },
    "verificationStatus": {
      "type": "string"
    },
    "assemblyConfiguration": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "optimizationsDisabled": {
      "type": [
        "boolean",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "profile",
    "declaredConfiguration",
    "contentSha256",
    "moduleMvid",
    "architecture",
    "portablePdbGuid",
    "portablePdbStamp",
    "verificationStatus"
  ]
}
NativeSymbolArtifactMetadata
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "profile": {
      "type": "string"
    },
    "declaredConfiguration": {
      "type": "string"
    },
    "contentSha256": {
      "type": "string"
    },
    "gnuBuildId": {
      "type": "string"
    },
    "architecture": {
      "type": "string"
    },
    "elfClass": {
      "type": "integer"
    },
    "endianness": {
      "type": "integer"
    },
    "machine": {
      "type": "integer"
    },
    "elfType": {
      "type": "integer"
    },
    "debugOnly": {
      "type": "boolean"
    },
    "hasDwarf": {
      "type": "boolean"
    },
    "selfContained": {
      "type": "boolean"
    },
    "verificationStatus": {
      "type": "string"
    }
  },
  "required": [
    "profile",
    "declaredConfiguration",
    "contentSha256",
    "gnuBuildId",
    "architecture",
    "elfClass",
    "endianness",
    "machine",
    "elfType",
    "debugOnly",
    "hasDwarf",
    "selfContained",
    "verificationStatus"
  ]
}
SymbolUploadResumeProgress
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "status": {
      "type": "string"
    },
    "offset": {
      "type": "integer"
    },
    "length": {
      "type": "integer"
    },
    "chunkBytes": {
      "type": "integer"
    },
    "uploadId": {
      "type": "string"
    }
  },
  "required": [
    "status",
    "offset",
    "length",
    "chunkBytes",
    "uploadId"
  ]
}
BuildRegistrationRequest
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "bundleId": {
      "type": [
        "string",
        "null"
      ]
    },
    "appVersion": {
      "type": [
        "string",
        "null"
      ]
    },
    "buildNumber": {
      "type": [
        "string",
        "null"
      ]
    },
    "platform": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[uU][nN][aA][tT][tT][rR][iI][bB][uU][tT][eE][dD]|[iI][oO][sS]|[aA][nN][dD][rR][oO][iI][dD]|[wW][iI][nN][dD][oO][wW][sS]|[mM][aA][cC][cC][aA][tT][aA][lL][yY][sS][tT]|[wW][eE][bB]|[mM][aA][cC][oO][sS]|[wW][aA][tT][cC][hH][oO][sS]|[tT][vV][oO][sS]|[wW][iI][nN][uU][iI]|[wW][pP][fF]|[lL][iI][nN][uU][xX]|[iI][pP][aA][dD][oO][sS])(?:\\s*,\\s*(?:[uU][nN][aA][tT][tT][rR][iI][bB][uU][tT][eE][dD]|[iI][oO][sS]|[aA][nN][dD][rR][oO][iI][dD]|[wW][iI][nN][dD][oO][wW][sS]|[mM][aA][cC][cC][aA][tT][aA][lL][yY][sS][tT]|[wW][eE][bB]|[mM][aA][cC][oO][sS]|[wW][aA][tT][cC][hH][oO][sS]|[tT][vV][oO][sS]|[wW][iI][nN][uU][iI]|[wW][pP][fF]|[lL][iI][nN][uU][xX]|[iI][pP][aA][dD][oO][sS]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "unattributed",
        "iOS",
        "Android",
        "Windows",
        "MacCatalyst",
        "Web",
        "macOS",
        "watchOS",
        "tvOS",
        "WinUI",
        "Wpf",
        "Linux",
        "iPadOS"
      ],
      "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
    },
    "projectType": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[uU][nN][kK][nN][oO][wW][nN]|[nN][aA][tT][iI][vV][eE]|[dD][oO][tT][nN][eE][tT]|[fF][lL][uU][tT][tT][eE][rR])(?:\\s*,\\s*(?:[uU][nN][kK][nN][oO][wW][nN]|[nN][aA][tT][iI][vV][eE]|[dD][oO][tT][nN][eE][tT]|[fF][lL][uU][tT][tT][eE][rR]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Unknown",
        "Native",
        "DotNet",
        "Flutter"
      ],
      "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
    },
    "environmentName": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "deploymentTarget": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "excludeFromMetrics": {
      "type": "boolean",
      "default": false
    },
    "displayName": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "sourceRevision": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "appleSigningType": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "description": "HTTP Web DTO binding is separate from domain validation. Non-whitespace bundleId, appVersion and buildNumber and a concrete platform are required for acceptance. projectType, when supplied, must be defined. appleSigningType is permitted only for Apple platforms. Tenant/app come only from the upload credential; environment must match an environment-bound credential."
}
PublicUploadRegistrationRequest
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "fileName": {
      "type": [
        "string",
        "null"
      ]
    },
    "kind": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[iI][pP][aA]|[aA][aA][bB]|[aA][pP][kK]|[wW][iI][nN][dD][oO][wW][sS][zZ][iI][pP])(?:\\s*,\\s*(?:[iI][pP][aA]|[aA][aA][bB]|[aA][pP][kK]|[wW][iI][nN][dD][oO][wW][sS][zZ][iI][pP]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Ipa",
        "Aab",
        "Apk",
        "WindowsZip"
      ],
      "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
    },
    "sizeBytes": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "buildId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "environmentName": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "deploymentTarget": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "description": "Acceptance requires a supported kind, non-whitespace fileName and positive sizeBytes. A Windows ZIP requires a .zip filename and an existing matching Windows build. An attached build must match the artifact environment, deployment target and platform. The declared size does not replace the bounded content stream."
}
UpdateBuildMetricsRequest
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "excludeFromMetrics": {
      "type": "boolean"
    }
  }
}
UploadNativeError
{
  "type": "object",
  "required": [
    "error",
    "code",
    "message",
    "traceId"
  ],
  "properties": {
    "error": {
      "type": [
        "string",
        "null"
      ]
    },
    "code": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "traceId": {
      "type": "string"
    },
    "retryAction": {
      "type": "string"
    }
  },
  "description": "Existing DownloadNativeErrors application/json projection, not a rewritten problem-details body. error retains the producer's original value; code/message/traceId are additive. retryAction appears only when the producer supplies it. Authentication/binding and declared-length failures can be bodyless."
}
UploadStorageBusy
{
  "type": "object",
  "required": [
    "error",
    "message"
  ],
  "properties": {
    "error": {
      "const": "storage_operation_busy"
    },
    "message": {
      "type": "string"
    }
  }
}
TenantOperationDeniedResponse
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "errorCode": {
      "type": "string"
    },
    "error": {
      "type": "string"
    }
  },
  "required": [
    "errorCode",
    "error"
  ]
}
UploadAdmissionProblem
{
  "type": "object",
  "required": [
    "type",
    "title",
    "status",
    "detail",
    "instance",
    "code",
    "message",
    "error",
    "traceId"
  ],
  "properties": {
    "type": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "status": {
      "type": "integer"
    },
    "detail": {
      "type": "string"
    },
    "instance": {
      "type": "string"
    },
    "code": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "error": {
      "type": "string"
    },
    "traceId": {
      "type": "string"
    },
    "retryAt": {
      "type": "string",
      "format": "date-time"
    },
    "retryAfterSeconds": {
      "type": "integer"
    }
  }
}