v51

latestOpenAPI 3.0.3AGPL-3.0-or-laterraw.githubusercontent.com2026-08-017215661.2 KB
api_columns

[api v2] Create new numbered column

Specify a subtype to use any special numbered column

post/ocs/v2.php/apps/tables/api/2/columns/number

Headers

OCS-APIRequestboolean required

Required to be true for the API request to pass

Request body

baseNodeIdinteger required

Context of the column creation

titlestring required

Title

technicalNamestring nullable

Technical name of the column

numberDefaultnumber double nullable

Default value for new rows

numberDecimalsinteger nullable

Decimals

numberPrefixstring nullable

Prefix

numberSuffixstring nullable

Suffix

numberMinnumber double nullable

Min

numberMaxnumber double nullable

Max

subtype'progress' | 'stars' nullable

Subtype for the new column

descriptionstring nullable

Description

selectedViewIdsinteger[] nullable

View IDs where this columns should be added

mandatoryboolean

Is mandatory

baseNodeType'table' | 'view'

Context type of the column creation

customSettingsobject

Custom settings for the column

Response

Column created