@@ -213,6 +213,7 @@ PATCH https://cloud.appwrite.io/v1/databases/{databaseId}/collections/{collectio
213
213
| key | string | ** Required** Attribute Key. | |
214
214
| required | boolean | Is attribute required? | |
215
215
| default | boolean | Default value for attribute when not provided. Cannot be set when attribute is required. | |
216
+ | newKey | string | New attribute key. | |
216
217
217
218
## Create datetime attribute
218
219
@@ -250,6 +251,7 @@ PATCH https://cloud.appwrite.io/v1/databases/{databaseId}/collections/{collectio
250
251
| key | string | ** Required** Attribute Key. | |
251
252
| required | boolean | Is attribute required? | |
252
253
| default | string | Default value for attribute when not provided. Cannot be set when attribute is required. | |
254
+ | newKey | string | New attribute key. | |
253
255
254
256
## Create email attribute
255
257
@@ -289,6 +291,7 @@ PATCH https://cloud.appwrite.io/v1/databases/{databaseId}/collections/{collectio
289
291
| key | string | ** Required** Attribute Key. | |
290
292
| required | boolean | Is attribute required? | |
291
293
| default | string | Default value for attribute when not provided. Cannot be set when attribute is required. | |
294
+ | newKey | string | New attribute key. | |
292
295
293
296
## Create enum attribute
294
297
@@ -330,6 +333,7 @@ PATCH https://cloud.appwrite.io/v1/databases/{databaseId}/collections/{collectio
330
333
| elements | array | Array of elements in enumerated type. Uses length of longest element to determine size. Maximum of 100 elements are allowed, each 255 characters long. | |
331
334
| required | boolean | Is attribute required? | |
332
335
| default | string | Default value for attribute when not provided. Cannot be set when attribute is required. | |
336
+ | newKey | string | New attribute key. | |
333
337
334
338
## Create float attribute
335
339
@@ -373,6 +377,7 @@ PATCH https://cloud.appwrite.io/v1/databases/{databaseId}/collections/{collectio
373
377
| min | number | Minimum value to enforce on new documents | |
374
378
| max | number | Maximum value to enforce on new documents | |
375
379
| default | number | Default value for attribute when not provided. Cannot be set when attribute is required. | |
380
+ | newKey | string | New attribute key. | |
376
381
377
382
## Create integer attribute
378
383
@@ -416,6 +421,7 @@ PATCH https://cloud.appwrite.io/v1/databases/{databaseId}/collections/{collectio
416
421
| min | integer | Minimum value to enforce on new documents | |
417
422
| max | integer | Maximum value to enforce on new documents | |
418
423
| default | integer | Default value for attribute when not provided. Cannot be set when attribute is required. | |
424
+ | newKey | string | New attribute key. | |
419
425
420
426
## Create IP address attribute
421
427
@@ -455,6 +461,7 @@ PATCH https://cloud.appwrite.io/v1/databases/{databaseId}/collections/{collectio
455
461
| key | string | ** Required** Attribute Key. | |
456
462
| required | boolean | Is attribute required? | |
457
463
| default | string | Default value for attribute when not provided. Cannot be set when attribute is required. | |
464
+ | newKey | string | New attribute key. | |
458
465
459
466
## Create relationship attribute
460
467
@@ -518,6 +525,8 @@ PATCH https://cloud.appwrite.io/v1/databases/{databaseId}/collections/{collectio
518
525
| key | string | ** Required** Attribute Key. | |
519
526
| required | boolean | Is attribute required? | |
520
527
| default | string | Default value for attribute when not provided. Cannot be set when attribute is required. | |
528
+ | size | integer | Maximum size of the string attribute. | |
529
+ | newKey | string | New attribute key. | |
521
530
522
531
## Create URL attribute
523
532
@@ -557,6 +566,7 @@ PATCH https://cloud.appwrite.io/v1/databases/{databaseId}/collections/{collectio
557
566
| key | string | ** Required** Attribute Key. | |
558
567
| required | boolean | Is attribute required? | |
559
568
| default | string | Default value for attribute when not provided. Cannot be set when attribute is required. | |
569
+ | newKey | string | New attribute key. | |
560
570
561
571
## Get attribute
562
572
@@ -607,6 +617,7 @@ PATCH https://cloud.appwrite.io/v1/databases/{databaseId}/collections/{collectio
607
617
| collectionId | string | ** Required** Collection ID. You can create a new collection using the Database service [ server integration] ( https://appwrite.io/docs/server/databases#databasesCreateCollection ) . | |
608
618
| key | string | ** Required** Attribute Key. | |
609
619
| onDelete | string | Constraints option | |
620
+ | newKey | string | New attribute key. | |
610
621
611
622
## List documents
612
623
0 commit comments