Merge pull request #10496 from appwrite/cursor/add-type-enum-support-and-update-docs-3769

Add type_enum support and update docs
This commit is contained in:
Luke B. Silver
2025-09-22 14:47:54 +01:00
committed by GitHub
24 changed files with 1445 additions and 296 deletions
+14 -3
View File
@@ -11393,12 +11393,23 @@
"trigger": {
"type": "string",
"description": "The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.",
"x-example": "http"
"x-example": "http",
"enum": [
"http",
"schedule",
"event"
]
},
"status": {
"type": "string",
"description": "The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.",
"x-example": "processing"
"x-example": "processing",
"enum": [
"waiting",
"processing",
"completed",
"failed"
]
},
"requestMethod": {
"type": "string",
@@ -11412,7 +11423,7 @@
},
"requestHeaders": {
"type": "array",
"description": "HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.",
"description": "HTTP request headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.",
"items": {
"$ref": "#\/components\/schemas\/headers"
},
+180 -36
View File
@@ -46461,7 +46461,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -46549,7 +46556,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -46639,7 +46653,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -46729,7 +46750,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -46802,7 +46830,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -46882,7 +46917,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -46972,7 +47014,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -47052,7 +47101,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -47132,7 +47188,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -47212,7 +47275,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -47320,7 +47390,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -47399,7 +47476,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -47490,7 +47574,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -48965,7 +49056,14 @@
"status": {
"type": "string",
"description": "Index status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -52191,7 +52289,14 @@
"status": {
"type": "string",
"description": "The deployment status. Possible values are \"waiting\", \"processing\", \"building\", \"ready\", and \"failed\".",
"x-example": "ready"
"x-example": "ready",
"enum": [
"waiting",
"processing",
"building",
"ready",
"failed"
]
},
"buildLogs": {
"type": "string",
@@ -52219,11 +52324,6 @@
"description": "The url of the vcs provider repository",
"x-example": "https:\/\/github.com\/vermakhushboo\/g4-node-function"
},
"providerBranch": {
"type": "string",
"description": "The branch of the vcs repository",
"x-example": "0.7.x"
},
"providerCommitHash": {
"type": "string",
"description": "The commit hash of the vcs commit",
@@ -52249,6 +52349,11 @@
"description": "The url of the vcs commit",
"x-example": "https:\/\/github.com\/vermakhushboo\/g4-node-function\/commit\/60c0416257a9cbcdd96b2d370c38d8f8d150ccfb"
},
"providerBranch": {
"type": "string",
"description": "The branch of the vcs repository",
"x-example": "0.7.x"
},
"providerBranchUrl": {
"type": "string",
"description": "The branch of the vcs repository",
@@ -52276,12 +52381,12 @@
"providerRepositoryName",
"providerRepositoryOwner",
"providerRepositoryUrl",
"providerBranch",
"providerCommitHash",
"providerCommitAuthorUrl",
"providerCommitAuthor",
"providerCommitMessage",
"providerCommitUrl",
"providerBranch",
"providerBranchUrl"
],
"example": {
@@ -52305,12 +52410,12 @@
"providerRepositoryName": "database",
"providerRepositoryOwner": "utopia",
"providerRepositoryUrl": "https:\/\/github.com\/vermakhushboo\/g4-node-function",
"providerBranch": "0.7.x",
"providerCommitHash": "7c3f25d",
"providerCommitAuthorUrl": "https:\/\/github.com\/vermakhushboo",
"providerCommitAuthor": "Khushboo Verma",
"providerCommitMessage": "Update index.js",
"providerCommitUrl": "https:\/\/github.com\/vermakhushboo\/g4-node-function\/commit\/60c0416257a9cbcdd96b2d370c38d8f8d150ccfb",
"providerBranch": "0.7.x",
"providerBranchUrl": "https:\/\/github.com\/vermakhushboo\/appwrite\/tree\/0.7.x"
}
},
@@ -52356,12 +52461,23 @@
"trigger": {
"type": "string",
"description": "The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.",
"x-example": "http"
"x-example": "http",
"enum": [
"http",
"schedule",
"event"
]
},
"status": {
"type": "string",
"description": "The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.",
"x-example": "processing"
"x-example": "processing",
"enum": [
"waiting",
"processing",
"completed",
"failed"
]
},
"requestMethod": {
"type": "string",
@@ -52375,7 +52491,7 @@
},
"requestHeaders": {
"type": "array",
"description": "HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.",
"description": "HTTP request headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.",
"items": {
"$ref": "#\/components\/schemas\/headers"
},
@@ -53312,7 +53428,16 @@
"type": {
"type": "string",
"description": "Platform type. Possible values are: web, flutter-web, flutter-ios, flutter-android, ios, android, and unity.",
"x-example": "web"
"x-example": "web",
"enum": [
"web",
"flutter-web",
"flutter-ios",
"flutter-android",
"ios",
"android",
"unity"
]
},
"key": {
"type": "string",
@@ -53327,7 +53452,7 @@
"hostname": {
"type": "string",
"description": "Web app hostname. Empty string for other platforms.",
"x-example": true
"x-example": "app.example.com"
},
"httpUser": {
"type": "string",
@@ -53360,7 +53485,7 @@
"type": "web",
"key": "com.company.appname",
"store": "",
"hostname": true,
"hostname": "app.example.com",
"httpUser": "username",
"httpPass": "password"
}
@@ -53613,8 +53738,13 @@
},
"status": {
"type": "string",
"description": "Antivirus status. Possible values can are: `disabled`, `offline`, `online`",
"x-example": "online"
"description": "Antivirus status. Possible values are: `disabled`, `offline`, `online`",
"x-example": "online",
"enum": [
"disabled",
"offline",
"online"
]
}
},
"required": [
@@ -53661,8 +53791,12 @@
},
"status": {
"type": "string",
"description": "Service status. Possible values can are: `pass`, `fail`",
"x-example": "pass"
"description": "Service status. Possible values are: `pass`, `fail`",
"x-example": "pass",
"enum": [
"pass",
"fail"
]
}
},
"required": [
@@ -55827,7 +55961,11 @@
"deploymentResourceType": {
"type": "string",
"description": "Type of deployment. Possible values are \"function\", \"site\". Used if rule's type is \"deployment\".",
"x-example": "function"
"x-example": "function",
"enum": [
"function",
"site"
]
},
"deploymentResourceId": {
"type": "string",
@@ -55837,12 +55975,18 @@
"deploymentVcsProviderBranch": {
"type": "string",
"description": "Name of Git branch that updates rule. Used if type is \"deployment\"",
"x-example": "function"
"x-example": "main"
},
"status": {
"type": "string",
"description": "Domain verification status. Possible values are \"created\", \"verifying\", \"verified\" and \"unverified\"",
"x-example": "verified"
"x-example": "verified",
"enum": [
"created",
"verifying",
"verified",
"unverified"
]
},
"logs": {
"type": "string",
@@ -55884,7 +56028,7 @@
"deploymentId": "n3u9feiwmf",
"deploymentResourceType": "function",
"deploymentResourceId": "n3u9feiwmf",
"deploymentVcsProviderBranch": "function",
"deploymentVcsProviderBranch": "main",
"status": "verified",
"logs": "HTTP challegne failed.",
"renewAt": "datetime"
+154 -29
View File
@@ -35331,7 +35331,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35419,7 +35426,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35509,7 +35523,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35599,7 +35620,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35672,7 +35700,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35752,7 +35787,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35842,7 +35884,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35922,7 +35971,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -36002,7 +36058,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -36082,7 +36145,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -36190,7 +36260,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -36269,7 +36346,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -36360,7 +36444,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -37835,7 +37926,14 @@
"status": {
"type": "string",
"description": "Index status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -40272,7 +40370,14 @@
"status": {
"type": "string",
"description": "The deployment status. Possible values are \"waiting\", \"processing\", \"building\", \"ready\", and \"failed\".",
"x-example": "ready"
"x-example": "ready",
"enum": [
"waiting",
"processing",
"building",
"ready",
"failed"
]
},
"buildLogs": {
"type": "string",
@@ -40300,11 +40405,6 @@
"description": "The url of the vcs provider repository",
"x-example": "https:\/\/github.com\/vermakhushboo\/g4-node-function"
},
"providerBranch": {
"type": "string",
"description": "The branch of the vcs repository",
"x-example": "0.7.x"
},
"providerCommitHash": {
"type": "string",
"description": "The commit hash of the vcs commit",
@@ -40330,6 +40430,11 @@
"description": "The url of the vcs commit",
"x-example": "https:\/\/github.com\/vermakhushboo\/g4-node-function\/commit\/60c0416257a9cbcdd96b2d370c38d8f8d150ccfb"
},
"providerBranch": {
"type": "string",
"description": "The branch of the vcs repository",
"x-example": "0.7.x"
},
"providerBranchUrl": {
"type": "string",
"description": "The branch of the vcs repository",
@@ -40357,12 +40462,12 @@
"providerRepositoryName",
"providerRepositoryOwner",
"providerRepositoryUrl",
"providerBranch",
"providerCommitHash",
"providerCommitAuthorUrl",
"providerCommitAuthor",
"providerCommitMessage",
"providerCommitUrl",
"providerBranch",
"providerBranchUrl"
],
"example": {
@@ -40386,12 +40491,12 @@
"providerRepositoryName": "database",
"providerRepositoryOwner": "utopia",
"providerRepositoryUrl": "https:\/\/github.com\/vermakhushboo\/g4-node-function",
"providerBranch": "0.7.x",
"providerCommitHash": "7c3f25d",
"providerCommitAuthorUrl": "https:\/\/github.com\/vermakhushboo",
"providerCommitAuthor": "Khushboo Verma",
"providerCommitMessage": "Update index.js",
"providerCommitUrl": "https:\/\/github.com\/vermakhushboo\/g4-node-function\/commit\/60c0416257a9cbcdd96b2d370c38d8f8d150ccfb",
"providerBranch": "0.7.x",
"providerBranchUrl": "https:\/\/github.com\/vermakhushboo\/appwrite\/tree\/0.7.x"
}
},
@@ -40437,12 +40542,23 @@
"trigger": {
"type": "string",
"description": "The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.",
"x-example": "http"
"x-example": "http",
"enum": [
"http",
"schedule",
"event"
]
},
"status": {
"type": "string",
"description": "The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.",
"x-example": "processing"
"x-example": "processing",
"enum": [
"waiting",
"processing",
"completed",
"failed"
]
},
"requestMethod": {
"type": "string",
@@ -40456,7 +40572,7 @@
},
"requestHeaders": {
"type": "array",
"description": "HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.",
"description": "HTTP request headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.",
"items": {
"$ref": "#\/components\/schemas\/headers"
},
@@ -40810,8 +40926,13 @@
},
"status": {
"type": "string",
"description": "Antivirus status. Possible values can are: `disabled`, `offline`, `online`",
"x-example": "online"
"description": "Antivirus status. Possible values are: `disabled`, `offline`, `online`",
"x-example": "online",
"enum": [
"disabled",
"offline",
"online"
]
}
},
"required": [
@@ -40858,8 +40979,12 @@
},
"status": {
"type": "string",
"description": "Service status. Possible values can are: `pass`, `fail`",
"x-example": "pass"
"description": "Service status. Possible values are: `pass`, `fail`",
"x-example": "pass",
"enum": [
"pass",
"fail"
]
}
},
"required": [
+14 -3
View File
@@ -11393,12 +11393,23 @@
"trigger": {
"type": "string",
"description": "The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.",
"x-example": "http"
"x-example": "http",
"enum": [
"http",
"schedule",
"event"
]
},
"status": {
"type": "string",
"description": "The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.",
"x-example": "processing"
"x-example": "processing",
"enum": [
"waiting",
"processing",
"completed",
"failed"
]
},
"requestMethod": {
"type": "string",
@@ -11412,7 +11423,7 @@
},
"requestHeaders": {
"type": "array",
"description": "HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.",
"description": "HTTP request headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.",
"items": {
"$ref": "#\/components\/schemas\/headers"
},
+180 -36
View File
@@ -46461,7 +46461,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -46549,7 +46556,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -46639,7 +46653,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -46729,7 +46750,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -46802,7 +46830,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -46882,7 +46917,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -46972,7 +47014,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -47052,7 +47101,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -47132,7 +47188,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -47212,7 +47275,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -47320,7 +47390,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -47399,7 +47476,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -47490,7 +47574,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -48965,7 +49056,14 @@
"status": {
"type": "string",
"description": "Index status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -52191,7 +52289,14 @@
"status": {
"type": "string",
"description": "The deployment status. Possible values are \"waiting\", \"processing\", \"building\", \"ready\", and \"failed\".",
"x-example": "ready"
"x-example": "ready",
"enum": [
"waiting",
"processing",
"building",
"ready",
"failed"
]
},
"buildLogs": {
"type": "string",
@@ -52219,11 +52324,6 @@
"description": "The url of the vcs provider repository",
"x-example": "https:\/\/github.com\/vermakhushboo\/g4-node-function"
},
"providerBranch": {
"type": "string",
"description": "The branch of the vcs repository",
"x-example": "0.7.x"
},
"providerCommitHash": {
"type": "string",
"description": "The commit hash of the vcs commit",
@@ -52249,6 +52349,11 @@
"description": "The url of the vcs commit",
"x-example": "https:\/\/github.com\/vermakhushboo\/g4-node-function\/commit\/60c0416257a9cbcdd96b2d370c38d8f8d150ccfb"
},
"providerBranch": {
"type": "string",
"description": "The branch of the vcs repository",
"x-example": "0.7.x"
},
"providerBranchUrl": {
"type": "string",
"description": "The branch of the vcs repository",
@@ -52276,12 +52381,12 @@
"providerRepositoryName",
"providerRepositoryOwner",
"providerRepositoryUrl",
"providerBranch",
"providerCommitHash",
"providerCommitAuthorUrl",
"providerCommitAuthor",
"providerCommitMessage",
"providerCommitUrl",
"providerBranch",
"providerBranchUrl"
],
"example": {
@@ -52305,12 +52410,12 @@
"providerRepositoryName": "database",
"providerRepositoryOwner": "utopia",
"providerRepositoryUrl": "https:\/\/github.com\/vermakhushboo\/g4-node-function",
"providerBranch": "0.7.x",
"providerCommitHash": "7c3f25d",
"providerCommitAuthorUrl": "https:\/\/github.com\/vermakhushboo",
"providerCommitAuthor": "Khushboo Verma",
"providerCommitMessage": "Update index.js",
"providerCommitUrl": "https:\/\/github.com\/vermakhushboo\/g4-node-function\/commit\/60c0416257a9cbcdd96b2d370c38d8f8d150ccfb",
"providerBranch": "0.7.x",
"providerBranchUrl": "https:\/\/github.com\/vermakhushboo\/appwrite\/tree\/0.7.x"
}
},
@@ -52356,12 +52461,23 @@
"trigger": {
"type": "string",
"description": "The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.",
"x-example": "http"
"x-example": "http",
"enum": [
"http",
"schedule",
"event"
]
},
"status": {
"type": "string",
"description": "The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.",
"x-example": "processing"
"x-example": "processing",
"enum": [
"waiting",
"processing",
"completed",
"failed"
]
},
"requestMethod": {
"type": "string",
@@ -52375,7 +52491,7 @@
},
"requestHeaders": {
"type": "array",
"description": "HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.",
"description": "HTTP request headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.",
"items": {
"$ref": "#\/components\/schemas\/headers"
},
@@ -53312,7 +53428,16 @@
"type": {
"type": "string",
"description": "Platform type. Possible values are: web, flutter-web, flutter-ios, flutter-android, ios, android, and unity.",
"x-example": "web"
"x-example": "web",
"enum": [
"web",
"flutter-web",
"flutter-ios",
"flutter-android",
"ios",
"android",
"unity"
]
},
"key": {
"type": "string",
@@ -53327,7 +53452,7 @@
"hostname": {
"type": "string",
"description": "Web app hostname. Empty string for other platforms.",
"x-example": true
"x-example": "app.example.com"
},
"httpUser": {
"type": "string",
@@ -53360,7 +53485,7 @@
"type": "web",
"key": "com.company.appname",
"store": "",
"hostname": true,
"hostname": "app.example.com",
"httpUser": "username",
"httpPass": "password"
}
@@ -53613,8 +53738,13 @@
},
"status": {
"type": "string",
"description": "Antivirus status. Possible values can are: `disabled`, `offline`, `online`",
"x-example": "online"
"description": "Antivirus status. Possible values are: `disabled`, `offline`, `online`",
"x-example": "online",
"enum": [
"disabled",
"offline",
"online"
]
}
},
"required": [
@@ -53661,8 +53791,12 @@
},
"status": {
"type": "string",
"description": "Service status. Possible values can are: `pass`, `fail`",
"x-example": "pass"
"description": "Service status. Possible values are: `pass`, `fail`",
"x-example": "pass",
"enum": [
"pass",
"fail"
]
}
},
"required": [
@@ -55827,7 +55961,11 @@
"deploymentResourceType": {
"type": "string",
"description": "Type of deployment. Possible values are \"function\", \"site\". Used if rule's type is \"deployment\".",
"x-example": "function"
"x-example": "function",
"enum": [
"function",
"site"
]
},
"deploymentResourceId": {
"type": "string",
@@ -55837,12 +55975,18 @@
"deploymentVcsProviderBranch": {
"type": "string",
"description": "Name of Git branch that updates rule. Used if type is \"deployment\"",
"x-example": "function"
"x-example": "main"
},
"status": {
"type": "string",
"description": "Domain verification status. Possible values are \"created\", \"verifying\", \"verified\" and \"unverified\"",
"x-example": "verified"
"x-example": "verified",
"enum": [
"created",
"verifying",
"verified",
"unverified"
]
},
"logs": {
"type": "string",
@@ -55884,7 +56028,7 @@
"deploymentId": "n3u9feiwmf",
"deploymentResourceType": "function",
"deploymentResourceId": "n3u9feiwmf",
"deploymentVcsProviderBranch": "function",
"deploymentVcsProviderBranch": "main",
"status": "verified",
"logs": "HTTP challegne failed.",
"renewAt": "datetime"
+154 -29
View File
@@ -35331,7 +35331,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35419,7 +35426,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35509,7 +35523,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35599,7 +35620,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35672,7 +35700,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35752,7 +35787,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35842,7 +35884,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35922,7 +35971,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -36002,7 +36058,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -36082,7 +36145,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -36190,7 +36260,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -36269,7 +36346,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -36360,7 +36444,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -37835,7 +37926,14 @@
"status": {
"type": "string",
"description": "Index status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -40272,7 +40370,14 @@
"status": {
"type": "string",
"description": "The deployment status. Possible values are \"waiting\", \"processing\", \"building\", \"ready\", and \"failed\".",
"x-example": "ready"
"x-example": "ready",
"enum": [
"waiting",
"processing",
"building",
"ready",
"failed"
]
},
"buildLogs": {
"type": "string",
@@ -40300,11 +40405,6 @@
"description": "The url of the vcs provider repository",
"x-example": "https:\/\/github.com\/vermakhushboo\/g4-node-function"
},
"providerBranch": {
"type": "string",
"description": "The branch of the vcs repository",
"x-example": "0.7.x"
},
"providerCommitHash": {
"type": "string",
"description": "The commit hash of the vcs commit",
@@ -40330,6 +40430,11 @@
"description": "The url of the vcs commit",
"x-example": "https:\/\/github.com\/vermakhushboo\/g4-node-function\/commit\/60c0416257a9cbcdd96b2d370c38d8f8d150ccfb"
},
"providerBranch": {
"type": "string",
"description": "The branch of the vcs repository",
"x-example": "0.7.x"
},
"providerBranchUrl": {
"type": "string",
"description": "The branch of the vcs repository",
@@ -40357,12 +40462,12 @@
"providerRepositoryName",
"providerRepositoryOwner",
"providerRepositoryUrl",
"providerBranch",
"providerCommitHash",
"providerCommitAuthorUrl",
"providerCommitAuthor",
"providerCommitMessage",
"providerCommitUrl",
"providerBranch",
"providerBranchUrl"
],
"example": {
@@ -40386,12 +40491,12 @@
"providerRepositoryName": "database",
"providerRepositoryOwner": "utopia",
"providerRepositoryUrl": "https:\/\/github.com\/vermakhushboo\/g4-node-function",
"providerBranch": "0.7.x",
"providerCommitHash": "7c3f25d",
"providerCommitAuthorUrl": "https:\/\/github.com\/vermakhushboo",
"providerCommitAuthor": "Khushboo Verma",
"providerCommitMessage": "Update index.js",
"providerCommitUrl": "https:\/\/github.com\/vermakhushboo\/g4-node-function\/commit\/60c0416257a9cbcdd96b2d370c38d8f8d150ccfb",
"providerBranch": "0.7.x",
"providerBranchUrl": "https:\/\/github.com\/vermakhushboo\/appwrite\/tree\/0.7.x"
}
},
@@ -40437,12 +40542,23 @@
"trigger": {
"type": "string",
"description": "The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.",
"x-example": "http"
"x-example": "http",
"enum": [
"http",
"schedule",
"event"
]
},
"status": {
"type": "string",
"description": "The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.",
"x-example": "processing"
"x-example": "processing",
"enum": [
"waiting",
"processing",
"completed",
"failed"
]
},
"requestMethod": {
"type": "string",
@@ -40456,7 +40572,7 @@
},
"requestHeaders": {
"type": "array",
"description": "HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.",
"description": "HTTP request headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.",
"items": {
"$ref": "#\/components\/schemas\/headers"
},
@@ -40810,8 +40926,13 @@
},
"status": {
"type": "string",
"description": "Antivirus status. Possible values can are: `disabled`, `offline`, `online`",
"x-example": "online"
"description": "Antivirus status. Possible values are: `disabled`, `offline`, `online`",
"x-example": "online",
"enum": [
"disabled",
"offline",
"online"
]
}
},
"required": [
@@ -40858,8 +40979,12 @@
},
"status": {
"type": "string",
"description": "Service status. Possible values can are: `pass`, `fail`",
"x-example": "pass"
"description": "Service status. Possible values are: `pass`, `fail`",
"x-example": "pass",
"enum": [
"pass",
"fail"
]
}
},
"required": [
+14 -3
View File
@@ -11392,12 +11392,23 @@
"trigger": {
"type": "string",
"description": "The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.",
"x-example": "http"
"x-example": "http",
"enum": [
"http",
"schedule",
"event"
]
},
"status": {
"type": "string",
"description": "The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.",
"x-example": "processing"
"x-example": "processing",
"enum": [
"waiting",
"processing",
"completed",
"failed"
]
},
"requestMethod": {
"type": "string",
@@ -11411,7 +11422,7 @@
},
"requestHeaders": {
"type": "array",
"description": "HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.",
"description": "HTTP request headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.",
"items": {
"type": "object",
"$ref": "#\/definitions\/headers"
+180 -36
View File
@@ -46398,7 +46398,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -46486,7 +46493,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -46576,7 +46590,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -46666,7 +46687,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -46739,7 +46767,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -46819,7 +46854,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -46909,7 +46951,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -46989,7 +47038,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -47069,7 +47125,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -47149,7 +47212,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -47257,7 +47327,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -47336,7 +47413,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -47427,7 +47511,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -48903,7 +48994,14 @@
"status": {
"type": "string",
"description": "Index status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -52139,7 +52237,14 @@
"status": {
"type": "string",
"description": "The deployment status. Possible values are \"waiting\", \"processing\", \"building\", \"ready\", and \"failed\".",
"x-example": "ready"
"x-example": "ready",
"enum": [
"waiting",
"processing",
"building",
"ready",
"failed"
]
},
"buildLogs": {
"type": "string",
@@ -52167,11 +52272,6 @@
"description": "The url of the vcs provider repository",
"x-example": "https:\/\/github.com\/vermakhushboo\/g4-node-function"
},
"providerBranch": {
"type": "string",
"description": "The branch of the vcs repository",
"x-example": "0.7.x"
},
"providerCommitHash": {
"type": "string",
"description": "The commit hash of the vcs commit",
@@ -52197,6 +52297,11 @@
"description": "The url of the vcs commit",
"x-example": "https:\/\/github.com\/vermakhushboo\/g4-node-function\/commit\/60c0416257a9cbcdd96b2d370c38d8f8d150ccfb"
},
"providerBranch": {
"type": "string",
"description": "The branch of the vcs repository",
"x-example": "0.7.x"
},
"providerBranchUrl": {
"type": "string",
"description": "The branch of the vcs repository",
@@ -52224,12 +52329,12 @@
"providerRepositoryName",
"providerRepositoryOwner",
"providerRepositoryUrl",
"providerBranch",
"providerCommitHash",
"providerCommitAuthorUrl",
"providerCommitAuthor",
"providerCommitMessage",
"providerCommitUrl",
"providerBranch",
"providerBranchUrl"
],
"example": {
@@ -52253,12 +52358,12 @@
"providerRepositoryName": "database",
"providerRepositoryOwner": "utopia",
"providerRepositoryUrl": "https:\/\/github.com\/vermakhushboo\/g4-node-function",
"providerBranch": "0.7.x",
"providerCommitHash": "7c3f25d",
"providerCommitAuthorUrl": "https:\/\/github.com\/vermakhushboo",
"providerCommitAuthor": "Khushboo Verma",
"providerCommitMessage": "Update index.js",
"providerCommitUrl": "https:\/\/github.com\/vermakhushboo\/g4-node-function\/commit\/60c0416257a9cbcdd96b2d370c38d8f8d150ccfb",
"providerBranch": "0.7.x",
"providerBranchUrl": "https:\/\/github.com\/vermakhushboo\/appwrite\/tree\/0.7.x"
}
},
@@ -52304,12 +52409,23 @@
"trigger": {
"type": "string",
"description": "The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.",
"x-example": "http"
"x-example": "http",
"enum": [
"http",
"schedule",
"event"
]
},
"status": {
"type": "string",
"description": "The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.",
"x-example": "processing"
"x-example": "processing",
"enum": [
"waiting",
"processing",
"completed",
"failed"
]
},
"requestMethod": {
"type": "string",
@@ -52323,7 +52439,7 @@
},
"requestHeaders": {
"type": "array",
"description": "HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.",
"description": "HTTP request headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.",
"items": {
"type": "object",
"$ref": "#\/definitions\/headers"
@@ -53268,7 +53384,16 @@
"type": {
"type": "string",
"description": "Platform type. Possible values are: web, flutter-web, flutter-ios, flutter-android, ios, android, and unity.",
"x-example": "web"
"x-example": "web",
"enum": [
"web",
"flutter-web",
"flutter-ios",
"flutter-android",
"ios",
"android",
"unity"
]
},
"key": {
"type": "string",
@@ -53283,7 +53408,7 @@
"hostname": {
"type": "string",
"description": "Web app hostname. Empty string for other platforms.",
"x-example": true
"x-example": "app.example.com"
},
"httpUser": {
"type": "string",
@@ -53316,7 +53441,7 @@
"type": "web",
"key": "com.company.appname",
"store": "",
"hostname": true,
"hostname": "app.example.com",
"httpUser": "username",
"httpPass": "password"
}
@@ -53569,8 +53694,13 @@
},
"status": {
"type": "string",
"description": "Antivirus status. Possible values can are: `disabled`, `offline`, `online`",
"x-example": "online"
"description": "Antivirus status. Possible values are: `disabled`, `offline`, `online`",
"x-example": "online",
"enum": [
"disabled",
"offline",
"online"
]
}
},
"required": [
@@ -53617,8 +53747,12 @@
},
"status": {
"type": "string",
"description": "Service status. Possible values can are: `pass`, `fail`",
"x-example": "pass"
"description": "Service status. Possible values are: `pass`, `fail`",
"x-example": "pass",
"enum": [
"pass",
"fail"
]
}
},
"required": [
@@ -55874,7 +56008,11 @@
"deploymentResourceType": {
"type": "string",
"description": "Type of deployment. Possible values are \"function\", \"site\". Used if rule's type is \"deployment\".",
"x-example": "function"
"x-example": "function",
"enum": [
"function",
"site"
]
},
"deploymentResourceId": {
"type": "string",
@@ -55884,12 +56022,18 @@
"deploymentVcsProviderBranch": {
"type": "string",
"description": "Name of Git branch that updates rule. Used if type is \"deployment\"",
"x-example": "function"
"x-example": "main"
},
"status": {
"type": "string",
"description": "Domain verification status. Possible values are \"created\", \"verifying\", \"verified\" and \"unverified\"",
"x-example": "verified"
"x-example": "verified",
"enum": [
"created",
"verifying",
"verified",
"unverified"
]
},
"logs": {
"type": "string",
@@ -55931,7 +56075,7 @@
"deploymentId": "n3u9feiwmf",
"deploymentResourceType": "function",
"deploymentResourceId": "n3u9feiwmf",
"deploymentVcsProviderBranch": "function",
"deploymentVcsProviderBranch": "main",
"status": "verified",
"logs": "HTTP challegne failed.",
"renewAt": "datetime"
+154 -29
View File
@@ -35359,7 +35359,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35447,7 +35454,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35537,7 +35551,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35627,7 +35648,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35700,7 +35728,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35780,7 +35815,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35870,7 +35912,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35950,7 +35999,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -36030,7 +36086,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -36110,7 +36173,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -36218,7 +36288,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -36297,7 +36374,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -36388,7 +36472,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -37864,7 +37955,14 @@
"status": {
"type": "string",
"description": "Index status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -40307,7 +40405,14 @@
"status": {
"type": "string",
"description": "The deployment status. Possible values are \"waiting\", \"processing\", \"building\", \"ready\", and \"failed\".",
"x-example": "ready"
"x-example": "ready",
"enum": [
"waiting",
"processing",
"building",
"ready",
"failed"
]
},
"buildLogs": {
"type": "string",
@@ -40335,11 +40440,6 @@
"description": "The url of the vcs provider repository",
"x-example": "https:\/\/github.com\/vermakhushboo\/g4-node-function"
},
"providerBranch": {
"type": "string",
"description": "The branch of the vcs repository",
"x-example": "0.7.x"
},
"providerCommitHash": {
"type": "string",
"description": "The commit hash of the vcs commit",
@@ -40365,6 +40465,11 @@
"description": "The url of the vcs commit",
"x-example": "https:\/\/github.com\/vermakhushboo\/g4-node-function\/commit\/60c0416257a9cbcdd96b2d370c38d8f8d150ccfb"
},
"providerBranch": {
"type": "string",
"description": "The branch of the vcs repository",
"x-example": "0.7.x"
},
"providerBranchUrl": {
"type": "string",
"description": "The branch of the vcs repository",
@@ -40392,12 +40497,12 @@
"providerRepositoryName",
"providerRepositoryOwner",
"providerRepositoryUrl",
"providerBranch",
"providerCommitHash",
"providerCommitAuthorUrl",
"providerCommitAuthor",
"providerCommitMessage",
"providerCommitUrl",
"providerBranch",
"providerBranchUrl"
],
"example": {
@@ -40421,12 +40526,12 @@
"providerRepositoryName": "database",
"providerRepositoryOwner": "utopia",
"providerRepositoryUrl": "https:\/\/github.com\/vermakhushboo\/g4-node-function",
"providerBranch": "0.7.x",
"providerCommitHash": "7c3f25d",
"providerCommitAuthorUrl": "https:\/\/github.com\/vermakhushboo",
"providerCommitAuthor": "Khushboo Verma",
"providerCommitMessage": "Update index.js",
"providerCommitUrl": "https:\/\/github.com\/vermakhushboo\/g4-node-function\/commit\/60c0416257a9cbcdd96b2d370c38d8f8d150ccfb",
"providerBranch": "0.7.x",
"providerBranchUrl": "https:\/\/github.com\/vermakhushboo\/appwrite\/tree\/0.7.x"
}
},
@@ -40472,12 +40577,23 @@
"trigger": {
"type": "string",
"description": "The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.",
"x-example": "http"
"x-example": "http",
"enum": [
"http",
"schedule",
"event"
]
},
"status": {
"type": "string",
"description": "The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.",
"x-example": "processing"
"x-example": "processing",
"enum": [
"waiting",
"processing",
"completed",
"failed"
]
},
"requestMethod": {
"type": "string",
@@ -40491,7 +40607,7 @@
},
"requestHeaders": {
"type": "array",
"description": "HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.",
"description": "HTTP request headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.",
"items": {
"type": "object",
"$ref": "#\/definitions\/headers"
@@ -40847,8 +40963,13 @@
},
"status": {
"type": "string",
"description": "Antivirus status. Possible values can are: `disabled`, `offline`, `online`",
"x-example": "online"
"description": "Antivirus status. Possible values are: `disabled`, `offline`, `online`",
"x-example": "online",
"enum": [
"disabled",
"offline",
"online"
]
}
},
"required": [
@@ -40895,8 +41016,12 @@
},
"status": {
"type": "string",
"description": "Service status. Possible values can are: `pass`, `fail`",
"x-example": "pass"
"description": "Service status. Possible values are: `pass`, `fail`",
"x-example": "pass",
"enum": [
"pass",
"fail"
]
}
},
"required": [
+14 -3
View File
@@ -11392,12 +11392,23 @@
"trigger": {
"type": "string",
"description": "The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.",
"x-example": "http"
"x-example": "http",
"enum": [
"http",
"schedule",
"event"
]
},
"status": {
"type": "string",
"description": "The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.",
"x-example": "processing"
"x-example": "processing",
"enum": [
"waiting",
"processing",
"completed",
"failed"
]
},
"requestMethod": {
"type": "string",
@@ -11411,7 +11422,7 @@
},
"requestHeaders": {
"type": "array",
"description": "HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.",
"description": "HTTP request headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.",
"items": {
"type": "object",
"$ref": "#\/definitions\/headers"
+180 -36
View File
@@ -46398,7 +46398,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -46486,7 +46493,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -46576,7 +46590,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -46666,7 +46687,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -46739,7 +46767,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -46819,7 +46854,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -46909,7 +46951,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -46989,7 +47038,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -47069,7 +47125,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -47149,7 +47212,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -47257,7 +47327,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -47336,7 +47413,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -47427,7 +47511,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -48903,7 +48994,14 @@
"status": {
"type": "string",
"description": "Index status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -52139,7 +52237,14 @@
"status": {
"type": "string",
"description": "The deployment status. Possible values are \"waiting\", \"processing\", \"building\", \"ready\", and \"failed\".",
"x-example": "ready"
"x-example": "ready",
"enum": [
"waiting",
"processing",
"building",
"ready",
"failed"
]
},
"buildLogs": {
"type": "string",
@@ -52167,11 +52272,6 @@
"description": "The url of the vcs provider repository",
"x-example": "https:\/\/github.com\/vermakhushboo\/g4-node-function"
},
"providerBranch": {
"type": "string",
"description": "The branch of the vcs repository",
"x-example": "0.7.x"
},
"providerCommitHash": {
"type": "string",
"description": "The commit hash of the vcs commit",
@@ -52197,6 +52297,11 @@
"description": "The url of the vcs commit",
"x-example": "https:\/\/github.com\/vermakhushboo\/g4-node-function\/commit\/60c0416257a9cbcdd96b2d370c38d8f8d150ccfb"
},
"providerBranch": {
"type": "string",
"description": "The branch of the vcs repository",
"x-example": "0.7.x"
},
"providerBranchUrl": {
"type": "string",
"description": "The branch of the vcs repository",
@@ -52224,12 +52329,12 @@
"providerRepositoryName",
"providerRepositoryOwner",
"providerRepositoryUrl",
"providerBranch",
"providerCommitHash",
"providerCommitAuthorUrl",
"providerCommitAuthor",
"providerCommitMessage",
"providerCommitUrl",
"providerBranch",
"providerBranchUrl"
],
"example": {
@@ -52253,12 +52358,12 @@
"providerRepositoryName": "database",
"providerRepositoryOwner": "utopia",
"providerRepositoryUrl": "https:\/\/github.com\/vermakhushboo\/g4-node-function",
"providerBranch": "0.7.x",
"providerCommitHash": "7c3f25d",
"providerCommitAuthorUrl": "https:\/\/github.com\/vermakhushboo",
"providerCommitAuthor": "Khushboo Verma",
"providerCommitMessage": "Update index.js",
"providerCommitUrl": "https:\/\/github.com\/vermakhushboo\/g4-node-function\/commit\/60c0416257a9cbcdd96b2d370c38d8f8d150ccfb",
"providerBranch": "0.7.x",
"providerBranchUrl": "https:\/\/github.com\/vermakhushboo\/appwrite\/tree\/0.7.x"
}
},
@@ -52304,12 +52409,23 @@
"trigger": {
"type": "string",
"description": "The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.",
"x-example": "http"
"x-example": "http",
"enum": [
"http",
"schedule",
"event"
]
},
"status": {
"type": "string",
"description": "The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.",
"x-example": "processing"
"x-example": "processing",
"enum": [
"waiting",
"processing",
"completed",
"failed"
]
},
"requestMethod": {
"type": "string",
@@ -52323,7 +52439,7 @@
},
"requestHeaders": {
"type": "array",
"description": "HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.",
"description": "HTTP request headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.",
"items": {
"type": "object",
"$ref": "#\/definitions\/headers"
@@ -53268,7 +53384,16 @@
"type": {
"type": "string",
"description": "Platform type. Possible values are: web, flutter-web, flutter-ios, flutter-android, ios, android, and unity.",
"x-example": "web"
"x-example": "web",
"enum": [
"web",
"flutter-web",
"flutter-ios",
"flutter-android",
"ios",
"android",
"unity"
]
},
"key": {
"type": "string",
@@ -53283,7 +53408,7 @@
"hostname": {
"type": "string",
"description": "Web app hostname. Empty string for other platforms.",
"x-example": true
"x-example": "app.example.com"
},
"httpUser": {
"type": "string",
@@ -53316,7 +53441,7 @@
"type": "web",
"key": "com.company.appname",
"store": "",
"hostname": true,
"hostname": "app.example.com",
"httpUser": "username",
"httpPass": "password"
}
@@ -53569,8 +53694,13 @@
},
"status": {
"type": "string",
"description": "Antivirus status. Possible values can are: `disabled`, `offline`, `online`",
"x-example": "online"
"description": "Antivirus status. Possible values are: `disabled`, `offline`, `online`",
"x-example": "online",
"enum": [
"disabled",
"offline",
"online"
]
}
},
"required": [
@@ -53617,8 +53747,12 @@
},
"status": {
"type": "string",
"description": "Service status. Possible values can are: `pass`, `fail`",
"x-example": "pass"
"description": "Service status. Possible values are: `pass`, `fail`",
"x-example": "pass",
"enum": [
"pass",
"fail"
]
}
},
"required": [
@@ -55874,7 +56008,11 @@
"deploymentResourceType": {
"type": "string",
"description": "Type of deployment. Possible values are \"function\", \"site\". Used if rule's type is \"deployment\".",
"x-example": "function"
"x-example": "function",
"enum": [
"function",
"site"
]
},
"deploymentResourceId": {
"type": "string",
@@ -55884,12 +56022,18 @@
"deploymentVcsProviderBranch": {
"type": "string",
"description": "Name of Git branch that updates rule. Used if type is \"deployment\"",
"x-example": "function"
"x-example": "main"
},
"status": {
"type": "string",
"description": "Domain verification status. Possible values are \"created\", \"verifying\", \"verified\" and \"unverified\"",
"x-example": "verified"
"x-example": "verified",
"enum": [
"created",
"verifying",
"verified",
"unverified"
]
},
"logs": {
"type": "string",
@@ -55931,7 +56075,7 @@
"deploymentId": "n3u9feiwmf",
"deploymentResourceType": "function",
"deploymentResourceId": "n3u9feiwmf",
"deploymentVcsProviderBranch": "function",
"deploymentVcsProviderBranch": "main",
"status": "verified",
"logs": "HTTP challegne failed.",
"renewAt": "datetime"
+154 -29
View File
@@ -35359,7 +35359,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35447,7 +35454,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35537,7 +35551,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35627,7 +35648,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35700,7 +35728,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35780,7 +35815,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35870,7 +35912,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -35950,7 +35999,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -36030,7 +36086,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -36110,7 +36173,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -36218,7 +36288,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -36297,7 +36374,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -36388,7 +36472,14 @@
"status": {
"type": "string",
"description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -37864,7 +37955,14 @@
"status": {
"type": "string",
"description": "Index status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`",
"x-example": "available"
"x-example": "available",
"enum": [
"available",
"processing",
"deleting",
"stuck",
"failed"
]
},
"error": {
"type": "string",
@@ -40307,7 +40405,14 @@
"status": {
"type": "string",
"description": "The deployment status. Possible values are \"waiting\", \"processing\", \"building\", \"ready\", and \"failed\".",
"x-example": "ready"
"x-example": "ready",
"enum": [
"waiting",
"processing",
"building",
"ready",
"failed"
]
},
"buildLogs": {
"type": "string",
@@ -40335,11 +40440,6 @@
"description": "The url of the vcs provider repository",
"x-example": "https:\/\/github.com\/vermakhushboo\/g4-node-function"
},
"providerBranch": {
"type": "string",
"description": "The branch of the vcs repository",
"x-example": "0.7.x"
},
"providerCommitHash": {
"type": "string",
"description": "The commit hash of the vcs commit",
@@ -40365,6 +40465,11 @@
"description": "The url of the vcs commit",
"x-example": "https:\/\/github.com\/vermakhushboo\/g4-node-function\/commit\/60c0416257a9cbcdd96b2d370c38d8f8d150ccfb"
},
"providerBranch": {
"type": "string",
"description": "The branch of the vcs repository",
"x-example": "0.7.x"
},
"providerBranchUrl": {
"type": "string",
"description": "The branch of the vcs repository",
@@ -40392,12 +40497,12 @@
"providerRepositoryName",
"providerRepositoryOwner",
"providerRepositoryUrl",
"providerBranch",
"providerCommitHash",
"providerCommitAuthorUrl",
"providerCommitAuthor",
"providerCommitMessage",
"providerCommitUrl",
"providerBranch",
"providerBranchUrl"
],
"example": {
@@ -40421,12 +40526,12 @@
"providerRepositoryName": "database",
"providerRepositoryOwner": "utopia",
"providerRepositoryUrl": "https:\/\/github.com\/vermakhushboo\/g4-node-function",
"providerBranch": "0.7.x",
"providerCommitHash": "7c3f25d",
"providerCommitAuthorUrl": "https:\/\/github.com\/vermakhushboo",
"providerCommitAuthor": "Khushboo Verma",
"providerCommitMessage": "Update index.js",
"providerCommitUrl": "https:\/\/github.com\/vermakhushboo\/g4-node-function\/commit\/60c0416257a9cbcdd96b2d370c38d8f8d150ccfb",
"providerBranch": "0.7.x",
"providerBranchUrl": "https:\/\/github.com\/vermakhushboo\/appwrite\/tree\/0.7.x"
}
},
@@ -40472,12 +40577,23 @@
"trigger": {
"type": "string",
"description": "The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.",
"x-example": "http"
"x-example": "http",
"enum": [
"http",
"schedule",
"event"
]
},
"status": {
"type": "string",
"description": "The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.",
"x-example": "processing"
"x-example": "processing",
"enum": [
"waiting",
"processing",
"completed",
"failed"
]
},
"requestMethod": {
"type": "string",
@@ -40491,7 +40607,7 @@
},
"requestHeaders": {
"type": "array",
"description": "HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.",
"description": "HTTP request headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.",
"items": {
"type": "object",
"$ref": "#\/definitions\/headers"
@@ -40847,8 +40963,13 @@
},
"status": {
"type": "string",
"description": "Antivirus status. Possible values can are: `disabled`, `offline`, `online`",
"x-example": "online"
"description": "Antivirus status. Possible values are: `disabled`, `offline`, `online`",
"x-example": "online",
"enum": [
"disabled",
"offline",
"online"
]
}
},
"required": [
@@ -40895,8 +41016,12 @@
},
"status": {
"type": "string",
"description": "Service status. Possible values can are: `pass`, `fail`",
"x-example": "pass"
"description": "Service status. Possible values are: `pass`, `fail`",
"x-example": "pass",
"enum": [
"pass",
"fail"
]
}
},
"required": [
+3 -1
View File
@@ -58,7 +58,8 @@ class Mapper
'json' => Types::json(),
'none' => Types::json(),
'any' => Types::json(),
'array' => Types::json()
'array' => Types::json(),
'enum' => Type::string()
];
foreach ($defaults as $type => $default) {
@@ -452,6 +453,7 @@ class Mapper
'ip' => static::model("{$prefix}Ip"),
default => static::model("{$prefix}String"),
},
'enum' => static::model("{$prefix}String"), // TODO: Add enum type (breaking change if added)
'integer' => static::model("{$prefix}Integer"),
'double' => static::model("{$prefix}Float"),
'boolean' => static::model("{$prefix}Boolean"),
@@ -682,6 +682,10 @@ class OpenAPI3 extends Format
$type = 'string';
break;
case 'enum':
$type = 'string';
break;
case 'json':
$type = 'object';
$output['components']['schemas'][$model->getType()]['properties'][$name]['additionalProperties'] = true;
@@ -770,6 +774,13 @@ class OpenAPI3 extends Format
if ($items) {
$output['components']['schemas'][$model->getType()]['properties'][$name]['items'] = $items;
}
if ($rule['type'] === 'enum' && !empty($rule['enum'])) {
if ($rule['array']) {
$output['components']['schemas'][$model->getType()]['properties'][$name]['items']['enum'] = $rule['enum'];
} else {
$output['components']['schemas'][$model->getType()]['properties'][$name]['enum'] = $rule['enum'];
}
}
if (!in_array($name, $required)) {
$output['components']['schemas'][$model->getType()]['properties'][$name]['nullable'] = true;
}
@@ -690,6 +690,10 @@ class Swagger2 extends Format
$type = 'string';
break;
case 'enum':
$type = 'string';
break;
case 'json':
$type = 'object';
break;
@@ -792,6 +796,13 @@ class Swagger2 extends Format
if ($items) {
$output['definitions'][$model->getType()]['properties'][$name]['items'] = $items;
}
if ($rule['type'] === 'enum' && !empty($rule['enum'])) {
if ($rule['array']) {
$output['definitions'][$model->getType()]['properties'][$name]['items']['enum'] = $rule['enum'];
} else {
$output['definitions'][$model->getType()]['properties'][$name]['enum'] = $rule['enum'];
}
}
if (!in_array($name, $required)) {
$output['definitions'][$model->getType()]['properties'][$name]['x-nullable'] = true;
}
+1
View File
@@ -16,6 +16,7 @@ abstract class Model
public const TYPE_RELATIONSHIP = 'relationship';
public const TYPE_PAYLOAD = 'payload';
public const TYPE_ARRAY = 'array';
public const TYPE_ENUM = 'enum';
/**
* @var bool
@@ -23,10 +23,11 @@ class Attribute extends Model
'example' => 'string',
])
->addRule('status', [
'type' => self::TYPE_STRING,
'type' => self::TYPE_ENUM,
'description' => 'Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`',
'default' => '',
'example' => 'available',
'enum' => ['available', 'processing', 'deleting', 'stuck', 'failed'],
])
->addRule('error', [
'type' => self::TYPE_STRING,
@@ -95,10 +95,11 @@ class Deployment extends Model
'example' => '5e5ea5c16897e',
])
->addRule('status', [
'type' => self::TYPE_STRING,
'type' => self::TYPE_ENUM,
'description' => 'The deployment status. Possible values are "waiting", "processing", "building", "ready", and "failed".',
'default' => '',
'example' => 'ready',
'enum' => ['waiting', 'processing', 'building', 'ready', 'failed'],
])
->addRule('buildLogs', [
'type' => self::TYPE_STRING,
@@ -130,12 +131,6 @@ class Deployment extends Model
'default' => '',
'example' => 'https://github.com/vermakhushboo/g4-node-function',
])
->addRule('providerBranch', [
'type' => self::TYPE_STRING,
'description' => 'The branch name of the vcs provider repository',
'default' => '',
'example' => 'main',
])
->addRule('providerCommitHash', [
'type' => self::TYPE_STRING,
'description' => 'The commit hash of the vcs commit',
@@ -52,16 +52,18 @@ class Execution extends Model
'example' => '5e5ea5c16897e',
])
->addRule('trigger', [
'type' => self::TYPE_STRING,
'type' => self::TYPE_ENUM,
'description' => 'The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.',
'default' => '',
'example' => 'http',
'enum' => ['http', 'schedule', 'event'],
])
->addRule('status', [
'type' => self::TYPE_STRING,
'type' => self::TYPE_ENUM,
'description' => 'The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.',
'default' => '',
'example' => 'processing',
'enum' => ['waiting', 'processing', 'completed', 'failed'],
])
->addRule('requestMethod', [
'type' => self::TYPE_STRING,
@@ -77,7 +79,7 @@ class Execution extends Model
])
->addRule('requestHeaders', [
'type' => Response::MODEL_HEADERS,
'description' => 'HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.',
'description' => 'HTTP request headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.',
'default' => [],
'example' => [['Content-Type' => 'application/json']],
'array' => true,
@@ -17,10 +17,11 @@ class HealthAntivirus extends Model
'example' => '1.0.0',
])
->addRule('status', [
'type' => self::TYPE_STRING,
'description' => 'Antivirus status. Possible values can are: `disabled`, `offline`, `online`',
'type' => self::TYPE_ENUM,
'description' => 'Antivirus status. Possible values are: `disabled`, `offline`, `online`',
'default' => '',
'example' => 'online',
'enum' => ['disabled', 'offline', 'online'],
])
;
}
@@ -23,10 +23,11 @@ class HealthStatus extends Model
'example' => 128,
])
->addRule('status', [
'type' => self::TYPE_STRING,
'description' => 'Service status. Possible values can are: `pass`, `fail`',
'type' => self::TYPE_ENUM,
'description' => 'Service status. Possible values are: `pass`, `fail`',
'default' => '',
'example' => 'pass',
'enum' => ['pass', 'fail'],
])
;
}
+2 -1
View File
@@ -41,10 +41,11 @@ class Index extends Model
'example' => 'primary',
])
->addRule('status', [
'type' => self::TYPE_STRING,
'type' => self::TYPE_ENUM,
'description' => 'Index status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`',
'default' => '',
'example' => 'available',
'enum' => ['available', 'processing', 'deleting', 'stuck', 'failed'],
])
->addRule('error', [
'type' => self::TYPE_STRING,
@@ -40,10 +40,11 @@ class Platform extends Model
'example' => 'My Web App',
])
->addRule('type', [
'type' => self::TYPE_STRING,
'type' => self::TYPE_ENUM,
'description' => 'Platform type. Possible values are: web, flutter-web, flutter-ios, flutter-android, ios, android, and unity.',
'default' => '',
'example' => 'web',
'enum' => ['web', 'flutter-web', 'flutter-ios', 'flutter-android', 'ios', 'android', 'unity'],
])
->addRule('key', [
'type' => self::TYPE_STRING,
@@ -60,7 +61,7 @@ class Platform extends Model
'type' => self::TYPE_STRING,
'description' => 'Web app hostname. Empty string for other platforms.',
'default' => '',
'example' => true,
'example' => 'app.example.com',
])
->addRule('httpUser', [
'type' => self::TYPE_STRING,
+7 -5
View File
@@ -55,7 +55,7 @@ class Rule extends Model
->addRule('redirectStatusCode', [
'type' => self::TYPE_INTEGER,
'description' => 'Status code to apply during redirect. Used if type is "redirect"',
'default' => '',
'default' => 301,
'example' => 301,
])
->addRule('deploymentId', [
@@ -65,10 +65,11 @@ class Rule extends Model
'example' => 'n3u9feiwmf',
])
->addRule('deploymentResourceType', [
'type' => self::TYPE_STRING,
'type' => self::TYPE_ENUM,
'description' => 'Type of deployment. Possible values are "function", "site". Used if rule\'s type is "deployment".',
'default' => '',
'example' => 'function',
'enum' => ['function', 'site'],
])
->addRule('deploymentResourceId', [
'type' => self::TYPE_STRING,
@@ -80,13 +81,14 @@ class Rule extends Model
'type' => self::TYPE_STRING,
'description' => 'Name of Git branch that updates rule. Used if type is "deployment"',
'default' => '',
'example' => 'function',
'example' => 'main',
])
->addRule('status', [
'type' => self::TYPE_STRING,
'type' => self::TYPE_ENUM,
'description' => 'Domain verification status. Possible values are "created", "verifying", "verified" and "unverified"',
'default' => false,
'default' => 'created',
'example' => 'verified',
'enum' => ['created', 'verifying', 'verified', 'unverified'],
])
->addRule('logs', [
'type' => self::TYPE_STRING,