Create an asset
Create an asset, after the ownership gate.
Audience (organization, partner) is enforced by the asset policy. The gate is the workflow's: a domain or public IP/CIDR needs an active verification covering it (legacy answered 403 "Unverified domain"); an integrator flagged to vouch for its clients gets the proof minted for it instead -- legacy's ownership bypass, recorded as a self-attestation. organization_id defaults to the caller's org.
Args: body (CreateAssetRequest): Asset creation payload. db (AsyncSession): Request-scoped database session. context (ActiveContext): Resolved caller identity and scope.
Returns: SuccessResponse: The legacy create envelope carrying the new id.
Raises: ValueError: No organization_id was given and the caller has no default organization. PermissionError: No active verification covers the target and the caller may not have one minted, or Cerbos denied the create.
Request
- Base URLhttps://api.ethiack.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.