Mobile-ID · Evidence-based trust
Records glossaryContact
Trusted Records · Integration & Developer

Ingest packages

Submit manifests for validation and asynchronous jobs; examples use synthetic fileRefs, not actual uploads.

Request schema from OpenAPI

FieldTypeRequiredConstraintsTechnical definition
sourceRefstringYes{"minLength": 1, "maxLength": 128}Synthetic source identifier; custody reference in a real contract.
schemaVersionstringYes{"minLength": 1}Metadata schema version agreed for admission.
manifestarrayYes{"minItems": 1}File references and expected SHA-256 values; source bytes are not uploaded by the website.

Input, scopes and processing

POST /v1/ingest-packages · scope ingest:write. Tenant/project and correlation contexts are required. POST/PATCH use Idempotency-Key; examples/schemas below are proposed contracts.

States and outputs

RECEIVED → VALIDATING → ACCEPTED / QUARANTINED. Accepted ingest does not imply declaration.

Exceptions and controls

Missing manifests or invalid checksums/schemas return 422; key reuse with changed bodies returns 409.

HTTP example — proposed contract

Request

POST https://records.example.invalid/v1/ingest-packages HTTP/1.1
Authorization: Bearer <example-token>
X-Tenant-Id: synthetic-tenant-001
X-Project-Id: synthetic-project-001
X-Correlation-Id: synthetic-correlation-001
Idempotency-Key: synthetic-key-001
Content-Type: application/json

{
  "sourceRef": "synthetic-source-001",
  "schemaVersion": "1.0",
  "manifest": [
    {
      "fileRef": "synthetic-file-001",
      "sha256": "0000000000000000000000000000000000000000000000000000000000000000"
    }
  ]
}

Response · 202

{
  "jobId": "synthetic-job-001",
  "status": "VALIDATING",
  "packageId": "synthetic-package-001"
}

Required fields and shared controls

ItemProposed rule
scopeingest:write
requiredsourceRef, schemaVersion, manifest
tenant / projectToken and context must match; headers alone are insufficient.
idempotencyPOST/PATCH: same key/body returns original result; changed body returns 409; confirm retention window.
errorcode, message, requestId, correlationId, retryable, details; no sensitive data.

Start with a verifiable scope.

Agree record classes, quality criteria, permissions and evidence before scaling.

Plan assessment

Search Trusted Records

Enlarged source image

Illustrative source image; displayed values are not service commitments.