- Print
Increment or decrement a field in a Tulip Table record
Increment or decrement an integer or float field of a Tulip Table Record. A decrement is simply a negative increment. The tableId must exist. The recordId must be associated with the tableId. The field name must match the column name of the table. The respective column type in the table must be incrementable. The value type must be incrementable (so an integer or float). If the field type is an integer, then the value can be either an integer or a float, but if it is a float, it will be rounded off (e.g. 2.7 rounds up to 3). If the field type is a float, then the value type can also be either an integer or a float. The record's _updatedAt
field will be updated to the current time. If the value to be incremented has not been set yet, then it will be treated like an increment on a 0 value. Requires the tables:write
API key scope.
The id of a Tulip Table.
The id of a Tulip Table record.
Field to increment or decrement
The field (column) to increment or decrement.
The amount to increment or decrement by.
The field was incremented or decremented successfuly.
A single record stored in a Tulip Table. The record object will include the names and values of all columns of the Table that are not hidden, in addition to the record's sequence number, created timestamp, and last updated timestamp.
A monotonically increasing unique identifier for this record.
The request was malformed. This could mean that headers, query parameters, or the request body was unable to be parsed or had unexpected values.
The request was made unauthorized. HTTP Basic Authorization using a Tulip API Key is required for use of the API.
The provided authentication info was rejected. The response will provide additional details.
The requested database entry was not found.
The request was syntactically sound, but could not be processed due to a logical problem.
The server encountered an unexpected error.