v2/content

Create on-chain content for a given schema

Changed on
post/v2/content/{msaId}/on-chain

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

msaIdstring required
Example:2

Msa Id of requested account

Request body

intentNamestring

Intent name to resolve the latest on-chain schema for publishing. Format: <namespace>.<name> @example: e-e.on-chain

schemaIdnumber

Schema ID of the OnChain schema this message is being posted to. @example: 16

payloadstring required

Payload bytes encoded as a hex string using the schema defined by schemaId

publishedstring required

The time of publishing ISO8601

Example request

{
  "published": "1970-01-01T00:00:00+00:00"
}

Changes

    • ○

      endpoint deprecated

    • ○

      added the new optional request property

    • ○

      the request property became optional

    • ○

      added the non-success response with the status

    • ○

      api operation id ContentControllerV2_postContent removed and replaced with ContentControllerV2_postContent_v2