Skip to main content

Sessions

Blockvault Sessions (v1.0.0)

Download OpenAPI specification:Download

API Documentation for Blockvault Sessions

Create session

Authorizations:
BearerAuth
path Parameters
required
string or string (ScopeSpecificationId)

Scope specification identifier

Request Body schema: application/json
required

Create a session to alter a scope's records

required
object (Party)

Party responsible for this session

object

Record keys map to Provenance Metadata Records. Values are typeful with a few types supported natively. Values are base64 encoded and persisted directly on-chain. IMPORTANT: sensitive data, or large blobs, should not be stored on chain in a plaintext encoding.

object

Record keys map to Provenance Metadata Records. Values are typeful with a few types supported natively.

null or CreateScope (object)
uuid
string <uuid>

Unique identifier for this scope on chain, randomly generated when not provided

Responses

Request samples

Content type
application/json
{
  • "party": {
    },
  • "scope": {
    },
  • "records": {
    },
  • "public_records": {
    },
  • "uuid": "3d8de57d-bda1-4635-a377-3d9a8a5c3fca"
}

Response samples

Content type
application/json
{
  • "tx_hash": "3ea1b237f303455d1e7c04fc128168cf9a6b903759b8b06bc05315e9333da1ae",
  • "height": 18621389,
  • "uuid": "2dccded0-f546-4519-8468-4aeaba91552b",
  • "scope_uuid": "3d8de57d-bda1-4635-a377-3d9a8a5c3fca"
}