v13

latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-08-04117065.7 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
resultstring

Result of the update operation, typically 'updated'

Example response

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