RouteExposures
Create a route exposure grant
post/route/exposures/{exposureDescriptorId}/grants
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
{
"callerParty": {
"partyId": "party-subject",
"externalId": "urn:external:asset:press-1",
"partyType": "organization",
"displayName": "Example BV",
"metadata": {
"owner_team": "people-ops",
"domain": "employee-licensing"
}
},
"grantedBy": {
"partyId": "party-subject",
"externalId": "urn:external:asset:press-1",
"partyType": "organization",
"displayName": "Example BV",
"metadata": {
"owner_team": "people-ops",
"domain": "employee-licensing"
}
},
"allowedOperations": [
"READ"
]
}Response
Route exposure grant created.
Example response
{
"grantId": "grant-proof-vault-reader",
"exposureDescriptorId": "proof-vault-read-exposure",
"owningTenantId": "acme",
"callerParty": {
"partyId": "party-subject",
"externalId": "urn:external:asset:press-1",
"partyType": "organization",
"displayName": "Example BV",
"metadata": {
"owner_team": "people-ops",
"domain": "employee-licensing"
}
},
"grantedBy": {
"partyId": "party-subject",
"externalId": "urn:external:asset:press-1",
"partyType": "organization",
"displayName": "Example BV",
"metadata": {
"owner_team": "people-ops",
"domain": "employee-licensing"
}
},
"allowedOperations": [
"READ"
]
}