انتقل إلى المحتوى الرئيسي

Variable: IdentifierCreateRequest

const IdentifierCreateRequest: TObject<{ host: TOptional<TWith<TString, { description: "A delegated host to serve the identifier on, such as `id.acme.example`, whose DNS already points at the platform. Leave it out to use the organization's own publisher host, `<slug>.identity.<domain>`. A name under the platform's own domains is refused."; }>>; method: TOptional<TWith<TUnsafe<"webvh" | "web">, { default: "webvh"; description: "The DID method. Leave it out for `webvh`, the default: a signed, append-only log that lets a verifier tell a key rotation from a substitution and survives a lost key. Choose `web` only for verifiers that resolve nothing else: it is one replaceable document with no history and no recovery, and whoever controls the domain can replace it. The choice is permanent for this identifier, and a deployment may not permit `web` at all."; }>>; organizationId: TWith<TString, { description: "The organization to create the identifier for: an active organization inside the scope the caller acts for. It may hold one identifier that has not failed."; }>; }>

Defined in: packages/contracts/src/schemas/issuance.ts:447

request.*.issuance.identifier.create.v1 request: mint an identifier for an organisation in the caller's scope. issuance reads the organisation from identity itself; nothing about it is taken from this body except its id.

The reply is the identifier in placing. Placement is provisioning's decision and arrives by event (D3.6), so creating is asynchronous by design and the caller reads the identifier again until it is prepared.