SDK Reference
Methods
UpdateTileDocument

updateTileDocument

A helper method that updates an existing Ceramic TileDocument.

How to use?

This method will not await for the stream to be indexed by Orbis Nodes before resolving.

const res = await orbis.updateTileDocument(stream_id, content, tags, schema, family = "orbis");

Parameters

  • stream_id - string stream ID to update
  • content - object containing contents of the JSON to be committed (must be serializable)
  • tags - array optional an array of tags to apply to this stream (strings)
  • schema - string optional stream ID of the schema for the stream
  • family - string optional family of which this stream is a part of "orbis" by default

Returns

{
    status: 200,
    doc: "k...",
    result: "Success updating TileDocument."
}