Skip to content
Get started

Update context

client.v1.contexts.update(stringcontextID, ContextUpdateParams { spaceId } params?, RequestOptionsoptions?): void
PATCH/api/v1/contexts/{contextId}

Increments the Replicache space version via repVersionIncrement after writing.

ParametersExpand Collapse
contextID: string
params: ContextUpdateParams { spaceId }
spaceId?: string

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

Update context

import Fluidwave from 'fluidwave';

const client = new Fluidwave();

await client.v1.contexts.update('contextId');
Returns Examples