Skip to content
Get started

Create context

client.v1.contexts.create(ContextCreateParams { spaceId } params?, RequestOptionsoptions?): void
POST/api/v1/contexts

Increments the Replicache space version via repVersionIncrement after writing.

ParametersExpand Collapse
params: ContextCreateParams { spaceId }
spaceId?: string

Optional space id; when omitted, the user’s default space is used.

Create context

import Fluidwave from 'fluidwave';

const client = new Fluidwave();

await client.v1.contexts.create();
Returns Examples