Skip to content

Commit 44550dd

Browse files
docs(storage): add skipDuplicatesCheck parameter to primary key API documentation
Update apiary.apib to document the new skipDuplicatesCheck parameter for the Create Primary Key endpoint. Co-Authored-By: Martin Zajic <ja@mzajic.cz>
1 parent 71e9694 commit 44550dd

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

apiary.apib

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4142,6 +4142,7 @@ This request is [asynchronous](#introduction/synchronous-and-asynchronous-calls)
41424142
41434143
+ Attributes
41444144
+ columns[] (required) - Array of columns used as the primary key
4145+
+ skipDuplicatesCheck (optional, boolean) - If set to true, the duplicity check will be skipped when creating the primary key. This allows creating a primary key on a table with duplicate values in the key columns. Only supported for Snowflake and Redshift backends. Default: false
41454146
41464147
+ Request (application/json)
41474148
+ Headers
@@ -4153,7 +4154,8 @@ This request is [asynchronous](#introduction/synchronous-and-asynchronous-calls)
41534154
{
41544155
"columns": [
41554156
"id"
4156-
]
4157+
],
4158+
"skipDuplicatesCheck": false
41574159
}
41584160
41594161
+ Response 202 (application/json)
@@ -4166,7 +4168,8 @@ This request is [asynchronous](#introduction/synchronous-and-asynchronous-calls)
41664168
"tableId":"in.c-main.another",
41674169
"operationName":"tablePrimaryKeyAdd",
41684170
"operationParams":{
4169-
"columns":["id"]
4171+
"columns":["id"],
4172+
"skipDuplicatesCheck":false
41704173
},
41714174
"createdTime":"2013-07-08T10:01:03+0200",
41724175
"startTime":null,

0 commit comments

Comments
 (0)