|
7222 | 7222 | "default": { |
7223 | 7223 | "type": "string", |
7224 | 7224 | "description": "Default value for the attribute in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. Cannot be set when attribute is required.", |
7225 | | - "x-example": null |
| 7225 | + "x-example": null, |
| 7226 | + "x-nullable": true |
7226 | 7227 | }, |
7227 | 7228 | "array": { |
7228 | 7229 | "type": "boolean", |
@@ -13203,10 +13204,22 @@ |
13203 | 13204 | "description": "Path to function code in the template repo.", |
13204 | 13205 | "x-example": "<ROOT_DIRECTORY>" |
13205 | 13206 | }, |
13206 | | - "version": { |
| 13207 | + "type": { |
| 13208 | + "type": "string", |
| 13209 | + "description": "Type for the reference provided. Can be commit, branch, or tag", |
| 13210 | + "x-example": "commit", |
| 13211 | + "enum": [ |
| 13212 | + "commit", |
| 13213 | + "branch", |
| 13214 | + "tag" |
| 13215 | + ], |
| 13216 | + "x-enum-name": null, |
| 13217 | + "x-enum-keys": [] |
| 13218 | + }, |
| 13219 | + "reference": { |
13207 | 13220 | "type": "string", |
13208 | | - "description": "Version (tag) for the repo linked to the function template.", |
13209 | | - "x-example": "<VERSION>" |
| 13221 | + "description": "Reference value, can be a commit hash, branch name, or release tag", |
| 13222 | + "x-example": "<REFERENCE>" |
13210 | 13223 | }, |
13211 | 13224 | "activate": { |
13212 | 13225 | "type": "boolean", |
|
13218 | 13231 | "repository", |
13219 | 13232 | "owner", |
13220 | 13233 | "rootDirectory", |
13221 | | - "version" |
| 13234 | + "type", |
| 13235 | + "reference" |
13222 | 13236 | ] |
13223 | 13237 | } |
13224 | 13238 | } |
@@ -22838,10 +22852,22 @@ |
22838 | 22852 | "description": "Path to site code in the template repo.", |
22839 | 22853 | "x-example": "<ROOT_DIRECTORY>" |
22840 | 22854 | }, |
22841 | | - "version": { |
| 22855 | + "type": { |
| 22856 | + "type": "string", |
| 22857 | + "description": "Type for the reference provided. Can be commit, branch, or tag", |
| 22858 | + "x-example": "branch", |
| 22859 | + "enum": [ |
| 22860 | + "branch", |
| 22861 | + "commit", |
| 22862 | + "tag" |
| 22863 | + ], |
| 22864 | + "x-enum-name": null, |
| 22865 | + "x-enum-keys": [] |
| 22866 | + }, |
| 22867 | + "reference": { |
22842 | 22868 | "type": "string", |
22843 | | - "description": "Version (tag) for the repo linked to the site template.", |
22844 | | - "x-example": "<VERSION>" |
| 22869 | + "description": "Reference value, can be a commit hash, branch name, or release tag", |
| 22870 | + "x-example": "<REFERENCE>" |
22845 | 22871 | }, |
22846 | 22872 | "activate": { |
22847 | 22873 | "type": "boolean", |
|
22853 | 22879 | "repository", |
22854 | 22880 | "owner", |
22855 | 22881 | "rootDirectory", |
22856 | | - "version" |
| 22882 | + "type", |
| 22883 | + "reference" |
22857 | 22884 | ] |
22858 | 22885 | } |
22859 | 22886 | } |
|
23911 | 23938 | "parameters": [ |
23912 | 23939 | { |
23913 | 23940 | "name": "queries", |
23914 | | - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: enabled, name, fileSecurity, maximumFileSize, encryption, antivirus", |
| 23941 | + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: enabled, name, fileSecurity, maximumFileSize, encryption, antivirus, transformations", |
23915 | 23942 | "required": false, |
23916 | 23943 | "schema": { |
23917 | 23944 | "type": "array", |
|
24062 | 24089 | "type": "boolean", |
24063 | 24090 | "description": "Is virus scanning enabled? For file size above 20MB AntiVirus scanning is skipped even if it's enabled", |
24064 | 24091 | "x-example": false |
| 24092 | + }, |
| 24093 | + "transformations": { |
| 24094 | + "type": "boolean", |
| 24095 | + "description": "Are image transformations enabled?", |
| 24096 | + "x-example": false |
24065 | 24097 | } |
24066 | 24098 | }, |
24067 | 24099 | "required": [ |
|
24258 | 24290 | "type": "boolean", |
24259 | 24291 | "description": "Is virus scanning enabled? For file size above 20MB AntiVirus scanning is skipped even if it's enabled", |
24260 | 24292 | "x-example": false |
| 24293 | + }, |
| 24294 | + "transformations": { |
| 24295 | + "type": "boolean", |
| 24296 | + "description": "Are image transformations enabled?", |
| 24297 | + "x-example": false |
24261 | 24298 | } |
24262 | 24299 | }, |
24263 | 24300 | "required": [ |
|
26342 | 26379 | }, |
26343 | 26380 | "rowSecurity": { |
26344 | 26381 | "type": "boolean", |
26345 | | - "description": "Enables configuring permissions for individual rows. A user needs one of row or table level permissions to access a document. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", |
| 26382 | + "description": "Enables configuring permissions for individual rows. A user needs one of row or table-level permissions to access a row. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", |
26346 | 26383 | "x-example": false |
26347 | 26384 | }, |
26348 | 26385 | "enabled": { |
|
26844 | 26881 | "default": { |
26845 | 26882 | "type": "string", |
26846 | 26883 | "description": "Default value for the column in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. Cannot be set when column is required.", |
26847 | | - "x-example": null |
| 26884 | + "x-example": null, |
| 26885 | + "x-nullable": true |
26848 | 26886 | }, |
26849 | 26887 | "array": { |
26850 | 26888 | "type": "boolean", |
|
42256 | 42294 | "type": "boolean", |
42257 | 42295 | "description": "Virus scanning is enabled.", |
42258 | 42296 | "x-example": false |
| 42297 | + }, |
| 42298 | + "transformations": { |
| 42299 | + "type": "boolean", |
| 42300 | + "description": "Image transformations are enabled.", |
| 42301 | + "x-example": false |
42259 | 42302 | } |
42260 | 42303 | }, |
42261 | 42304 | "required": [ |
|
42270 | 42313 | "allowedFileExtensions", |
42271 | 42314 | "compression", |
42272 | 42315 | "encryption", |
42273 | | - "antivirus" |
| 42316 | + "antivirus", |
| 42317 | + "transformations" |
42274 | 42318 | ], |
42275 | 42319 | "example": { |
42276 | 42320 | "$id": "5e5ea5c16897e", |
|
42289 | 42333 | ], |
42290 | 42334 | "compression": "gzip", |
42291 | 42335 | "encryption": false, |
42292 | | - "antivirus": false |
| 42336 | + "antivirus": false, |
| 42337 | + "transformations": false |
42293 | 42338 | } |
42294 | 42339 | }, |
42295 | 42340 | "resourceToken": { |
|
0 commit comments