RouteExposures
Execute an externally initiated route exposure write
Executes an explicitly registered external-write route exposure. The caller supplies the authenticated Party context, governed payload envelope, field mappings, governance metadata, governance metadata, optional idempotency key, and optional Party projection candidates. VDX evaluates policy server-side before any grant or throttle consumption. The response is an accepted, minimized, redacted, quarantined, or rejected governed-ingress receipt with canonical-field mapping, projection-candidate ids, policy lineage, idempotency result, payload hash, and later-use availability scope.
post/route/exposures/{exposureDescriptorId}/write
Path parameters
exposureDescriptorIdstring required
Stable identifier of an externally callable route exposure descriptor.
Example:proof-vault-read-exposure
Stable identifier of a route exposure descriptor.
Request body
Example request
{
"authMethod": "bearer",
"callerParty": {
"partyId": "party-supplier"
},
"payload": {
"supplierStatus": "valid"
},
"fieldMappings": [
{
"source": {
"sourceFieldPath": "supplierStatus"
},
"target": {
"canonicalFieldPath": "evidence.status"
}
}
],
"governance": {
"classification": "confidential",
"legalBasis": "dpv:Contract",
"purpose": "dpv:Audit",
"auditCategory": "EXTERNAL_EXCHANGE"
},
"idempotencyKey": "supplier-status-1"
}Response
Governed external-write receipt.
Example response
{
"state": "ACCEPTED",
"runId": "9a785884-63ea-4b07-9976-264a1fc595f1",
"exposureDescriptorId": "proof-vault-read-exposure",
"logicalConnectionBindingId": "brand-a-proof-vault",
"canonicalFields": {
"evidence.status": "valid"
},
"projectionCandidateIds": [
"supplier-party-1"
],
"policyDecisionId": "policy-external-write",
"idempotencyResult": "accepted:supplier-status-1",
"payloadHash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"laterUseAvailabilityScope": [
"FORM",
"OID4VCI",
"OID4VP",
"WORKFLOW"
]
}