You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| collectionId | string |**Required** Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection). ||
454
+
| key | string | Attribute Key. ||
455
+
| required | boolean | Is attribute required? ||
456
+
| default | array | Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], …], listing the vertices of the line in order. Cannot be set when attribute is required. ||
| collectionId | string |**Required** Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#createCollection). ||
471
+
| key | string |**Required** Attribute Key. ||
472
+
| required | boolean | Is attribute required? ||
473
+
| default | array | Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], …], listing the vertices of the line in order. Cannot be set when attribute is required. ||
474
+
| newKey | string | New attribute key. ||
475
+
476
+
477
+
```http request
478
+
POST https://cloud.appwrite.io/v1/databases/{databaseId}/collections/{collectionId}/attributes/point
| collectionId | string |**Required** Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection). ||
489
+
| key | string | Attribute Key. ||
490
+
| required | boolean | Is attribute required? ||
491
+
| default | array | Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required. ||
| collectionId | string |**Required** Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#createCollection). ||
506
+
| key | string |**Required** Attribute Key. ||
507
+
| required | boolean | Is attribute required? ||
508
+
| default | array | Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required. ||
509
+
| newKey | string | New attribute key. ||
510
+
511
+
512
+
```http request
513
+
POST https://cloud.appwrite.io/v1/databases/{databaseId}/collections/{collectionId}/attributes/polygon
| collectionId | string |**Required** Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection). ||
524
+
| key | string | Attribute Key. ||
525
+
| required | boolean | Is attribute required? ||
526
+
| default | array | Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], …], …], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required. ||
| collectionId | string |**Required** Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#createCollection). ||
541
+
| key | string |**Required** Attribute Key. ||
542
+
| required | boolean | Is attribute required? ||
543
+
| default | array | Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], …], …], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required. ||
544
+
| newKey | string | New attribute key. ||
545
+
546
+
442
547
```http request
443
548
POST https://cloud.appwrite.io/v1/databases/{databaseId}/collections/{collectionId}/attributes/relationship
0 commit comments