mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
updated response model and docs
This commit is contained in:
1 parent
7360dd68e0
commit
043ca48f91
15 files changed
+15
-6
No files matched your search
@@ -0,0 +1 @@
|
||||
Update a line attribute. Changing the `default` value will not update already existing documents.
|
||||
@@ -0,0 +1 @@
|
||||
Update a point attribute. Changing the `default` value will not update already existing documents.
|
||||
@@ -0,0 +1 @@
|
||||
Update a polygon attribute. Changing the `default` value will not update already existing documents.
|
||||
@@ -0,0 +1 @@
|
||||
Create a geometric line attribute.
|
||||
@@ -0,0 +1 @@
|
||||
Create a geometric point attribute.
|
||||
@@ -0,0 +1 @@
|
||||
Create a geometric polygon attribute.
|
||||
@@ -0,0 +1 @@
|
||||
Update a line column. Changing the `default` value will not update already existing documents.
|
||||
@@ -0,0 +1 @@
|
||||
Update a point column. Changing the `default` value will not update already existing documents.
|
||||
@@ -0,0 +1 @@
|
||||
Update a polygon column. Changing the `default` value will not update already existing documents.
|
||||
@@ -18,7 +18,7 @@ class AttributeLine extends Attribute
|
||||
'example' => 'route',
|
||||
])
|
||||
->addRule('type', [
|
||||
'type' => self::TYPE_JSON,
|
||||
'type' => self::TYPE_STRING,
|
||||
'description' => 'Attribute type.',
|
||||
'default' => '',
|
||||
'example' => 'linestring',
|
||||
|
||||
@@ -18,7 +18,7 @@ class AttributePoint extends Attribute
|
||||
'example' => 'location',
|
||||
])
|
||||
->addRule('type', [
|
||||
'type' => self::TYPE_JSON,
|
||||
'type' => self::TYPE_STRING,
|
||||
'description' => 'Attribute type.',
|
||||
'default' => '',
|
||||
'example' => 'point',
|
||||
|
||||
@@ -18,7 +18,7 @@ class AttributePolygon extends Attribute
|
||||
'example' => 'boundary',
|
||||
])
|
||||
->addRule('type', [
|
||||
'type' => self::TYPE_JSON,
|
||||
'type' => self::TYPE_STRING,
|
||||
'description' => 'Attribute type.',
|
||||
'default' => '',
|
||||
'example' => 'polygon',
|
||||
|
||||
@@ -18,7 +18,7 @@ class ColumnLine extends Column
|
||||
'example' => 'route',
|
||||
])
|
||||
->addRule('type', [
|
||||
'type' => self::TYPE_STRING,
|
||||
'type' => self::TYPE_JSON,
|
||||
'description' => 'Column type.',
|
||||
'default' => '',
|
||||
'example' => 'linestring',
|
||||
|
||||
@@ -24,7 +24,7 @@ class ColumnPoint extends Column
|
||||
'example' => 'point',
|
||||
])
|
||||
->addRule('default', [
|
||||
'type' => self::TYPE_STRING,
|
||||
'type' => self::TYPE_JSON,
|
||||
'description' => 'Default value for column when not provided. Cannot be set when column is required.',
|
||||
'default' => null,
|
||||
'required' => false,
|
||||
|
||||
@@ -24,7 +24,7 @@ class ColumnPolygon extends Column
|
||||
'example' => 'polygon',
|
||||
])
|
||||
->addRule('default', [
|
||||
'type' => self::TYPE_STRING,
|
||||
'type' => self::TYPE_JSON,
|
||||
'description' => 'Default value for column when not provided. Cannot be set when column is required.',
|
||||
'default' => null,
|
||||
'required' => false,
|
||||
|
||||
Reference in new issue
Block a user