v12

OpenAPI 3.1.0raw.githubusercontent.com2026-07-150065.4 KB
Index

Partially replaces a document in a table

Partially replaces a document with given id in a table Responds with an object of the following format:

{'table':'products','updated':1}
post/{table}/_update/{id}

Path parameters

tablestring required

Name of the percolate table

idinteger required

Id of the document to replace

Request body

docobject required

Object containing the new document data to replace the existing one.

Example request

{
  "doc": {
    "title": "This is some title",
    "gid": 100
  }
}

Response

item updated

tablestring

Name of the document table

updatedinteger

Number of documents updated

idinteger

Document ID

resultstring

Result of the update operation, typically 'updated'

Example response

{
  "table": "test",
  "updated": 29
}