Update document or record
Motivation
Update a CDoc, WDoc, CRecord or WRecord using API
Functional Design
PATCH /api/v2/apps/{owner}/{app}/workspaces/{wsid}/docs/{pkg}.{table}/{id}
Headers
Key
Value
Authorization
Bearer {PrincipalToken}
Content-Type
application/json
Parameters
Parameter
Type
Description
owner
string
name of a user who owns the application
app
string
name of an application
wsid
int64
the ID of workspace
pkg, table
string
identifies a table (document or record)
id
int64
ID of a document or record
Body
CDoc/WDoc/CRecord/WRecord (fields to be updated)
Result
Code
Description
Body
200
OK
current WLog offset and the new IDs, see below
Example Result 200:
{
"currentWLogOffset":114,
"newIDs": {
"1":322685000131212
}
}
Last updated
Was this helpful?