diff --git a/app/config/specs/open-api3-latest-client.json b/app/config/specs/open-api3-latest-client.json index 21a66361e5..05b38d5cbf 100644 --- a/app/config/specs/open-api3-latest-client.json +++ b/app/config/specs/open-api3-latest-client.json @@ -3383,7 +3383,7 @@ "parameters": [ { "name": "code", - "description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, union-china-pay, visa, mir, maestro.", + "description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, union-china-pay, visa, mir, maestro, rupay.", "required": true, "schema": { "type": "string", @@ -3404,7 +3404,8 @@ "union-china-pay", "visa", "mir", - "maestro" + "maestro", + "rupay" ], "x-enum-name": "CreditCard", "x-enum-keys": [ @@ -3423,7 +3424,8 @@ "Union China Pay", "Visa", "MIR", - "Maestro" + "Maestro", + "Rupay" ] }, "in": "path" @@ -4365,7 +4367,7 @@ "tags": [ "databases" ], - "description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.", + "description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.\n", "responses": { "201": { "description": "Document", @@ -4761,7 +4763,7 @@ }, "x-appwrite": { "method": "listExecutions", - "weight": 300, + "weight": 301, "cookies": false, "type": "", "deprecated": false, @@ -4846,7 +4848,7 @@ }, "x-appwrite": { "method": "createExecution", - "weight": 299, + "weight": 300, "cookies": false, "type": "", "deprecated": false, @@ -4960,7 +4962,7 @@ }, "x-appwrite": { "method": "getExecution", - "weight": 301, + "weight": 302, "cookies": false, "type": "", "deprecated": false, @@ -5033,7 +5035,7 @@ }, "x-appwrite": { "method": "query", - "weight": 324, + "weight": 325, "cookies": false, "type": "graphql", "deprecated": false, @@ -5084,7 +5086,7 @@ }, "x-appwrite": { "method": "mutation", - "weight": 323, + "weight": 324, "cookies": false, "type": "graphql", "deprecated": false, @@ -5543,7 +5545,7 @@ }, "x-appwrite": { "method": "createSubscriber", - "weight": 369, + "weight": 370, "cookies": false, "type": "", "deprecated": false, @@ -5625,7 +5627,7 @@ }, "x-appwrite": { "method": "deleteSubscriber", - "weight": 373, + "weight": 374, "cookies": false, "type": "", "deprecated": false, @@ -5699,7 +5701,7 @@ }, "x-appwrite": { "method": "listFiles", - "weight": 207, + "weight": 208, "cookies": false, "type": "", "deprecated": false, @@ -5784,7 +5786,7 @@ }, "x-appwrite": { "method": "createFile", - "weight": 206, + "weight": 207, "cookies": false, "type": "upload", "deprecated": false, @@ -5881,7 +5883,7 @@ }, "x-appwrite": { "method": "getFile", - "weight": 208, + "weight": 209, "cookies": false, "type": "", "deprecated": false, @@ -5952,7 +5954,7 @@ }, "x-appwrite": { "method": "updateFile", - "weight": 213, + "weight": 214, "cookies": false, "type": "", "deprecated": false, @@ -6040,7 +6042,7 @@ }, "x-appwrite": { "method": "deleteFile", - "weight": 214, + "weight": 215, "cookies": false, "type": "", "deprecated": false, @@ -6106,7 +6108,7 @@ }, "x-appwrite": { "method": "getFileDownload", - "weight": 210, + "weight": 211, "cookies": false, "type": "location", "deprecated": false, @@ -6172,7 +6174,7 @@ }, "x-appwrite": { "method": "getFilePreview", - "weight": 209, + "weight": 210, "cookies": false, "type": "location", "deprecated": false, @@ -6388,7 +6390,7 @@ }, "x-appwrite": { "method": "getFileView", - "weight": 211, + "weight": 212, "cookies": false, "type": "location", "deprecated": false, @@ -6461,7 +6463,7 @@ }, "x-appwrite": { "method": "list", - "weight": 218, + "weight": 219, "cookies": false, "type": "", "deprecated": false, @@ -6536,7 +6538,7 @@ }, "x-appwrite": { "method": "create", - "weight": 217, + "weight": 218, "cookies": false, "type": "", "deprecated": false, @@ -6620,7 +6622,7 @@ }, "x-appwrite": { "method": "get", - "weight": 219, + "weight": 220, "cookies": false, "type": "", "deprecated": false, @@ -6681,7 +6683,7 @@ }, "x-appwrite": { "method": "updateName", - "weight": 221, + "weight": 222, "cookies": false, "type": "", "deprecated": false, @@ -6754,7 +6756,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 223, + "weight": 224, "cookies": false, "type": "", "deprecated": false, @@ -6817,7 +6819,7 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 225, + "weight": 226, "cookies": false, "type": "", "deprecated": false, @@ -6902,7 +6904,7 @@ }, "x-appwrite": { "method": "createMembership", - "weight": 224, + "weight": 225, "cookies": false, "type": "", "deprecated": false, @@ -7012,7 +7014,7 @@ }, "x-appwrite": { "method": "getMembership", - "weight": 226, + "weight": 227, "cookies": false, "type": "", "deprecated": false, @@ -7083,7 +7085,7 @@ }, "x-appwrite": { "method": "updateMembership", - "weight": 227, + "weight": 228, "cookies": false, "type": "", "deprecated": false, @@ -7169,7 +7171,7 @@ }, "x-appwrite": { "method": "deleteMembership", - "weight": 229, + "weight": 230, "cookies": false, "type": "", "deprecated": false, @@ -7242,7 +7244,7 @@ }, "x-appwrite": { "method": "updateMembershipStatus", - "weight": 228, + "weight": 229, "cookies": false, "type": "", "deprecated": false, @@ -7339,7 +7341,7 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 220, + "weight": 221, "cookies": false, "type": "", "deprecated": false, @@ -7399,7 +7401,7 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 222, + "weight": 223, "cookies": false, "type": "", "deprecated": false, diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index 60795ac276..adcece77f5 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -3387,7 +3387,7 @@ "parameters": [ { "name": "code", - "description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, union-china-pay, visa, mir, maestro.", + "description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, union-china-pay, visa, mir, maestro, rupay.", "required": true, "schema": { "type": "string", @@ -3408,7 +3408,8 @@ "union-china-pay", "visa", "mir", - "maestro" + "maestro", + "rupay" ], "x-enum-name": "CreditCard", "x-enum-keys": [ @@ -3427,7 +3428,8 @@ "Union China Pay", "Visa", "MIR", - "Maestro" + "Maestro", + "Rupay" ] }, "in": "path" @@ -4293,7 +4295,7 @@ }, "x-appwrite": { "method": "chat", - "weight": 326, + "weight": 327, "cookies": false, "type": "", "deprecated": false, @@ -4352,7 +4354,7 @@ }, "x-appwrite": { "method": "getResource", - "weight": 419, + "weight": 422, "cookies": false, "type": "", "deprecated": false, @@ -4426,7 +4428,7 @@ }, "x-appwrite": { "method": "variables", - "weight": 325, + "weight": 326, "cookies": false, "type": "", "deprecated": false, @@ -7890,7 +7892,7 @@ "tags": [ "databases" ], - "description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.", + "description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.\n", "responses": { "201": { "description": "Document", @@ -9053,7 +9055,7 @@ }, "x-appwrite": { "method": "list", - "weight": 387, + "weight": 388, "cookies": false, "type": "", "deprecated": false, @@ -9125,7 +9127,7 @@ }, "x-appwrite": { "method": "create", - "weight": 385, + "weight": 386, "cookies": false, "type": "", "deprecated": false, @@ -9354,7 +9356,7 @@ }, "x-appwrite": { "method": "listRuntimes", - "weight": 388, + "weight": 389, "cookies": false, "type": "", "deprecated": false, @@ -9402,7 +9404,7 @@ }, "x-appwrite": { "method": "listSpecifications", - "weight": 287, + "weight": 288, "cookies": false, "type": "", "deprecated": false, @@ -9451,7 +9453,7 @@ }, "x-appwrite": { "method": "listTemplates", - "weight": 308, + "weight": 309, "cookies": false, "type": "", "deprecated": false, @@ -9550,7 +9552,7 @@ }, "x-appwrite": { "method": "getTemplate", - "weight": 309, + "weight": 310, "cookies": false, "type": "", "deprecated": false, @@ -9609,7 +9611,7 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 290, + "weight": 291, "cookies": false, "type": "", "deprecated": false, @@ -9680,7 +9682,7 @@ }, "x-appwrite": { "method": "get", - "weight": 288, + "weight": 289, "cookies": false, "type": "", "deprecated": false, @@ -9738,7 +9740,7 @@ }, "x-appwrite": { "method": "update", - "weight": 386, + "weight": 387, "cookies": false, "type": "", "deprecated": false, @@ -9964,7 +9966,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 293, + "weight": 294, "cookies": false, "type": "", "deprecated": false, @@ -10024,7 +10026,7 @@ }, "x-appwrite": { "method": "listDeployments", - "weight": 294, + "weight": 295, "cookies": false, "type": "", "deprecated": false, @@ -10106,7 +10108,7 @@ }, "x-appwrite": { "method": "createDeployment", - "weight": 389, + "weight": 390, "cookies": false, "type": "upload", "deprecated": false, @@ -10201,7 +10203,7 @@ }, "x-appwrite": { "method": "createTemplateDeployment", - "weight": 390, + "weight": 391, "cookies": false, "type": "", "deprecated": false, @@ -10281,6 +10283,96 @@ } } }, + "\/functions\/{functionId}\/deployments\/vcs": { + "post": { + "summary": "Create VCS deployment", + "operationId": "functionsCreateVcsDeployment", + "tags": [ + "functions" + ], + "description": "", + "responses": { + "202": { + "description": "Deployment", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/deployment" + } + } + } + } + }, + "x-appwrite": { + "method": "createVcsDeployment", + "weight": 392, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/create-vcs-deployment.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment when a function is connected to VCS.\n\nThis endpoint lets you create deployment from a branch, commit, or a tag.", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Type of reference passed. Allowed values are: branch", + "x-example": "branch", + "enum": [ + "branch" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "reference": { + "type": "string", + "description": "VCS reference to create deployment from. Depending on type this can be: branch name", + "x-example": "" + } + }, + "required": [ + "type", + "reference" + ] + } + } + } + } + } + }, "\/functions\/{functionId}\/deployments\/{deploymentId}": { "get": { "summary": "Get deployment", @@ -10303,7 +10395,7 @@ }, "x-appwrite": { "method": "getDeployment", - "weight": 295, + "weight": 296, "cookies": false, "type": "", "deprecated": false, @@ -10364,7 +10456,7 @@ }, "x-appwrite": { "method": "deleteDeployment", - "weight": 296, + "weight": 297, "cookies": false, "type": "", "deprecated": false, @@ -10427,7 +10519,7 @@ }, "x-appwrite": { "method": "createBuild", - "weight": 297, + "weight": 298, "cookies": false, "type": "", "deprecated": false, @@ -10506,7 +10598,7 @@ }, "x-appwrite": { "method": "getDeploymentDownload", - "weight": 291, + "weight": 292, "cookies": false, "type": "location", "deprecated": false, @@ -10578,7 +10670,7 @@ }, "x-appwrite": { "method": "listExecutions", - "weight": 300, + "weight": 301, "cookies": false, "type": "", "deprecated": false, @@ -10663,7 +10755,7 @@ }, "x-appwrite": { "method": "createExecution", - "weight": 299, + "weight": 300, "cookies": false, "type": "", "deprecated": false, @@ -10777,7 +10869,7 @@ }, "x-appwrite": { "method": "getExecution", - "weight": 301, + "weight": 302, "cookies": false, "type": "", "deprecated": false, @@ -10841,7 +10933,7 @@ }, "x-appwrite": { "method": "deleteExecution", - "weight": 302, + "weight": 303, "cookies": false, "type": "", "deprecated": false, @@ -10911,7 +11003,7 @@ }, "x-appwrite": { "method": "getFunctionUsage", - "weight": 289, + "weight": 290, "cookies": false, "type": "", "deprecated": false, @@ -10992,7 +11084,7 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 304, + "weight": 305, "cookies": false, "type": "", "deprecated": false, @@ -11050,7 +11142,7 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 303, + "weight": 304, "cookies": false, "type": "", "deprecated": false, @@ -11140,7 +11232,7 @@ }, "x-appwrite": { "method": "query", - "weight": 324, + "weight": 325, "cookies": false, "type": "graphql", "deprecated": false, @@ -11191,7 +11283,7 @@ }, "x-appwrite": { "method": "mutation", - "weight": 323, + "weight": 324, "cookies": false, "type": "graphql", "deprecated": false, @@ -11290,7 +11382,7 @@ }, "x-appwrite": { "method": "getAntivirus", - "weight": 146, + "weight": 147, "cookies": false, "type": "", "deprecated": false, @@ -11796,7 +11888,7 @@ }, "x-appwrite": { "method": "getFailedJobs", - "weight": 147, + "weight": 148, "cookies": false, "type": "", "deprecated": false, @@ -11834,8 +11926,9 @@ "v1-audits", "v1-mails", "v1-functions", - "v1-usage", - "v1-usage-dump", + "v1-stats-resources", + "v1-stats-usage", + "v1-stats-usage-dump", "v1-webhooks", "v1-certificates", "v1-builds", @@ -12166,14 +12259,14 @@ ] } }, - "\/health\/queue\/usage": { + "\/health\/queue\/stats-resources": { "get": { - "summary": "Get usage queue", - "operationId": "healthGetQueueUsage", + "summary": "Get stats resources queue", + "operationId": "healthGetQueueStatsResources", "tags": [ "health" ], - "description": "Get the number of metrics that are waiting to be processed in the Appwrite internal queue server.", + "description": "Get the number of metrics that are waiting to be processed in the Appwrite stats resources queue.", "responses": { "200": { "description": "Health Queue", @@ -12187,13 +12280,13 @@ } }, "x-appwrite": { - "method": "getQueueUsage", + "method": "getQueueStatsResources", "weight": 142, "cookies": false, "type": "", "deprecated": false, - "demo": "health\/get-queue-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-usage.md", + "demo": "health\/get-queue-stats-resources.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-resources.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -12227,10 +12320,71 @@ ] } }, - "\/health\/queue\/usage-dump": { + "\/health\/queue\/stats-usage": { + "get": { + "summary": "Get stats usage queue", + "operationId": "healthGetQueueUsage", + "tags": [ + "health" + ], + "description": "Get the number of metrics that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getQueueUsage", + "weight": 143, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-usage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/queue\/stats-usage-dump": { "get": { "summary": "Get usage dump queue", - "operationId": "healthGetQueueUsageDump", + "operationId": "healthGetQueueStatsUsageDump", "tags": [ "health" ], @@ -12248,13 +12402,13 @@ } }, "x-appwrite": { - "method": "getQueueUsageDump", - "weight": 143, + "method": "getQueueStatsUsageDump", + "weight": 144, "cookies": false, "type": "", "deprecated": false, - "demo": "health\/get-queue-usage-dump.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-usage-dump.md", + "demo": "health\/get-queue-stats-usage-dump.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage-dump.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -12371,7 +12525,7 @@ }, "x-appwrite": { "method": "getStorage", - "weight": 145, + "weight": 146, "cookies": false, "type": "", "deprecated": false, @@ -12419,7 +12573,7 @@ }, "x-appwrite": { "method": "getStorageLocal", - "weight": 144, + "weight": 145, "cookies": false, "type": "", "deprecated": false, @@ -12923,7 +13077,7 @@ }, "x-appwrite": { "method": "listMessages", - "weight": 377, + "weight": 378, "cookies": false, "type": "", "deprecated": false, @@ -12998,7 +13152,7 @@ }, "x-appwrite": { "method": "createEmail", - "weight": 374, + "weight": 375, "cookies": false, "type": "", "deprecated": false, @@ -13141,7 +13295,7 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 381, + "weight": 382, "cookies": false, "type": "", "deprecated": false, @@ -13286,7 +13440,7 @@ }, "x-appwrite": { "method": "createPush", - "weight": 376, + "weight": 377, "cookies": false, "type": "", "deprecated": false, @@ -13459,7 +13613,7 @@ }, "x-appwrite": { "method": "updatePush", - "weight": 383, + "weight": 384, "cookies": false, "type": "", "deprecated": false, @@ -13636,7 +13790,7 @@ }, "x-appwrite": { "method": "createSms", - "weight": 375, + "weight": 376, "cookies": false, "type": "", "deprecated": false, @@ -13744,7 +13898,7 @@ }, "x-appwrite": { "method": "updateSms", - "weight": 382, + "weight": 383, "cookies": false, "type": "", "deprecated": false, @@ -13855,7 +14009,7 @@ }, "x-appwrite": { "method": "getMessage", - "weight": 380, + "weight": 381, "cookies": false, "type": "", "deprecated": false, @@ -13907,7 +14061,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 384, + "weight": 385, "cookies": false, "type": "", "deprecated": false, @@ -13968,7 +14122,7 @@ }, "x-appwrite": { "method": "listMessageLogs", - "weight": 378, + "weight": 379, "cookies": false, "type": "", "deprecated": false, @@ -14042,7 +14196,7 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 379, + "weight": 380, "cookies": false, "type": "", "deprecated": false, @@ -14116,7 +14270,7 @@ }, "x-appwrite": { "method": "listProviders", - "weight": 349, + "weight": 350, "cookies": false, "type": "", "deprecated": false, @@ -14191,7 +14345,7 @@ }, "x-appwrite": { "method": "createApnsProvider", - "weight": 348, + "weight": 349, "cookies": false, "type": "", "deprecated": false, @@ -14295,7 +14449,7 @@ }, "x-appwrite": { "method": "updateApnsProvider", - "weight": 361, + "weight": 362, "cookies": false, "type": "", "deprecated": false, @@ -14402,7 +14556,7 @@ }, "x-appwrite": { "method": "createFcmProvider", - "weight": 347, + "weight": 348, "cookies": false, "type": "", "deprecated": false, @@ -14486,7 +14640,7 @@ }, "x-appwrite": { "method": "updateFcmProvider", - "weight": 360, + "weight": 361, "cookies": false, "type": "", "deprecated": false, @@ -14573,7 +14727,7 @@ }, "x-appwrite": { "method": "createMailgunProvider", - "weight": 339, + "weight": 340, "cookies": false, "type": "", "deprecated": false, @@ -14687,7 +14841,7 @@ }, "x-appwrite": { "method": "updateMailgunProvider", - "weight": 352, + "weight": 353, "cookies": false, "type": "", "deprecated": false, @@ -14804,7 +14958,7 @@ }, "x-appwrite": { "method": "createMsg91Provider", - "weight": 342, + "weight": 343, "cookies": false, "type": "", "deprecated": false, @@ -14898,7 +15052,7 @@ }, "x-appwrite": { "method": "updateMsg91Provider", - "weight": 355, + "weight": 356, "cookies": false, "type": "", "deprecated": false, @@ -14995,7 +15149,7 @@ }, "x-appwrite": { "method": "createSendgridProvider", - "weight": 340, + "weight": 341, "cookies": false, "type": "", "deprecated": false, @@ -15099,7 +15253,7 @@ }, "x-appwrite": { "method": "updateSendgridProvider", - "weight": 353, + "weight": 354, "cookies": false, "type": "", "deprecated": false, @@ -15206,7 +15360,7 @@ }, "x-appwrite": { "method": "createSmtpProvider", - "weight": 341, + "weight": 342, "cookies": false, "type": "", "deprecated": false, @@ -15348,7 +15502,7 @@ }, "x-appwrite": { "method": "updateSmtpProvider", - "weight": 354, + "weight": 355, "cookies": false, "type": "", "deprecated": false, @@ -15492,7 +15646,7 @@ }, "x-appwrite": { "method": "createTelesignProvider", - "weight": 343, + "weight": 344, "cookies": false, "type": "", "deprecated": false, @@ -15586,7 +15740,7 @@ }, "x-appwrite": { "method": "updateTelesignProvider", - "weight": 356, + "weight": 357, "cookies": false, "type": "", "deprecated": false, @@ -15683,7 +15837,7 @@ }, "x-appwrite": { "method": "createTextmagicProvider", - "weight": 344, + "weight": 345, "cookies": false, "type": "", "deprecated": false, @@ -15777,7 +15931,7 @@ }, "x-appwrite": { "method": "updateTextmagicProvider", - "weight": 357, + "weight": 358, "cookies": false, "type": "", "deprecated": false, @@ -15874,7 +16028,7 @@ }, "x-appwrite": { "method": "createTwilioProvider", - "weight": 345, + "weight": 346, "cookies": false, "type": "", "deprecated": false, @@ -15968,7 +16122,7 @@ }, "x-appwrite": { "method": "updateTwilioProvider", - "weight": 358, + "weight": 359, "cookies": false, "type": "", "deprecated": false, @@ -16065,7 +16219,7 @@ }, "x-appwrite": { "method": "createVonageProvider", - "weight": 346, + "weight": 347, "cookies": false, "type": "", "deprecated": false, @@ -16159,7 +16313,7 @@ }, "x-appwrite": { "method": "updateVonageProvider", - "weight": 359, + "weight": 360, "cookies": false, "type": "", "deprecated": false, @@ -16256,7 +16410,7 @@ }, "x-appwrite": { "method": "getProvider", - "weight": 351, + "weight": 352, "cookies": false, "type": "", "deprecated": false, @@ -16308,7 +16462,7 @@ }, "x-appwrite": { "method": "deleteProvider", - "weight": 362, + "weight": 363, "cookies": false, "type": "", "deprecated": false, @@ -16369,7 +16523,7 @@ }, "x-appwrite": { "method": "listProviderLogs", - "weight": 350, + "weight": 351, "cookies": false, "type": "", "deprecated": false, @@ -16443,7 +16597,7 @@ }, "x-appwrite": { "method": "listSubscriberLogs", - "weight": 371, + "weight": 372, "cookies": false, "type": "", "deprecated": false, @@ -16517,7 +16671,7 @@ }, "x-appwrite": { "method": "listTopics", - "weight": 364, + "weight": 365, "cookies": false, "type": "", "deprecated": false, @@ -16590,7 +16744,7 @@ }, "x-appwrite": { "method": "createTopic", - "weight": 363, + "weight": 364, "cookies": false, "type": "", "deprecated": false, @@ -16672,7 +16826,7 @@ }, "x-appwrite": { "method": "getTopic", - "weight": 366, + "weight": 367, "cookies": false, "type": "", "deprecated": false, @@ -16731,7 +16885,7 @@ }, "x-appwrite": { "method": "updateTopic", - "weight": 367, + "weight": 368, "cookies": false, "type": "", "deprecated": false, @@ -16807,7 +16961,7 @@ }, "x-appwrite": { "method": "deleteTopic", - "weight": 368, + "weight": 369, "cookies": false, "type": "", "deprecated": false, @@ -16868,7 +17022,7 @@ }, "x-appwrite": { "method": "listTopicLogs", - "weight": 365, + "weight": 366, "cookies": false, "type": "", "deprecated": false, @@ -16942,7 +17096,7 @@ }, "x-appwrite": { "method": "listSubscribers", - "weight": 370, + "weight": 371, "cookies": false, "type": "", "deprecated": false, @@ -17025,7 +17179,7 @@ }, "x-appwrite": { "method": "createSubscriber", - "weight": 369, + "weight": 370, "cookies": false, "type": "", "deprecated": false, @@ -17114,7 +17268,7 @@ }, "x-appwrite": { "method": "getSubscriber", - "weight": 372, + "weight": 373, "cookies": false, "type": "", "deprecated": false, @@ -17176,7 +17330,7 @@ }, "x-appwrite": { "method": "deleteSubscriber", - "weight": 373, + "weight": 374, "cookies": false, "type": "", "deprecated": false, @@ -17250,7 +17404,7 @@ }, "x-appwrite": { "method": "list", - "weight": 331, + "weight": 332, "cookies": false, "type": "", "deprecated": false, @@ -17323,7 +17477,7 @@ }, "x-appwrite": { "method": "createAppwriteMigration", - "weight": 327, + "weight": 328, "cookies": false, "type": "", "deprecated": false, @@ -17362,17 +17516,17 @@ }, "endpoint": { "type": "string", - "description": "Source's Appwrite Endpoint", + "description": "Source Appwrite endpoint", "x-example": "https:\/\/example.com" }, "projectId": { "type": "string", - "description": "Source's Project ID", + "description": "Source Project ID", "x-example": "" }, "apiKey": { "type": "string", - "description": "Source's API Key", + "description": "Source API Key", "x-example": "" } }, @@ -17410,7 +17564,7 @@ }, "x-appwrite": { "method": "getAppwriteReport", - "weight": 333, + "weight": 334, "cookies": false, "type": "", "deprecated": false, @@ -17502,7 +17656,7 @@ }, "x-appwrite": { "method": "createFirebaseMigration", - "weight": 328, + "weight": 329, "cookies": false, "type": "", "deprecated": false, @@ -17577,7 +17731,7 @@ }, "x-appwrite": { "method": "getFirebaseReport", - "weight": 334, + "weight": 335, "cookies": false, "type": "", "deprecated": false, @@ -17648,7 +17802,7 @@ }, "x-appwrite": { "method": "createNHostMigration", - "weight": 330, + "weight": 331, "cookies": false, "type": "", "deprecated": false, @@ -17758,7 +17912,7 @@ }, "x-appwrite": { "method": "getNHostReport", - "weight": 336, + "weight": 337, "cookies": false, "type": "", "deprecated": false, @@ -17890,7 +18044,7 @@ }, "x-appwrite": { "method": "createSupabaseMigration", - "weight": 329, + "weight": 330, "cookies": false, "type": "", "deprecated": false, @@ -17994,7 +18148,7 @@ }, "x-appwrite": { "method": "getSupabaseReport", - "weight": 335, + "weight": 336, "cookies": false, "type": "", "deprecated": false, @@ -18117,7 +18271,7 @@ }, "x-appwrite": { "method": "get", - "weight": 332, + "weight": 333, "cookies": false, "type": "", "deprecated": false, @@ -18174,7 +18328,7 @@ }, "x-appwrite": { "method": "retry", - "weight": 337, + "weight": 338, "cookies": false, "type": "", "deprecated": false, @@ -18224,7 +18378,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 338, + "weight": 339, "cookies": false, "type": "", "deprecated": false, @@ -18283,7 +18437,7 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 195, + "weight": 196, "cookies": false, "type": "", "deprecated": false, @@ -18370,7 +18524,7 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 197, + "weight": 198, "cookies": false, "type": "", "deprecated": false, @@ -18415,7 +18569,7 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 196, + "weight": 197, "cookies": false, "type": "", "deprecated": false, @@ -18492,7 +18646,7 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 198, + "weight": 199, "cookies": false, "type": "", "deprecated": false, @@ -18549,7 +18703,7 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 199, + "weight": 200, "cookies": false, "type": "", "deprecated": false, @@ -18628,7 +18782,7 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 200, + "weight": 201, "cookies": false, "type": "", "deprecated": false, @@ -18687,7 +18841,7 @@ }, "x-appwrite": { "method": "list", - "weight": 150, + "weight": 151, "cookies": false, "type": "", "deprecated": false, @@ -18758,7 +18912,7 @@ }, "x-appwrite": { "method": "create", - "weight": 149, + "weight": 150, "cookies": false, "type": "", "deprecated": false, @@ -18892,7 +19046,7 @@ }, "x-appwrite": { "method": "get", - "weight": 151, + "weight": 152, "cookies": false, "type": "", "deprecated": false, @@ -18949,7 +19103,7 @@ }, "x-appwrite": { "method": "update", - "weight": 152, + "weight": 153, "cookies": false, "type": "", "deprecated": false, @@ -19063,7 +19217,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 169, + "weight": 170, "cookies": false, "type": "", "deprecated": false, @@ -19122,7 +19276,7 @@ }, "x-appwrite": { "method": "updateApiStatus", - "weight": 156, + "weight": 157, "cookies": false, "type": "", "deprecated": false, @@ -19213,7 +19367,7 @@ }, "x-appwrite": { "method": "updateApiStatusAll", - "weight": 157, + "weight": 158, "cookies": false, "type": "", "deprecated": false, @@ -19291,7 +19445,7 @@ }, "x-appwrite": { "method": "updateAuthDuration", - "weight": 162, + "weight": 163, "cookies": false, "type": "", "deprecated": false, @@ -19369,7 +19523,7 @@ }, "x-appwrite": { "method": "updateAuthLimit", - "weight": 161, + "weight": 162, "cookies": false, "type": "", "deprecated": false, @@ -19447,7 +19601,7 @@ }, "x-appwrite": { "method": "updateAuthSessionsLimit", - "weight": 167, + "weight": 168, "cookies": false, "type": "", "deprecated": false, @@ -19525,7 +19679,7 @@ }, "x-appwrite": { "method": "updateMembershipsPrivacy", - "weight": 160, + "weight": 161, "cookies": false, "type": "", "deprecated": false, @@ -19615,7 +19769,7 @@ }, "x-appwrite": { "method": "updateMockNumbers", - "weight": 168, + "weight": 169, "cookies": false, "type": "", "deprecated": false, @@ -19696,7 +19850,7 @@ }, "x-appwrite": { "method": "updateAuthPasswordDictionary", - "weight": 165, + "weight": 166, "cookies": false, "type": "", "deprecated": false, @@ -19774,7 +19928,7 @@ }, "x-appwrite": { "method": "updateAuthPasswordHistory", - "weight": 164, + "weight": 165, "cookies": false, "type": "", "deprecated": false, @@ -19852,7 +20006,7 @@ }, "x-appwrite": { "method": "updatePersonalDataCheck", - "weight": 166, + "weight": 167, "cookies": false, "type": "", "deprecated": false, @@ -19930,7 +20084,7 @@ }, "x-appwrite": { "method": "updateSessionAlerts", - "weight": 159, + "weight": 160, "cookies": false, "type": "", "deprecated": false, @@ -20008,7 +20162,7 @@ }, "x-appwrite": { "method": "updateAuthStatus", - "weight": 163, + "weight": 164, "cookies": false, "type": "", "deprecated": false, @@ -20107,7 +20261,7 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 181, + "weight": 182, "cookies": false, "type": "", "deprecated": false, @@ -20193,7 +20347,7 @@ }, "x-appwrite": { "method": "listKeys", - "weight": 177, + "weight": 178, "cookies": false, "type": "", "deprecated": false, @@ -20250,7 +20404,7 @@ }, "x-appwrite": { "method": "createKey", - "weight": 176, + "weight": 177, "cookies": false, "type": "", "deprecated": false, @@ -20342,7 +20496,7 @@ }, "x-appwrite": { "method": "getKey", - "weight": 178, + "weight": 179, "cookies": false, "type": "", "deprecated": false, @@ -20409,7 +20563,7 @@ }, "x-appwrite": { "method": "updateKey", - "weight": 179, + "weight": 180, "cookies": false, "type": "", "deprecated": false, @@ -20502,7 +20656,7 @@ }, "x-appwrite": { "method": "deleteKey", - "weight": 180, + "weight": 181, "cookies": false, "type": "", "deprecated": false, @@ -20571,7 +20725,7 @@ }, "x-appwrite": { "method": "updateOAuth2", - "weight": 158, + "weight": 159, "cookies": false, "type": "", "deprecated": false, @@ -20707,7 +20861,7 @@ }, "x-appwrite": { "method": "listPlatforms", - "weight": 183, + "weight": 184, "cookies": false, "type": "", "deprecated": false, @@ -20764,7 +20918,7 @@ }, "x-appwrite": { "method": "createPlatform", - "weight": 182, + "weight": 183, "cookies": false, "type": "", "deprecated": false, @@ -20882,7 +21036,7 @@ }, "x-appwrite": { "method": "getPlatform", - "weight": 184, + "weight": 185, "cookies": false, "type": "", "deprecated": false, @@ -20949,7 +21103,7 @@ }, "x-appwrite": { "method": "updatePlatform", - "weight": 185, + "weight": 186, "cookies": false, "type": "", "deprecated": false, @@ -21043,7 +21197,7 @@ }, "x-appwrite": { "method": "deletePlatform", - "weight": 186, + "weight": 187, "cookies": false, "type": "", "deprecated": false, @@ -21112,7 +21266,7 @@ }, "x-appwrite": { "method": "updateServiceStatus", - "weight": 154, + "weight": 155, "cookies": false, "type": "", "deprecated": false, @@ -21212,7 +21366,7 @@ }, "x-appwrite": { "method": "updateServiceStatusAll", - "weight": 155, + "weight": 156, "cookies": false, "type": "", "deprecated": false, @@ -21290,7 +21444,7 @@ }, "x-appwrite": { "method": "updateSmtp", - "weight": 187, + "weight": 188, "cookies": false, "type": "", "deprecated": false, @@ -21407,7 +21561,7 @@ }, "x-appwrite": { "method": "createSmtpTest", - "weight": 188, + "weight": 189, "cookies": false, "type": "", "deprecated": false, @@ -21537,7 +21691,7 @@ }, "x-appwrite": { "method": "updateTeam", - "weight": 153, + "weight": 154, "cookies": false, "type": "", "deprecated": false, @@ -21615,7 +21769,7 @@ }, "x-appwrite": { "method": "getEmailTemplate", - "weight": 190, + "weight": 191, "cookies": false, "type": "", "deprecated": false, @@ -21838,7 +21992,7 @@ }, "x-appwrite": { "method": "updateEmailTemplate", - "weight": 192, + "weight": 193, "cookies": false, "type": "", "deprecated": false, @@ -22101,7 +22255,7 @@ }, "x-appwrite": { "method": "deleteEmailTemplate", - "weight": 194, + "weight": 195, "cookies": false, "type": "", "deprecated": false, @@ -22326,7 +22480,7 @@ }, "x-appwrite": { "method": "getSmsTemplate", - "weight": 189, + "weight": 190, "cookies": false, "type": "", "deprecated": false, @@ -22546,7 +22700,7 @@ }, "x-appwrite": { "method": "updateSmsTemplate", - "weight": 191, + "weight": 192, "cookies": false, "type": "", "deprecated": false, @@ -22785,7 +22939,7 @@ }, "x-appwrite": { "method": "deleteSmsTemplate", - "weight": 193, + "weight": 194, "cookies": false, "type": "", "deprecated": false, @@ -23007,7 +23161,7 @@ }, "x-appwrite": { "method": "listWebhooks", - "weight": 171, + "weight": 172, "cookies": false, "type": "", "deprecated": false, @@ -23064,7 +23218,7 @@ }, "x-appwrite": { "method": "createWebhook", - "weight": 170, + "weight": 171, "cookies": false, "type": "", "deprecated": false, @@ -23178,7 +23332,7 @@ }, "x-appwrite": { "method": "getWebhook", - "weight": 172, + "weight": 173, "cookies": false, "type": "", "deprecated": false, @@ -23245,7 +23399,7 @@ }, "x-appwrite": { "method": "updateWebhook", - "weight": 173, + "weight": 174, "cookies": false, "type": "", "deprecated": false, @@ -23360,7 +23514,7 @@ }, "x-appwrite": { "method": "deleteWebhook", - "weight": 175, + "weight": 176, "cookies": false, "type": "", "deprecated": false, @@ -23429,7 +23583,7 @@ }, "x-appwrite": { "method": "updateWebhookSignature", - "weight": 174, + "weight": 175, "cookies": false, "type": "", "deprecated": false, @@ -23498,7 +23652,7 @@ }, "x-appwrite": { "method": "listRules", - "weight": 310, + "weight": 311, "cookies": false, "type": "", "deprecated": false, @@ -23569,7 +23723,7 @@ }, "x-appwrite": { "method": "createRule", - "weight": 420, + "weight": 423, "cookies": false, "type": "", "deprecated": false, @@ -23653,7 +23807,7 @@ }, "x-appwrite": { "method": "getRule", - "weight": 311, + "weight": 312, "cookies": false, "type": "", "deprecated": false, @@ -23703,7 +23857,7 @@ }, "x-appwrite": { "method": "deleteRule", - "weight": 312, + "weight": 313, "cookies": false, "type": "", "deprecated": false, @@ -23762,7 +23916,7 @@ }, "x-appwrite": { "method": "updateRuleVerification", - "weight": 313, + "weight": 314, "cookies": false, "type": "", "deprecated": false, @@ -23821,7 +23975,7 @@ }, "x-appwrite": { "method": "list", - "weight": 393, + "weight": 395, "cookies": false, "type": "", "deprecated": false, @@ -23890,7 +24044,7 @@ }, "x-appwrite": { "method": "create", - "weight": 391, + "weight": 393, "cookies": false, "type": "", "deprecated": false, @@ -24117,7 +24271,7 @@ }, "x-appwrite": { "method": "listFrameworks", - "weight": 396, + "weight": 398, "cookies": false, "type": "", "deprecated": false, @@ -24165,7 +24319,7 @@ }, "x-appwrite": { "method": "listTemplates", - "weight": 415, + "weight": 418, "cookies": false, "type": "", "deprecated": false, @@ -24264,7 +24418,7 @@ }, "x-appwrite": { "method": "getTemplate", - "weight": 416, + "weight": 419, "cookies": false, "type": "", "deprecated": false, @@ -24323,7 +24477,7 @@ }, "x-appwrite": { "method": "listUsage", - "weight": 417, + "weight": 420, "cookies": false, "type": "", "deprecated": false, @@ -24390,7 +24544,7 @@ }, "x-appwrite": { "method": "get", - "weight": 392, + "weight": 394, "cookies": false, "type": "", "deprecated": false, @@ -24448,7 +24602,7 @@ }, "x-appwrite": { "method": "update", - "weight": 394, + "weight": 396, "cookies": false, "type": "", "deprecated": false, @@ -24671,7 +24825,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 395, + "weight": 397, "cookies": false, "type": "", "deprecated": false, @@ -24731,7 +24885,7 @@ }, "x-appwrite": { "method": "listDeployments", - "weight": 400, + "weight": 403, "cookies": false, "type": "", "deprecated": false, @@ -24813,7 +24967,7 @@ }, "x-appwrite": { "method": "createDeployment", - "weight": 397, + "weight": 399, "cookies": false, "type": "upload", "deprecated": false, @@ -24913,7 +25067,7 @@ }, "x-appwrite": { "method": "createTemplateDeployment", - "weight": 398, + "weight": 400, "cookies": false, "type": "", "deprecated": false, @@ -24993,6 +25147,96 @@ } } }, + "\/sites\/{siteId}\/deployments\/vcs": { + "post": { + "summary": "Create VCS deployment", + "operationId": "sitesCreateVcsDeployment", + "tags": [ + "sites" + ], + "description": "", + "responses": { + "202": { + "description": "Deployment", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/deployment" + } + } + } + } + }, + "x-appwrite": { + "method": "createVcsDeployment", + "weight": 401, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "sites\/create-vcs-deployment.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment when a site is connected to VCS.\n\nThis endpoint lets you create deployment from a branch, commit, or a tag.", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "sites.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "siteId", + "description": "Site ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Type of reference passed. Allowed values are: branch", + "x-example": "branch", + "enum": [ + "branch" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "reference": { + "type": "string", + "description": "VCS reference to create deployment from. Depending on type this can be: branch name", + "x-example": "" + } + }, + "required": [ + "type", + "reference" + ] + } + } + } + } + } + }, "\/sites\/{siteId}\/deployments\/{deploymentId}": { "get": { "summary": "Get deployment", @@ -25015,7 +25259,7 @@ }, "x-appwrite": { "method": "getDeployment", - "weight": 399, + "weight": 402, "cookies": false, "type": "", "deprecated": false, @@ -25083,7 +25327,7 @@ }, "x-appwrite": { "method": "updateDeployment", - "weight": 401, + "weight": 404, "cookies": false, "type": "", "deprecated": false, @@ -25144,7 +25388,7 @@ }, "x-appwrite": { "method": "deleteDeployment", - "weight": 402, + "weight": 405, "cookies": false, "type": "", "deprecated": false, @@ -25207,7 +25451,7 @@ }, "x-appwrite": { "method": "createDeploymentBuild", - "weight": 405, + "weight": 408, "cookies": false, "type": "", "deprecated": false, @@ -25275,7 +25519,7 @@ }, "x-appwrite": { "method": "updateDeploymentBuild", - "weight": 406, + "weight": 409, "cookies": false, "type": "", "deprecated": false, @@ -25338,7 +25582,7 @@ }, "x-appwrite": { "method": "getDeploymentBuildDownload", - "weight": 404, + "weight": 407, "cookies": false, "type": "location", "deprecated": false, @@ -25403,7 +25647,7 @@ }, "x-appwrite": { "method": "getDeploymentDownload", - "weight": 403, + "weight": 406, "cookies": false, "type": "location", "deprecated": false, @@ -25475,7 +25719,7 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 408, + "weight": 411, "cookies": false, "type": "", "deprecated": false, @@ -25556,7 +25800,7 @@ }, "x-appwrite": { "method": "getLog", - "weight": 407, + "weight": 410, "cookies": false, "type": "", "deprecated": false, @@ -25617,7 +25861,7 @@ }, "x-appwrite": { "method": "deleteLog", - "weight": 409, + "weight": 412, "cookies": false, "type": "", "deprecated": false, @@ -25687,7 +25931,7 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 418, + "weight": 421, "cookies": false, "type": "", "deprecated": false, @@ -25768,7 +26012,7 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 412, + "weight": 415, "cookies": false, "type": "", "deprecated": false, @@ -25826,7 +26070,7 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 410, + "weight": 413, "cookies": false, "type": "", "deprecated": false, @@ -25916,7 +26160,7 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 411, + "weight": 414, "cookies": false, "type": "", "deprecated": false, @@ -25984,7 +26228,7 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 413, + "weight": 416, "cookies": false, "type": "", "deprecated": false, @@ -26074,7 +26318,7 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 414, + "weight": 417, "cookies": false, "type": "", "deprecated": false, @@ -26144,7 +26388,7 @@ }, "x-appwrite": { "method": "listBuckets", - "weight": 202, + "weight": 203, "cookies": false, "type": "", "deprecated": false, @@ -26216,7 +26460,7 @@ }, "x-appwrite": { "method": "createBucket", - "weight": 201, + "weight": 202, "cookies": false, "type": "", "deprecated": false, @@ -26342,7 +26586,7 @@ }, "x-appwrite": { "method": "getBucket", - "weight": 203, + "weight": 204, "cookies": false, "type": "", "deprecated": false, @@ -26400,7 +26644,7 @@ }, "x-appwrite": { "method": "updateBucket", - "weight": 204, + "weight": 205, "cookies": false, "type": "", "deprecated": false, @@ -26523,7 +26767,7 @@ }, "x-appwrite": { "method": "deleteBucket", - "weight": 205, + "weight": 206, "cookies": false, "type": "", "deprecated": false, @@ -26583,7 +26827,7 @@ }, "x-appwrite": { "method": "listFiles", - "weight": 207, + "weight": 208, "cookies": false, "type": "", "deprecated": false, @@ -26668,7 +26912,7 @@ }, "x-appwrite": { "method": "createFile", - "weight": 206, + "weight": 207, "cookies": false, "type": "upload", "deprecated": false, @@ -26765,7 +27009,7 @@ }, "x-appwrite": { "method": "getFile", - "weight": 208, + "weight": 209, "cookies": false, "type": "", "deprecated": false, @@ -26836,7 +27080,7 @@ }, "x-appwrite": { "method": "updateFile", - "weight": 213, + "weight": 214, "cookies": false, "type": "", "deprecated": false, @@ -26924,7 +27168,7 @@ }, "x-appwrite": { "method": "deleteFile", - "weight": 214, + "weight": 215, "cookies": false, "type": "", "deprecated": false, @@ -26990,7 +27234,7 @@ }, "x-appwrite": { "method": "getFileDownload", - "weight": 210, + "weight": 211, "cookies": false, "type": "location", "deprecated": false, @@ -27056,7 +27300,7 @@ }, "x-appwrite": { "method": "getFilePreview", - "weight": 209, + "weight": 210, "cookies": false, "type": "location", "deprecated": false, @@ -27272,7 +27516,7 @@ }, "x-appwrite": { "method": "getFileView", - "weight": 211, + "weight": 212, "cookies": false, "type": "location", "deprecated": false, @@ -27345,7 +27589,7 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 215, + "weight": 216, "cookies": false, "type": "", "deprecated": false, @@ -27416,7 +27660,7 @@ }, "x-appwrite": { "method": "getBucketUsage", - "weight": 216, + "weight": 217, "cookies": false, "type": "", "deprecated": false, @@ -27497,7 +27741,7 @@ }, "x-appwrite": { "method": "list", - "weight": 218, + "weight": 219, "cookies": false, "type": "", "deprecated": false, @@ -27572,7 +27816,7 @@ }, "x-appwrite": { "method": "create", - "weight": 217, + "weight": 218, "cookies": false, "type": "", "deprecated": false, @@ -27656,7 +27900,7 @@ }, "x-appwrite": { "method": "get", - "weight": 219, + "weight": 220, "cookies": false, "type": "", "deprecated": false, @@ -27717,7 +27961,7 @@ }, "x-appwrite": { "method": "updateName", - "weight": 221, + "weight": 222, "cookies": false, "type": "", "deprecated": false, @@ -27790,7 +28034,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 223, + "weight": 224, "cookies": false, "type": "", "deprecated": false, @@ -27853,7 +28097,7 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 230, + "weight": 231, "cookies": false, "type": "", "deprecated": false, @@ -27925,7 +28169,7 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 225, + "weight": 226, "cookies": false, "type": "", "deprecated": false, @@ -28010,7 +28254,7 @@ }, "x-appwrite": { "method": "createMembership", - "weight": 224, + "weight": 225, "cookies": false, "type": "", "deprecated": false, @@ -28120,7 +28364,7 @@ }, "x-appwrite": { "method": "getMembership", - "weight": 226, + "weight": 227, "cookies": false, "type": "", "deprecated": false, @@ -28191,7 +28435,7 @@ }, "x-appwrite": { "method": "updateMembership", - "weight": 227, + "weight": 228, "cookies": false, "type": "", "deprecated": false, @@ -28277,7 +28521,7 @@ }, "x-appwrite": { "method": "deleteMembership", - "weight": 229, + "weight": 230, "cookies": false, "type": "", "deprecated": false, @@ -28350,7 +28594,7 @@ }, "x-appwrite": { "method": "updateMembershipStatus", - "weight": 228, + "weight": 229, "cookies": false, "type": "", "deprecated": false, @@ -28446,7 +28690,7 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 220, + "weight": 221, "cookies": false, "type": "", "deprecated": false, @@ -28505,7 +28749,7 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 222, + "weight": 223, "cookies": false, "type": "", "deprecated": false, @@ -28585,7 +28829,7 @@ }, "x-appwrite": { "method": "list", - "weight": 240, + "weight": 241, "cookies": false, "type": "", "deprecated": false, @@ -28657,7 +28901,7 @@ }, "x-appwrite": { "method": "create", - "weight": 231, + "weight": 232, "cookies": false, "type": "", "deprecated": false, @@ -28744,7 +28988,7 @@ }, "x-appwrite": { "method": "createArgon2User", - "weight": 234, + "weight": 235, "cookies": false, "type": "", "deprecated": false, @@ -28828,7 +29072,7 @@ }, "x-appwrite": { "method": "createBcryptUser", - "weight": 232, + "weight": 233, "cookies": false, "type": "", "deprecated": false, @@ -28912,7 +29156,7 @@ }, "x-appwrite": { "method": "listIdentities", - "weight": 248, + "weight": 249, "cookies": false, "type": "", "deprecated": false, @@ -28979,7 +29223,7 @@ }, "x-appwrite": { "method": "deleteIdentity", - "weight": 271, + "weight": 272, "cookies": false, "type": "", "deprecated": false, @@ -29039,7 +29283,7 @@ }, "x-appwrite": { "method": "createMD5User", - "weight": 233, + "weight": 234, "cookies": false, "type": "", "deprecated": false, @@ -29123,7 +29367,7 @@ }, "x-appwrite": { "method": "createPHPassUser", - "weight": 236, + "weight": 237, "cookies": false, "type": "", "deprecated": false, @@ -29207,7 +29451,7 @@ }, "x-appwrite": { "method": "createScryptUser", - "weight": 237, + "weight": 238, "cookies": false, "type": "", "deprecated": false, @@ -29321,7 +29565,7 @@ }, "x-appwrite": { "method": "createScryptModifiedUser", - "weight": 238, + "weight": 239, "cookies": false, "type": "", "deprecated": false, @@ -29423,7 +29667,7 @@ }, "x-appwrite": { "method": "createSHAUser", - "weight": 235, + "weight": 236, "cookies": false, "type": "", "deprecated": false, @@ -29527,7 +29771,7 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 273, + "weight": 274, "cookies": false, "type": "", "deprecated": false, @@ -29598,7 +29842,7 @@ }, "x-appwrite": { "method": "get", - "weight": 241, + "weight": 242, "cookies": false, "type": "", "deprecated": false, @@ -29649,7 +29893,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 269, + "weight": 270, "cookies": false, "type": "", "deprecated": false, @@ -29709,7 +29953,7 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 254, + "weight": 255, "cookies": false, "type": "", "deprecated": false, @@ -29788,7 +30032,7 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 272, + "weight": 273, "cookies": false, "type": "", "deprecated": false, @@ -29869,7 +30113,7 @@ }, "x-appwrite": { "method": "updateLabels", - "weight": 250, + "weight": 251, "cookies": false, "type": "", "deprecated": false, @@ -29951,7 +30195,7 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 246, + "weight": 247, "cookies": false, "type": "", "deprecated": false, @@ -30024,7 +30268,7 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 245, + "weight": 246, "cookies": false, "type": "", "deprecated": false, @@ -30084,7 +30328,7 @@ }, "x-appwrite": { "method": "updateMfa", - "weight": 259, + "weight": 260, "cookies": false, "type": "", "deprecated": false, @@ -30156,7 +30400,7 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", - "weight": 264, + "weight": 265, "cookies": false, "type": "", "deprecated": false, @@ -30231,7 +30475,7 @@ }, "x-appwrite": { "method": "listMfaFactors", - "weight": 260, + "weight": 261, "cookies": false, "type": "", "deprecated": false, @@ -30291,7 +30535,7 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", - "weight": 261, + "weight": 262, "cookies": false, "type": "", "deprecated": false, @@ -30349,7 +30593,7 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", - "weight": 263, + "weight": 264, "cookies": false, "type": "", "deprecated": false, @@ -30407,7 +30651,7 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", - "weight": 262, + "weight": 263, "cookies": false, "type": "", "deprecated": false, @@ -30467,7 +30711,7 @@ }, "x-appwrite": { "method": "updateName", - "weight": 252, + "weight": 253, "cookies": false, "type": "", "deprecated": false, @@ -30546,7 +30790,7 @@ }, "x-appwrite": { "method": "updatePassword", - "weight": 253, + "weight": 254, "cookies": false, "type": "", "deprecated": false, @@ -30625,7 +30869,7 @@ }, "x-appwrite": { "method": "updatePhone", - "weight": 255, + "weight": 256, "cookies": false, "type": "", "deprecated": false, @@ -30704,7 +30948,7 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 242, + "weight": 243, "cookies": false, "type": "", "deprecated": false, @@ -30762,7 +31006,7 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 257, + "weight": 258, "cookies": false, "type": "", "deprecated": false, @@ -30841,7 +31085,7 @@ }, "x-appwrite": { "method": "listSessions", - "weight": 244, + "weight": 245, "cookies": false, "type": "", "deprecated": false, @@ -30899,7 +31143,7 @@ }, "x-appwrite": { "method": "createSession", - "weight": 265, + "weight": 266, "cookies": false, "type": "", "deprecated": false, @@ -30950,7 +31194,7 @@ }, "x-appwrite": { "method": "deleteSessions", - "weight": 268, + "weight": 269, "cookies": false, "type": "", "deprecated": false, @@ -31003,7 +31247,7 @@ }, "x-appwrite": { "method": "deleteSession", - "weight": 267, + "weight": 268, "cookies": false, "type": "", "deprecated": false, @@ -31073,7 +31317,7 @@ }, "x-appwrite": { "method": "updateStatus", - "weight": 249, + "weight": 250, "cookies": false, "type": "", "deprecated": false, @@ -31152,7 +31396,7 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 247, + "weight": 248, "cookies": false, "type": "", "deprecated": false, @@ -31224,7 +31468,7 @@ }, "x-appwrite": { "method": "createTarget", - "weight": 239, + "weight": 240, "cookies": false, "type": "", "deprecated": false, @@ -31333,7 +31577,7 @@ }, "x-appwrite": { "method": "getTarget", - "weight": 243, + "weight": 244, "cookies": false, "type": "", "deprecated": false, @@ -31402,7 +31646,7 @@ }, "x-appwrite": { "method": "updateTarget", - "weight": 258, + "weight": 259, "cookies": false, "type": "", "deprecated": false, @@ -31490,7 +31734,7 @@ }, "x-appwrite": { "method": "deleteTarget", - "weight": 270, + "weight": 271, "cookies": false, "type": "", "deprecated": false, @@ -31561,7 +31805,7 @@ }, "x-appwrite": { "method": "createToken", - "weight": 266, + "weight": 267, "cookies": false, "type": "", "deprecated": false, @@ -31642,7 +31886,7 @@ }, "x-appwrite": { "method": "updateEmailVerification", - "weight": 256, + "weight": 257, "cookies": false, "type": "", "deprecated": false, @@ -31721,7 +31965,7 @@ }, "x-appwrite": { "method": "updatePhoneVerification", - "weight": 251, + "weight": 252, "cookies": false, "type": "", "deprecated": false, @@ -31800,7 +32044,7 @@ }, "x-appwrite": { "method": "listRepositories", - "weight": 278, + "weight": 279, "cookies": false, "type": "", "deprecated": false, @@ -31868,7 +32112,7 @@ }, "x-appwrite": { "method": "createRepository", - "weight": 279, + "weight": 280, "cookies": false, "type": "", "deprecated": false, @@ -31952,7 +32196,7 @@ }, "x-appwrite": { "method": "getRepository", - "weight": 280, + "weight": 281, "cookies": false, "type": "", "deprecated": false, @@ -32021,7 +32265,7 @@ }, "x-appwrite": { "method": "listRepositoryBranches", - "weight": 281, + "weight": 282, "cookies": false, "type": "", "deprecated": false, @@ -32090,7 +32334,7 @@ }, "x-appwrite": { "method": "getRepositoryContents", - "weight": 276, + "weight": 277, "cookies": false, "type": "", "deprecated": false, @@ -32170,7 +32414,7 @@ }, "x-appwrite": { "method": "createRepositoryDetection", - "weight": 277, + "weight": 278, "cookies": false, "type": "", "deprecated": false, @@ -32248,7 +32492,7 @@ }, "x-appwrite": { "method": "updateExternalDeployments", - "weight": 286, + "weight": 287, "cookies": false, "type": "", "deprecated": false, @@ -32336,7 +32580,7 @@ }, "x-appwrite": { "method": "listInstallations", - "weight": 283, + "weight": 284, "cookies": false, "type": "", "deprecated": false, @@ -32409,7 +32653,7 @@ }, "x-appwrite": { "method": "getInstallation", - "weight": 284, + "weight": 285, "cookies": false, "type": "", "deprecated": false, @@ -32459,7 +32703,7 @@ }, "x-appwrite": { "method": "deleteInstallation", - "weight": 285, + "weight": 286, "cookies": false, "type": "", "deprecated": false, diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index f6a62e21b5..bc27b8e768 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -3077,7 +3077,7 @@ "parameters": [ { "name": "code", - "description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, union-china-pay, visa, mir, maestro.", + "description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, union-china-pay, visa, mir, maestro, rupay.", "required": true, "schema": { "type": "string", @@ -3098,7 +3098,8 @@ "union-china-pay", "visa", "mir", - "maestro" + "maestro", + "rupay" ], "x-enum-name": "CreditCard", "x-enum-keys": [ @@ -3117,7 +3118,8 @@ "Union China Pay", "Visa", "MIR", - "Maestro" + "Maestro", + "Rupay" ] }, "in": "path" @@ -7381,7 +7383,7 @@ "tags": [ "databases" ], - "description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.", + "description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.\n", "responses": { "201": { "description": "Document", @@ -8138,7 +8140,7 @@ }, "x-appwrite": { "method": "list", - "weight": 387, + "weight": 388, "cookies": false, "type": "", "deprecated": false, @@ -8211,7 +8213,7 @@ }, "x-appwrite": { "method": "create", - "weight": 385, + "weight": 386, "cookies": false, "type": "", "deprecated": false, @@ -8441,7 +8443,7 @@ }, "x-appwrite": { "method": "listRuntimes", - "weight": 388, + "weight": 389, "cookies": false, "type": "", "deprecated": false, @@ -8490,7 +8492,7 @@ }, "x-appwrite": { "method": "listSpecifications", - "weight": 287, + "weight": 288, "cookies": false, "type": "", "deprecated": false, @@ -8540,7 +8542,7 @@ }, "x-appwrite": { "method": "get", - "weight": 288, + "weight": 289, "cookies": false, "type": "", "deprecated": false, @@ -8599,7 +8601,7 @@ }, "x-appwrite": { "method": "update", - "weight": 386, + "weight": 387, "cookies": false, "type": "", "deprecated": false, @@ -8826,7 +8828,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 293, + "weight": 294, "cookies": false, "type": "", "deprecated": false, @@ -8887,7 +8889,7 @@ }, "x-appwrite": { "method": "listDeployments", - "weight": 294, + "weight": 295, "cookies": false, "type": "", "deprecated": false, @@ -8970,7 +8972,7 @@ }, "x-appwrite": { "method": "createDeployment", - "weight": 389, + "weight": 390, "cookies": false, "type": "upload", "deprecated": false, @@ -9066,7 +9068,7 @@ }, "x-appwrite": { "method": "createTemplateDeployment", - "weight": 390, + "weight": 391, "cookies": false, "type": "", "deprecated": false, @@ -9147,6 +9149,97 @@ } } }, + "\/functions\/{functionId}\/deployments\/vcs": { + "post": { + "summary": "Create VCS deployment", + "operationId": "functionsCreateVcsDeployment", + "tags": [ + "functions" + ], + "description": "", + "responses": { + "202": { + "description": "Deployment", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/deployment" + } + } + } + } + }, + "x-appwrite": { + "method": "createVcsDeployment", + "weight": 392, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/create-vcs-deployment.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment when a function is connected to VCS.\n\nThis endpoint lets you create deployment from a branch, commit, or a tag.", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Type of reference passed. Allowed values are: branch", + "x-example": "branch", + "enum": [ + "branch" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "reference": { + "type": "string", + "description": "VCS reference to create deployment from. Depending on type this can be: branch name", + "x-example": "" + } + }, + "required": [ + "type", + "reference" + ] + } + } + } + } + } + }, "\/functions\/{functionId}\/deployments\/{deploymentId}": { "get": { "summary": "Get deployment", @@ -9169,7 +9262,7 @@ }, "x-appwrite": { "method": "getDeployment", - "weight": 295, + "weight": 296, "cookies": false, "type": "", "deprecated": false, @@ -9231,7 +9324,7 @@ }, "x-appwrite": { "method": "deleteDeployment", - "weight": 296, + "weight": 297, "cookies": false, "type": "", "deprecated": false, @@ -9295,7 +9388,7 @@ }, "x-appwrite": { "method": "createBuild", - "weight": 297, + "weight": 298, "cookies": false, "type": "", "deprecated": false, @@ -9375,7 +9468,7 @@ }, "x-appwrite": { "method": "getDeploymentDownload", - "weight": 291, + "weight": 292, "cookies": false, "type": "location", "deprecated": false, @@ -9448,7 +9541,7 @@ }, "x-appwrite": { "method": "listExecutions", - "weight": 300, + "weight": 301, "cookies": false, "type": "", "deprecated": false, @@ -9535,7 +9628,7 @@ }, "x-appwrite": { "method": "createExecution", - "weight": 299, + "weight": 300, "cookies": false, "type": "", "deprecated": false, @@ -9651,7 +9744,7 @@ }, "x-appwrite": { "method": "getExecution", - "weight": 301, + "weight": 302, "cookies": false, "type": "", "deprecated": false, @@ -9717,7 +9810,7 @@ }, "x-appwrite": { "method": "deleteExecution", - "weight": 302, + "weight": 303, "cookies": false, "type": "", "deprecated": false, @@ -9788,7 +9881,7 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 304, + "weight": 305, "cookies": false, "type": "", "deprecated": false, @@ -9847,7 +9940,7 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 303, + "weight": 304, "cookies": false, "type": "", "deprecated": false, @@ -9938,7 +10031,7 @@ }, "x-appwrite": { "method": "query", - "weight": 324, + "weight": 325, "cookies": false, "type": "graphql", "deprecated": false, @@ -9991,7 +10084,7 @@ }, "x-appwrite": { "method": "mutation", - "weight": 323, + "weight": 324, "cookies": false, "type": "graphql", "deprecated": false, @@ -10093,7 +10186,7 @@ }, "x-appwrite": { "method": "getAntivirus", - "weight": 146, + "weight": 147, "cookies": false, "type": "", "deprecated": false, @@ -10608,7 +10701,7 @@ }, "x-appwrite": { "method": "getFailedJobs", - "weight": 147, + "weight": 148, "cookies": false, "type": "", "deprecated": false, @@ -10647,8 +10740,9 @@ "v1-audits", "v1-mails", "v1-functions", - "v1-usage", - "v1-usage-dump", + "v1-stats-resources", + "v1-stats-usage", + "v1-stats-usage-dump", "v1-webhooks", "v1-certificates", "v1-builds", @@ -10984,14 +11078,14 @@ ] } }, - "\/health\/queue\/usage": { + "\/health\/queue\/stats-resources": { "get": { - "summary": "Get usage queue", - "operationId": "healthGetQueueUsage", + "summary": "Get stats resources queue", + "operationId": "healthGetQueueStatsResources", "tags": [ "health" ], - "description": "Get the number of metrics that are waiting to be processed in the Appwrite internal queue server.", + "description": "Get the number of metrics that are waiting to be processed in the Appwrite stats resources queue.", "responses": { "200": { "description": "Health Queue", @@ -11005,13 +11099,13 @@ } }, "x-appwrite": { - "method": "getQueueUsage", + "method": "getQueueStatsResources", "weight": 142, "cookies": false, "type": "", "deprecated": false, - "demo": "health\/get-queue-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-usage.md", + "demo": "health\/get-queue-stats-resources.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-resources.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -11046,10 +11140,72 @@ ] } }, - "\/health\/queue\/usage-dump": { + "\/health\/queue\/stats-usage": { + "get": { + "summary": "Get stats usage queue", + "operationId": "healthGetQueueUsage", + "tags": [ + "health" + ], + "description": "Get the number of metrics that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getQueueUsage", + "weight": 143, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-usage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/queue\/stats-usage-dump": { "get": { "summary": "Get usage dump queue", - "operationId": "healthGetQueueUsageDump", + "operationId": "healthGetQueueStatsUsageDump", "tags": [ "health" ], @@ -11067,13 +11223,13 @@ } }, "x-appwrite": { - "method": "getQueueUsageDump", - "weight": 143, + "method": "getQueueStatsUsageDump", + "weight": 144, "cookies": false, "type": "", "deprecated": false, - "demo": "health\/get-queue-usage-dump.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-usage-dump.md", + "demo": "health\/get-queue-stats-usage-dump.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage-dump.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -11192,7 +11348,7 @@ }, "x-appwrite": { "method": "getStorage", - "weight": 145, + "weight": 146, "cookies": false, "type": "", "deprecated": false, @@ -11241,7 +11397,7 @@ }, "x-appwrite": { "method": "getStorageLocal", - "weight": 144, + "weight": 145, "cookies": false, "type": "", "deprecated": false, @@ -11763,7 +11919,7 @@ }, "x-appwrite": { "method": "listMessages", - "weight": 377, + "weight": 378, "cookies": false, "type": "", "deprecated": false, @@ -11839,7 +11995,7 @@ }, "x-appwrite": { "method": "createEmail", - "weight": 374, + "weight": 375, "cookies": false, "type": "", "deprecated": false, @@ -11983,7 +12139,7 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 381, + "weight": 382, "cookies": false, "type": "", "deprecated": false, @@ -12129,7 +12285,7 @@ }, "x-appwrite": { "method": "createPush", - "weight": 376, + "weight": 377, "cookies": false, "type": "", "deprecated": false, @@ -12303,7 +12459,7 @@ }, "x-appwrite": { "method": "updatePush", - "weight": 383, + "weight": 384, "cookies": false, "type": "", "deprecated": false, @@ -12481,7 +12637,7 @@ }, "x-appwrite": { "method": "createSms", - "weight": 375, + "weight": 376, "cookies": false, "type": "", "deprecated": false, @@ -12590,7 +12746,7 @@ }, "x-appwrite": { "method": "updateSms", - "weight": 382, + "weight": 383, "cookies": false, "type": "", "deprecated": false, @@ -12702,7 +12858,7 @@ }, "x-appwrite": { "method": "getMessage", - "weight": 380, + "weight": 381, "cookies": false, "type": "", "deprecated": false, @@ -12755,7 +12911,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 384, + "weight": 385, "cookies": false, "type": "", "deprecated": false, @@ -12817,7 +12973,7 @@ }, "x-appwrite": { "method": "listMessageLogs", - "weight": 378, + "weight": 379, "cookies": false, "type": "", "deprecated": false, @@ -12892,7 +13048,7 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 379, + "weight": 380, "cookies": false, "type": "", "deprecated": false, @@ -12967,7 +13123,7 @@ }, "x-appwrite": { "method": "listProviders", - "weight": 349, + "weight": 350, "cookies": false, "type": "", "deprecated": false, @@ -13043,7 +13199,7 @@ }, "x-appwrite": { "method": "createApnsProvider", - "weight": 348, + "weight": 349, "cookies": false, "type": "", "deprecated": false, @@ -13148,7 +13304,7 @@ }, "x-appwrite": { "method": "updateApnsProvider", - "weight": 361, + "weight": 362, "cookies": false, "type": "", "deprecated": false, @@ -13256,7 +13412,7 @@ }, "x-appwrite": { "method": "createFcmProvider", - "weight": 347, + "weight": 348, "cookies": false, "type": "", "deprecated": false, @@ -13341,7 +13497,7 @@ }, "x-appwrite": { "method": "updateFcmProvider", - "weight": 360, + "weight": 361, "cookies": false, "type": "", "deprecated": false, @@ -13429,7 +13585,7 @@ }, "x-appwrite": { "method": "createMailgunProvider", - "weight": 339, + "weight": 340, "cookies": false, "type": "", "deprecated": false, @@ -13544,7 +13700,7 @@ }, "x-appwrite": { "method": "updateMailgunProvider", - "weight": 352, + "weight": 353, "cookies": false, "type": "", "deprecated": false, @@ -13662,7 +13818,7 @@ }, "x-appwrite": { "method": "createMsg91Provider", - "weight": 342, + "weight": 343, "cookies": false, "type": "", "deprecated": false, @@ -13757,7 +13913,7 @@ }, "x-appwrite": { "method": "updateMsg91Provider", - "weight": 355, + "weight": 356, "cookies": false, "type": "", "deprecated": false, @@ -13855,7 +14011,7 @@ }, "x-appwrite": { "method": "createSendgridProvider", - "weight": 340, + "weight": 341, "cookies": false, "type": "", "deprecated": false, @@ -13960,7 +14116,7 @@ }, "x-appwrite": { "method": "updateSendgridProvider", - "weight": 353, + "weight": 354, "cookies": false, "type": "", "deprecated": false, @@ -14068,7 +14224,7 @@ }, "x-appwrite": { "method": "createSmtpProvider", - "weight": 341, + "weight": 342, "cookies": false, "type": "", "deprecated": false, @@ -14211,7 +14367,7 @@ }, "x-appwrite": { "method": "updateSmtpProvider", - "weight": 354, + "weight": 355, "cookies": false, "type": "", "deprecated": false, @@ -14356,7 +14512,7 @@ }, "x-appwrite": { "method": "createTelesignProvider", - "weight": 343, + "weight": 344, "cookies": false, "type": "", "deprecated": false, @@ -14451,7 +14607,7 @@ }, "x-appwrite": { "method": "updateTelesignProvider", - "weight": 356, + "weight": 357, "cookies": false, "type": "", "deprecated": false, @@ -14549,7 +14705,7 @@ }, "x-appwrite": { "method": "createTextmagicProvider", - "weight": 344, + "weight": 345, "cookies": false, "type": "", "deprecated": false, @@ -14644,7 +14800,7 @@ }, "x-appwrite": { "method": "updateTextmagicProvider", - "weight": 357, + "weight": 358, "cookies": false, "type": "", "deprecated": false, @@ -14742,7 +14898,7 @@ }, "x-appwrite": { "method": "createTwilioProvider", - "weight": 345, + "weight": 346, "cookies": false, "type": "", "deprecated": false, @@ -14837,7 +14993,7 @@ }, "x-appwrite": { "method": "updateTwilioProvider", - "weight": 358, + "weight": 359, "cookies": false, "type": "", "deprecated": false, @@ -14935,7 +15091,7 @@ }, "x-appwrite": { "method": "createVonageProvider", - "weight": 346, + "weight": 347, "cookies": false, "type": "", "deprecated": false, @@ -15030,7 +15186,7 @@ }, "x-appwrite": { "method": "updateVonageProvider", - "weight": 359, + "weight": 360, "cookies": false, "type": "", "deprecated": false, @@ -15128,7 +15284,7 @@ }, "x-appwrite": { "method": "getProvider", - "weight": 351, + "weight": 352, "cookies": false, "type": "", "deprecated": false, @@ -15181,7 +15337,7 @@ }, "x-appwrite": { "method": "deleteProvider", - "weight": 362, + "weight": 363, "cookies": false, "type": "", "deprecated": false, @@ -15243,7 +15399,7 @@ }, "x-appwrite": { "method": "listProviderLogs", - "weight": 350, + "weight": 351, "cookies": false, "type": "", "deprecated": false, @@ -15318,7 +15474,7 @@ }, "x-appwrite": { "method": "listSubscriberLogs", - "weight": 371, + "weight": 372, "cookies": false, "type": "", "deprecated": false, @@ -15393,7 +15549,7 @@ }, "x-appwrite": { "method": "listTopics", - "weight": 364, + "weight": 365, "cookies": false, "type": "", "deprecated": false, @@ -15467,7 +15623,7 @@ }, "x-appwrite": { "method": "createTopic", - "weight": 363, + "weight": 364, "cookies": false, "type": "", "deprecated": false, @@ -15550,7 +15706,7 @@ }, "x-appwrite": { "method": "getTopic", - "weight": 366, + "weight": 367, "cookies": false, "type": "", "deprecated": false, @@ -15610,7 +15766,7 @@ }, "x-appwrite": { "method": "updateTopic", - "weight": 367, + "weight": 368, "cookies": false, "type": "", "deprecated": false, @@ -15687,7 +15843,7 @@ }, "x-appwrite": { "method": "deleteTopic", - "weight": 368, + "weight": 369, "cookies": false, "type": "", "deprecated": false, @@ -15749,7 +15905,7 @@ }, "x-appwrite": { "method": "listTopicLogs", - "weight": 365, + "weight": 366, "cookies": false, "type": "", "deprecated": false, @@ -15824,7 +15980,7 @@ }, "x-appwrite": { "method": "listSubscribers", - "weight": 370, + "weight": 371, "cookies": false, "type": "", "deprecated": false, @@ -15908,7 +16064,7 @@ }, "x-appwrite": { "method": "createSubscriber", - "weight": 369, + "weight": 370, "cookies": false, "type": "", "deprecated": false, @@ -15999,7 +16155,7 @@ }, "x-appwrite": { "method": "getSubscriber", - "weight": 372, + "weight": 373, "cookies": false, "type": "", "deprecated": false, @@ -16062,7 +16218,7 @@ }, "x-appwrite": { "method": "deleteSubscriber", - "weight": 373, + "weight": 374, "cookies": false, "type": "", "deprecated": false, @@ -16138,7 +16294,7 @@ }, "x-appwrite": { "method": "list", - "weight": 393, + "weight": 395, "cookies": false, "type": "", "deprecated": false, @@ -16208,7 +16364,7 @@ }, "x-appwrite": { "method": "create", - "weight": 391, + "weight": 393, "cookies": false, "type": "", "deprecated": false, @@ -16436,7 +16592,7 @@ }, "x-appwrite": { "method": "listFrameworks", - "weight": 396, + "weight": 398, "cookies": false, "type": "", "deprecated": false, @@ -16485,7 +16641,7 @@ }, "x-appwrite": { "method": "get", - "weight": 392, + "weight": 394, "cookies": false, "type": "", "deprecated": false, @@ -16544,7 +16700,7 @@ }, "x-appwrite": { "method": "update", - "weight": 394, + "weight": 396, "cookies": false, "type": "", "deprecated": false, @@ -16768,7 +16924,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 395, + "weight": 397, "cookies": false, "type": "", "deprecated": false, @@ -16829,7 +16985,7 @@ }, "x-appwrite": { "method": "listDeployments", - "weight": 400, + "weight": 403, "cookies": false, "type": "", "deprecated": false, @@ -16912,7 +17068,7 @@ }, "x-appwrite": { "method": "createDeployment", - "weight": 397, + "weight": 399, "cookies": false, "type": "upload", "deprecated": false, @@ -17013,7 +17169,7 @@ }, "x-appwrite": { "method": "createTemplateDeployment", - "weight": 398, + "weight": 400, "cookies": false, "type": "", "deprecated": false, @@ -17094,6 +17250,97 @@ } } }, + "\/sites\/{siteId}\/deployments\/vcs": { + "post": { + "summary": "Create VCS deployment", + "operationId": "sitesCreateVcsDeployment", + "tags": [ + "sites" + ], + "description": "", + "responses": { + "202": { + "description": "Deployment", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/deployment" + } + } + } + } + }, + "x-appwrite": { + "method": "createVcsDeployment", + "weight": 401, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "sites\/create-vcs-deployment.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment when a site is connected to VCS.\n\nThis endpoint lets you create deployment from a branch, commit, or a tag.", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "sites.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "siteId", + "description": "Site ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Type of reference passed. Allowed values are: branch", + "x-example": "branch", + "enum": [ + "branch" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "reference": { + "type": "string", + "description": "VCS reference to create deployment from. Depending on type this can be: branch name", + "x-example": "" + } + }, + "required": [ + "type", + "reference" + ] + } + } + } + } + } + }, "\/sites\/{siteId}\/deployments\/{deploymentId}": { "get": { "summary": "Get deployment", @@ -17116,7 +17363,7 @@ }, "x-appwrite": { "method": "getDeployment", - "weight": 399, + "weight": 402, "cookies": false, "type": "", "deprecated": false, @@ -17185,7 +17432,7 @@ }, "x-appwrite": { "method": "updateDeployment", - "weight": 401, + "weight": 404, "cookies": false, "type": "", "deprecated": false, @@ -17247,7 +17494,7 @@ }, "x-appwrite": { "method": "deleteDeployment", - "weight": 402, + "weight": 405, "cookies": false, "type": "", "deprecated": false, @@ -17311,7 +17558,7 @@ }, "x-appwrite": { "method": "createDeploymentBuild", - "weight": 405, + "weight": 408, "cookies": false, "type": "", "deprecated": false, @@ -17380,7 +17627,7 @@ }, "x-appwrite": { "method": "updateDeploymentBuild", - "weight": 406, + "weight": 409, "cookies": false, "type": "", "deprecated": false, @@ -17444,7 +17691,7 @@ }, "x-appwrite": { "method": "getDeploymentBuildDownload", - "weight": 404, + "weight": 407, "cookies": false, "type": "location", "deprecated": false, @@ -17510,7 +17757,7 @@ }, "x-appwrite": { "method": "getDeploymentDownload", - "weight": 403, + "weight": 406, "cookies": false, "type": "location", "deprecated": false, @@ -17583,7 +17830,7 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 408, + "weight": 411, "cookies": false, "type": "", "deprecated": false, @@ -17665,7 +17912,7 @@ }, "x-appwrite": { "method": "getLog", - "weight": 407, + "weight": 410, "cookies": false, "type": "", "deprecated": false, @@ -17727,7 +17974,7 @@ }, "x-appwrite": { "method": "deleteLog", - "weight": 409, + "weight": 412, "cookies": false, "type": "", "deprecated": false, @@ -17798,7 +18045,7 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 412, + "weight": 415, "cookies": false, "type": "", "deprecated": false, @@ -17857,7 +18104,7 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 410, + "weight": 413, "cookies": false, "type": "", "deprecated": false, @@ -17948,7 +18195,7 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 411, + "weight": 414, "cookies": false, "type": "", "deprecated": false, @@ -18017,7 +18264,7 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 413, + "weight": 416, "cookies": false, "type": "", "deprecated": false, @@ -18108,7 +18355,7 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 414, + "weight": 417, "cookies": false, "type": "", "deprecated": false, @@ -18179,7 +18426,7 @@ }, "x-appwrite": { "method": "listBuckets", - "weight": 202, + "weight": 203, "cookies": false, "type": "", "deprecated": false, @@ -18252,7 +18499,7 @@ }, "x-appwrite": { "method": "createBucket", - "weight": 201, + "weight": 202, "cookies": false, "type": "", "deprecated": false, @@ -18379,7 +18626,7 @@ }, "x-appwrite": { "method": "getBucket", - "weight": 203, + "weight": 204, "cookies": false, "type": "", "deprecated": false, @@ -18438,7 +18685,7 @@ }, "x-appwrite": { "method": "updateBucket", - "weight": 204, + "weight": 205, "cookies": false, "type": "", "deprecated": false, @@ -18562,7 +18809,7 @@ }, "x-appwrite": { "method": "deleteBucket", - "weight": 205, + "weight": 206, "cookies": false, "type": "", "deprecated": false, @@ -18623,7 +18870,7 @@ }, "x-appwrite": { "method": "listFiles", - "weight": 207, + "weight": 208, "cookies": false, "type": "", "deprecated": false, @@ -18710,7 +18957,7 @@ }, "x-appwrite": { "method": "createFile", - "weight": 206, + "weight": 207, "cookies": false, "type": "upload", "deprecated": false, @@ -18809,7 +19056,7 @@ }, "x-appwrite": { "method": "getFile", - "weight": 208, + "weight": 209, "cookies": false, "type": "", "deprecated": false, @@ -18882,7 +19129,7 @@ }, "x-appwrite": { "method": "updateFile", - "weight": 213, + "weight": 214, "cookies": false, "type": "", "deprecated": false, @@ -18972,7 +19219,7 @@ }, "x-appwrite": { "method": "deleteFile", - "weight": 214, + "weight": 215, "cookies": false, "type": "", "deprecated": false, @@ -19040,7 +19287,7 @@ }, "x-appwrite": { "method": "getFileDownload", - "weight": 210, + "weight": 211, "cookies": false, "type": "location", "deprecated": false, @@ -19108,7 +19355,7 @@ }, "x-appwrite": { "method": "getFilePreview", - "weight": 209, + "weight": 210, "cookies": false, "type": "location", "deprecated": false, @@ -19326,7 +19573,7 @@ }, "x-appwrite": { "method": "getFileView", - "weight": 211, + "weight": 212, "cookies": false, "type": "location", "deprecated": false, @@ -19401,7 +19648,7 @@ }, "x-appwrite": { "method": "list", - "weight": 218, + "weight": 219, "cookies": false, "type": "", "deprecated": false, @@ -19478,7 +19725,7 @@ }, "x-appwrite": { "method": "create", - "weight": 217, + "weight": 218, "cookies": false, "type": "", "deprecated": false, @@ -19564,7 +19811,7 @@ }, "x-appwrite": { "method": "get", - "weight": 219, + "weight": 220, "cookies": false, "type": "", "deprecated": false, @@ -19627,7 +19874,7 @@ }, "x-appwrite": { "method": "updateName", - "weight": 221, + "weight": 222, "cookies": false, "type": "", "deprecated": false, @@ -19702,7 +19949,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 223, + "weight": 224, "cookies": false, "type": "", "deprecated": false, @@ -19767,7 +20014,7 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 225, + "weight": 226, "cookies": false, "type": "", "deprecated": false, @@ -19854,7 +20101,7 @@ }, "x-appwrite": { "method": "createMembership", - "weight": 224, + "weight": 225, "cookies": false, "type": "", "deprecated": false, @@ -19966,7 +20213,7 @@ }, "x-appwrite": { "method": "getMembership", - "weight": 226, + "weight": 227, "cookies": false, "type": "", "deprecated": false, @@ -20039,7 +20286,7 @@ }, "x-appwrite": { "method": "updateMembership", - "weight": 227, + "weight": 228, "cookies": false, "type": "", "deprecated": false, @@ -20127,7 +20374,7 @@ }, "x-appwrite": { "method": "deleteMembership", - "weight": 229, + "weight": 230, "cookies": false, "type": "", "deprecated": false, @@ -20202,7 +20449,7 @@ }, "x-appwrite": { "method": "updateMembershipStatus", - "weight": 228, + "weight": 229, "cookies": false, "type": "", "deprecated": false, @@ -20300,7 +20547,7 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 220, + "weight": 221, "cookies": false, "type": "", "deprecated": false, @@ -20361,7 +20608,7 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 222, + "weight": 223, "cookies": false, "type": "", "deprecated": false, @@ -20443,7 +20690,7 @@ }, "x-appwrite": { "method": "list", - "weight": 240, + "weight": 241, "cookies": false, "type": "", "deprecated": false, @@ -20516,7 +20763,7 @@ }, "x-appwrite": { "method": "create", - "weight": 231, + "weight": 232, "cookies": false, "type": "", "deprecated": false, @@ -20604,7 +20851,7 @@ }, "x-appwrite": { "method": "createArgon2User", - "weight": 234, + "weight": 235, "cookies": false, "type": "", "deprecated": false, @@ -20689,7 +20936,7 @@ }, "x-appwrite": { "method": "createBcryptUser", - "weight": 232, + "weight": 233, "cookies": false, "type": "", "deprecated": false, @@ -20774,7 +21021,7 @@ }, "x-appwrite": { "method": "listIdentities", - "weight": 248, + "weight": 249, "cookies": false, "type": "", "deprecated": false, @@ -20842,7 +21089,7 @@ }, "x-appwrite": { "method": "deleteIdentity", - "weight": 271, + "weight": 272, "cookies": false, "type": "", "deprecated": false, @@ -20903,7 +21150,7 @@ }, "x-appwrite": { "method": "createMD5User", - "weight": 233, + "weight": 234, "cookies": false, "type": "", "deprecated": false, @@ -20988,7 +21235,7 @@ }, "x-appwrite": { "method": "createPHPassUser", - "weight": 236, + "weight": 237, "cookies": false, "type": "", "deprecated": false, @@ -21073,7 +21320,7 @@ }, "x-appwrite": { "method": "createScryptUser", - "weight": 237, + "weight": 238, "cookies": false, "type": "", "deprecated": false, @@ -21188,7 +21435,7 @@ }, "x-appwrite": { "method": "createScryptModifiedUser", - "weight": 238, + "weight": 239, "cookies": false, "type": "", "deprecated": false, @@ -21291,7 +21538,7 @@ }, "x-appwrite": { "method": "createSHAUser", - "weight": 235, + "weight": 236, "cookies": false, "type": "", "deprecated": false, @@ -21396,7 +21643,7 @@ }, "x-appwrite": { "method": "get", - "weight": 241, + "weight": 242, "cookies": false, "type": "", "deprecated": false, @@ -21448,7 +21695,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 269, + "weight": 270, "cookies": false, "type": "", "deprecated": false, @@ -21509,7 +21756,7 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 254, + "weight": 255, "cookies": false, "type": "", "deprecated": false, @@ -21589,7 +21836,7 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 272, + "weight": 273, "cookies": false, "type": "", "deprecated": false, @@ -21671,7 +21918,7 @@ }, "x-appwrite": { "method": "updateLabels", - "weight": 250, + "weight": 251, "cookies": false, "type": "", "deprecated": false, @@ -21754,7 +22001,7 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 246, + "weight": 247, "cookies": false, "type": "", "deprecated": false, @@ -21828,7 +22075,7 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 245, + "weight": 246, "cookies": false, "type": "", "deprecated": false, @@ -21889,7 +22136,7 @@ }, "x-appwrite": { "method": "updateMfa", - "weight": 259, + "weight": 260, "cookies": false, "type": "", "deprecated": false, @@ -21962,7 +22209,7 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", - "weight": 264, + "weight": 265, "cookies": false, "type": "", "deprecated": false, @@ -22038,7 +22285,7 @@ }, "x-appwrite": { "method": "listMfaFactors", - "weight": 260, + "weight": 261, "cookies": false, "type": "", "deprecated": false, @@ -22099,7 +22346,7 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", - "weight": 261, + "weight": 262, "cookies": false, "type": "", "deprecated": false, @@ -22158,7 +22405,7 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", - "weight": 263, + "weight": 264, "cookies": false, "type": "", "deprecated": false, @@ -22217,7 +22464,7 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", - "weight": 262, + "weight": 263, "cookies": false, "type": "", "deprecated": false, @@ -22278,7 +22525,7 @@ }, "x-appwrite": { "method": "updateName", - "weight": 252, + "weight": 253, "cookies": false, "type": "", "deprecated": false, @@ -22358,7 +22605,7 @@ }, "x-appwrite": { "method": "updatePassword", - "weight": 253, + "weight": 254, "cookies": false, "type": "", "deprecated": false, @@ -22438,7 +22685,7 @@ }, "x-appwrite": { "method": "updatePhone", - "weight": 255, + "weight": 256, "cookies": false, "type": "", "deprecated": false, @@ -22518,7 +22765,7 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 242, + "weight": 243, "cookies": false, "type": "", "deprecated": false, @@ -22577,7 +22824,7 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 257, + "weight": 258, "cookies": false, "type": "", "deprecated": false, @@ -22657,7 +22904,7 @@ }, "x-appwrite": { "method": "listSessions", - "weight": 244, + "weight": 245, "cookies": false, "type": "", "deprecated": false, @@ -22716,7 +22963,7 @@ }, "x-appwrite": { "method": "createSession", - "weight": 265, + "weight": 266, "cookies": false, "type": "", "deprecated": false, @@ -22768,7 +23015,7 @@ }, "x-appwrite": { "method": "deleteSessions", - "weight": 268, + "weight": 269, "cookies": false, "type": "", "deprecated": false, @@ -22822,7 +23069,7 @@ }, "x-appwrite": { "method": "deleteSession", - "weight": 267, + "weight": 268, "cookies": false, "type": "", "deprecated": false, @@ -22893,7 +23140,7 @@ }, "x-appwrite": { "method": "updateStatus", - "weight": 249, + "weight": 250, "cookies": false, "type": "", "deprecated": false, @@ -22973,7 +23220,7 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 247, + "weight": 248, "cookies": false, "type": "", "deprecated": false, @@ -23046,7 +23293,7 @@ }, "x-appwrite": { "method": "createTarget", - "weight": 239, + "weight": 240, "cookies": false, "type": "", "deprecated": false, @@ -23156,7 +23403,7 @@ }, "x-appwrite": { "method": "getTarget", - "weight": 243, + "weight": 244, "cookies": false, "type": "", "deprecated": false, @@ -23226,7 +23473,7 @@ }, "x-appwrite": { "method": "updateTarget", - "weight": 258, + "weight": 259, "cookies": false, "type": "", "deprecated": false, @@ -23315,7 +23562,7 @@ }, "x-appwrite": { "method": "deleteTarget", - "weight": 270, + "weight": 271, "cookies": false, "type": "", "deprecated": false, @@ -23387,7 +23634,7 @@ }, "x-appwrite": { "method": "createToken", - "weight": 266, + "weight": 267, "cookies": false, "type": "", "deprecated": false, @@ -23469,7 +23716,7 @@ }, "x-appwrite": { "method": "updateEmailVerification", - "weight": 256, + "weight": 257, "cookies": false, "type": "", "deprecated": false, @@ -23549,7 +23796,7 @@ }, "x-appwrite": { "method": "updatePhoneVerification", - "weight": 251, + "weight": 252, "cookies": false, "type": "", "deprecated": false, diff --git a/app/config/specs/swagger2-latest-client.json b/app/config/specs/swagger2-latest-client.json index 923594c51d..f646dbd81a 100644 --- a/app/config/specs/swagger2-latest-client.json +++ b/app/config/specs/swagger2-latest-client.json @@ -3557,7 +3557,7 @@ "parameters": [ { "name": "code", - "description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, union-china-pay, visa, mir, maestro.", + "description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, union-china-pay, visa, mir, maestro, rupay.", "required": true, "type": "string", "x-example": "amex", @@ -3577,7 +3577,8 @@ "union-china-pay", "visa", "mir", - "maestro" + "maestro", + "rupay" ], "x-enum-name": "CreditCard", "x-enum-keys": [ @@ -3596,7 +3597,8 @@ "Union China Pay", "Visa", "MIR", - "Maestro" + "Maestro", + "Rupay" ], "in": "path" }, @@ -4547,7 +4549,7 @@ "tags": [ "databases" ], - "description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.", + "description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.\n", "responses": { "201": { "description": "Document", @@ -4927,7 +4929,7 @@ }, "x-appwrite": { "method": "listExecutions", - "weight": 300, + "weight": 301, "cookies": false, "type": "", "deprecated": false, @@ -5009,7 +5011,7 @@ }, "x-appwrite": { "method": "createExecution", - "weight": 299, + "weight": 300, "cookies": false, "type": "", "deprecated": false, @@ -5127,7 +5129,7 @@ }, "x-appwrite": { "method": "getExecution", - "weight": 301, + "weight": 302, "cookies": false, "type": "", "deprecated": false, @@ -5198,7 +5200,7 @@ }, "x-appwrite": { "method": "query", - "weight": 324, + "weight": 325, "cookies": false, "type": "graphql", "deprecated": false, @@ -5271,7 +5273,7 @@ }, "x-appwrite": { "method": "mutation", - "weight": 323, + "weight": 324, "cookies": false, "type": "graphql", "deprecated": false, @@ -5768,7 +5770,7 @@ }, "x-appwrite": { "method": "createSubscriber", - "weight": 369, + "weight": 370, "cookies": false, "type": "", "deprecated": false, @@ -5852,7 +5854,7 @@ }, "x-appwrite": { "method": "deleteSubscriber", - "weight": 373, + "weight": 374, "cookies": false, "type": "", "deprecated": false, @@ -5924,7 +5926,7 @@ }, "x-appwrite": { "method": "listFiles", - "weight": 207, + "weight": 208, "cookies": false, "type": "", "deprecated": false, @@ -6006,7 +6008,7 @@ }, "x-appwrite": { "method": "createFile", - "weight": 206, + "weight": 207, "cookies": false, "type": "upload", "deprecated": false, @@ -6097,7 +6099,7 @@ }, "x-appwrite": { "method": "getFile", - "weight": 208, + "weight": 209, "cookies": false, "type": "", "deprecated": false, @@ -6166,7 +6168,7 @@ }, "x-appwrite": { "method": "updateFile", - "weight": 213, + "weight": 214, "cookies": false, "type": "", "deprecated": false, @@ -6254,7 +6256,7 @@ }, "x-appwrite": { "method": "deleteFile", - "weight": 214, + "weight": 215, "cookies": false, "type": "", "deprecated": false, @@ -6325,7 +6327,7 @@ }, "x-appwrite": { "method": "getFileDownload", - "weight": 210, + "weight": 211, "cookies": false, "type": "location", "deprecated": false, @@ -6396,7 +6398,7 @@ }, "x-appwrite": { "method": "getFilePreview", - "weight": 209, + "weight": 210, "cookies": false, "type": "location", "deprecated": false, @@ -6595,7 +6597,7 @@ }, "x-appwrite": { "method": "getFileView", - "weight": 211, + "weight": 212, "cookies": false, "type": "location", "deprecated": false, @@ -6666,7 +6668,7 @@ }, "x-appwrite": { "method": "list", - "weight": 218, + "weight": 219, "cookies": false, "type": "", "deprecated": false, @@ -6740,7 +6742,7 @@ }, "x-appwrite": { "method": "create", - "weight": 217, + "weight": 218, "cookies": false, "type": "", "deprecated": false, @@ -6831,7 +6833,7 @@ }, "x-appwrite": { "method": "get", - "weight": 219, + "weight": 220, "cookies": false, "type": "", "deprecated": false, @@ -6892,7 +6894,7 @@ }, "x-appwrite": { "method": "updateName", - "weight": 221, + "weight": 222, "cookies": false, "type": "", "deprecated": false, @@ -6966,7 +6968,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 223, + "weight": 224, "cookies": false, "type": "", "deprecated": false, @@ -7029,7 +7031,7 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 225, + "weight": 226, "cookies": false, "type": "", "deprecated": false, @@ -7111,7 +7113,7 @@ }, "x-appwrite": { "method": "createMembership", - "weight": 224, + "weight": 225, "cookies": false, "type": "", "deprecated": false, @@ -7225,7 +7227,7 @@ }, "x-appwrite": { "method": "getMembership", - "weight": 226, + "weight": 227, "cookies": false, "type": "", "deprecated": false, @@ -7294,7 +7296,7 @@ }, "x-appwrite": { "method": "updateMembership", - "weight": 227, + "weight": 228, "cookies": false, "type": "", "deprecated": false, @@ -7379,7 +7381,7 @@ }, "x-appwrite": { "method": "deleteMembership", - "weight": 229, + "weight": 230, "cookies": false, "type": "", "deprecated": false, @@ -7450,7 +7452,7 @@ }, "x-appwrite": { "method": "updateMembershipStatus", - "weight": 228, + "weight": 229, "cookies": false, "type": "", "deprecated": false, @@ -7545,7 +7547,7 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 220, + "weight": 221, "cookies": false, "type": "", "deprecated": false, @@ -7605,7 +7607,7 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 222, + "weight": 223, "cookies": false, "type": "", "deprecated": false, diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 94da70da74..6d589840fd 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -3577,7 +3577,7 @@ "parameters": [ { "name": "code", - "description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, union-china-pay, visa, mir, maestro.", + "description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, union-china-pay, visa, mir, maestro, rupay.", "required": true, "type": "string", "x-example": "amex", @@ -3597,7 +3597,8 @@ "union-china-pay", "visa", "mir", - "maestro" + "maestro", + "rupay" ], "x-enum-name": "CreditCard", "x-enum-keys": [ @@ -3616,7 +3617,8 @@ "Union China Pay", "Visa", "MIR", - "Maestro" + "Maestro", + "Rupay" ], "in": "path" }, @@ -4497,7 +4499,7 @@ }, "x-appwrite": { "method": "chat", - "weight": 326, + "weight": 327, "cookies": false, "type": "", "deprecated": false, @@ -4561,7 +4563,7 @@ }, "x-appwrite": { "method": "getResource", - "weight": 419, + "weight": 422, "cookies": false, "type": "", "deprecated": false, @@ -4633,7 +4635,7 @@ }, "x-appwrite": { "method": "variables", - "weight": 325, + "weight": 326, "cookies": false, "type": "", "deprecated": false, @@ -8079,7 +8081,7 @@ "tags": [ "databases" ], - "description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.", + "description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.\n", "responses": { "201": { "description": "Document", @@ -9202,7 +9204,7 @@ }, "x-appwrite": { "method": "list", - "weight": 387, + "weight": 388, "cookies": false, "type": "", "deprecated": false, @@ -9273,7 +9275,7 @@ }, "x-appwrite": { "method": "create", - "weight": 385, + "weight": 386, "cookies": false, "type": "", "deprecated": false, @@ -9522,7 +9524,7 @@ }, "x-appwrite": { "method": "listRuntimes", - "weight": 388, + "weight": 389, "cookies": false, "type": "", "deprecated": false, @@ -9572,7 +9574,7 @@ }, "x-appwrite": { "method": "listSpecifications", - "weight": 287, + "weight": 288, "cookies": false, "type": "", "deprecated": false, @@ -9623,7 +9625,7 @@ }, "x-appwrite": { "method": "listTemplates", - "weight": 308, + "weight": 309, "cookies": false, "type": "", "deprecated": false, @@ -9718,7 +9720,7 @@ }, "x-appwrite": { "method": "getTemplate", - "weight": 309, + "weight": 310, "cookies": false, "type": "", "deprecated": false, @@ -9777,7 +9779,7 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 290, + "weight": 291, "cookies": false, "type": "", "deprecated": false, @@ -9848,7 +9850,7 @@ }, "x-appwrite": { "method": "get", - "weight": 288, + "weight": 289, "cookies": false, "type": "", "deprecated": false, @@ -9906,7 +9908,7 @@ }, "x-appwrite": { "method": "update", - "weight": 386, + "weight": 387, "cookies": false, "type": "", "deprecated": false, @@ -10149,7 +10151,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 293, + "weight": 294, "cookies": false, "type": "", "deprecated": false, @@ -10209,7 +10211,7 @@ }, "x-appwrite": { "method": "listDeployments", - "weight": 294, + "weight": 295, "cookies": false, "type": "", "deprecated": false, @@ -10288,7 +10290,7 @@ }, "x-appwrite": { "method": "createDeployment", - "weight": 389, + "weight": 390, "cookies": false, "type": "upload", "deprecated": false, @@ -10379,7 +10381,7 @@ }, "x-appwrite": { "method": "createTemplateDeployment", - "weight": 390, + "weight": 391, "cookies": false, "type": "", "deprecated": false, @@ -10460,6 +10462,96 @@ ] } }, + "\/functions\/{functionId}\/deployments\/vcs": { + "post": { + "summary": "Create VCS deployment", + "operationId": "functionsCreateVcsDeployment", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "", + "responses": { + "202": { + "description": "Deployment", + "schema": { + "$ref": "#\/definitions\/deployment" + } + } + }, + "x-appwrite": { + "method": "createVcsDeployment", + "weight": 392, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/create-vcs-deployment.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment when a function is connected to VCS.\n\nThis endpoint lets you create deployment from a branch, commit, or a tag.", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Type of reference passed. Allowed values are: branch", + "default": null, + "x-example": "branch", + "enum": [ + "branch" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "reference": { + "type": "string", + "description": "VCS reference to create deployment from. Depending on type this can be: branch name", + "default": null, + "x-example": "" + } + }, + "required": [ + "type", + "reference" + ] + } + } + ] + } + }, "\/functions\/{functionId}\/deployments\/{deploymentId}": { "get": { "summary": "Get deployment", @@ -10484,7 +10576,7 @@ }, "x-appwrite": { "method": "getDeployment", - "weight": 295, + "weight": 296, "cookies": false, "type": "", "deprecated": false, @@ -10545,7 +10637,7 @@ }, "x-appwrite": { "method": "deleteDeployment", - "weight": 296, + "weight": 297, "cookies": false, "type": "", "deprecated": false, @@ -10610,7 +10702,7 @@ }, "x-appwrite": { "method": "createBuild", - "weight": 297, + "weight": 298, "cookies": false, "type": "", "deprecated": false, @@ -10693,7 +10785,7 @@ }, "x-appwrite": { "method": "getDeploymentDownload", - "weight": 291, + "weight": 292, "cookies": false, "type": "location", "deprecated": false, @@ -10763,7 +10855,7 @@ }, "x-appwrite": { "method": "listExecutions", - "weight": 300, + "weight": 301, "cookies": false, "type": "", "deprecated": false, @@ -10845,7 +10937,7 @@ }, "x-appwrite": { "method": "createExecution", - "weight": 299, + "weight": 300, "cookies": false, "type": "", "deprecated": false, @@ -10963,7 +11055,7 @@ }, "x-appwrite": { "method": "getExecution", - "weight": 301, + "weight": 302, "cookies": false, "type": "", "deprecated": false, @@ -11027,7 +11119,7 @@ }, "x-appwrite": { "method": "deleteExecution", - "weight": 302, + "weight": 303, "cookies": false, "type": "", "deprecated": false, @@ -11095,7 +11187,7 @@ }, "x-appwrite": { "method": "getFunctionUsage", - "weight": 289, + "weight": 290, "cookies": false, "type": "", "deprecated": false, @@ -11174,7 +11266,7 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 304, + "weight": 305, "cookies": false, "type": "", "deprecated": false, @@ -11232,7 +11324,7 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 303, + "weight": 304, "cookies": false, "type": "", "deprecated": false, @@ -11323,7 +11415,7 @@ }, "x-appwrite": { "method": "query", - "weight": 324, + "weight": 325, "cookies": false, "type": "graphql", "deprecated": false, @@ -11396,7 +11488,7 @@ }, "x-appwrite": { "method": "mutation", - "weight": 323, + "weight": 324, "cookies": false, "type": "graphql", "deprecated": false, @@ -11519,7 +11611,7 @@ }, "x-appwrite": { "method": "getAntivirus", - "weight": 146, + "weight": 147, "cookies": false, "type": "", "deprecated": false, @@ -12031,7 +12123,7 @@ }, "x-appwrite": { "method": "getFailedJobs", - "weight": 147, + "weight": 148, "cookies": false, "type": "", "deprecated": false, @@ -12068,8 +12160,9 @@ "v1-audits", "v1-mails", "v1-functions", - "v1-usage", - "v1-usage-dump", + "v1-stats-resources", + "v1-stats-usage", + "v1-stats-usage-dump", "v1-webhooks", "v1-certificates", "v1-builds", @@ -12397,10 +12490,10 @@ ] } }, - "\/health\/queue\/usage": { + "\/health\/queue\/stats-resources": { "get": { - "summary": "Get usage queue", - "operationId": "healthGetQueueUsage", + "summary": "Get stats resources queue", + "operationId": "healthGetQueueStatsResources", "consumes": [ "application\/json" ], @@ -12410,7 +12503,7 @@ "tags": [ "health" ], - "description": "Get the number of metrics that are waiting to be processed in the Appwrite internal queue server.", + "description": "Get the number of metrics that are waiting to be processed in the Appwrite stats resources queue.", "responses": { "200": { "description": "Health Queue", @@ -12420,13 +12513,13 @@ } }, "x-appwrite": { - "method": "getQueueUsage", + "method": "getQueueStatsResources", "weight": 142, "cookies": false, "type": "", "deprecated": false, - "demo": "health\/get-queue-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-usage.md", + "demo": "health\/get-queue-stats-resources.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-resources.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -12458,10 +12551,71 @@ ] } }, - "\/health\/queue\/usage-dump": { + "\/health\/queue\/stats-usage": { + "get": { + "summary": "Get stats usage queue", + "operationId": "healthGetQueueUsage", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the number of metrics that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getQueueUsage", + "weight": 143, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-usage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/queue\/stats-usage-dump": { "get": { "summary": "Get usage dump queue", - "operationId": "healthGetQueueUsageDump", + "operationId": "healthGetQueueStatsUsageDump", "consumes": [ "application\/json" ], @@ -12481,13 +12635,13 @@ } }, "x-appwrite": { - "method": "getQueueUsageDump", - "weight": 143, + "method": "getQueueStatsUsageDump", + "weight": 144, "cookies": false, "type": "", "deprecated": false, - "demo": "health\/get-queue-usage-dump.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-usage-dump.md", + "demo": "health\/get-queue-stats-usage-dump.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage-dump.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -12604,7 +12758,7 @@ }, "x-appwrite": { "method": "getStorage", - "weight": 145, + "weight": 146, "cookies": false, "type": "", "deprecated": false, @@ -12654,7 +12808,7 @@ }, "x-appwrite": { "method": "getStorageLocal", - "weight": 144, + "weight": 145, "cookies": false, "type": "", "deprecated": false, @@ -13178,7 +13332,7 @@ }, "x-appwrite": { "method": "listMessages", - "weight": 377, + "weight": 378, "cookies": false, "type": "", "deprecated": false, @@ -13252,7 +13406,7 @@ }, "x-appwrite": { "method": "createEmail", - "weight": 374, + "weight": 375, "cookies": false, "type": "", "deprecated": false, @@ -13409,7 +13563,7 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 381, + "weight": 382, "cookies": false, "type": "", "deprecated": false, @@ -13563,7 +13717,7 @@ }, "x-appwrite": { "method": "createPush", - "weight": 376, + "weight": 377, "cookies": false, "type": "", "deprecated": false, @@ -13757,7 +13911,7 @@ }, "x-appwrite": { "method": "updatePush", - "weight": 383, + "weight": 384, "cookies": false, "type": "", "deprecated": false, @@ -13950,7 +14104,7 @@ }, "x-appwrite": { "method": "createSms", - "weight": 375, + "weight": 376, "cookies": false, "type": "", "deprecated": false, @@ -14067,7 +14221,7 @@ }, "x-appwrite": { "method": "updateSms", - "weight": 382, + "weight": 383, "cookies": false, "type": "", "deprecated": false, @@ -14182,7 +14336,7 @@ }, "x-appwrite": { "method": "getMessage", - "weight": 380, + "weight": 381, "cookies": false, "type": "", "deprecated": false, @@ -14236,7 +14390,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 384, + "weight": 385, "cookies": false, "type": "", "deprecated": false, @@ -14297,7 +14451,7 @@ }, "x-appwrite": { "method": "listMessageLogs", - "weight": 378, + "weight": 379, "cookies": false, "type": "", "deprecated": false, @@ -14370,7 +14524,7 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 379, + "weight": 380, "cookies": false, "type": "", "deprecated": false, @@ -14443,7 +14597,7 @@ }, "x-appwrite": { "method": "listProviders", - "weight": 349, + "weight": 350, "cookies": false, "type": "", "deprecated": false, @@ -14517,7 +14671,7 @@ }, "x-appwrite": { "method": "createApnsProvider", - "weight": 348, + "weight": 349, "cookies": false, "type": "", "deprecated": false, @@ -14631,7 +14785,7 @@ }, "x-appwrite": { "method": "updateApnsProvider", - "weight": 361, + "weight": 362, "cookies": false, "type": "", "deprecated": false, @@ -14743,7 +14897,7 @@ }, "x-appwrite": { "method": "createFcmProvider", - "weight": 347, + "weight": 348, "cookies": false, "type": "", "deprecated": false, @@ -14833,7 +14987,7 @@ }, "x-appwrite": { "method": "updateFcmProvider", - "weight": 360, + "weight": 361, "cookies": false, "type": "", "deprecated": false, @@ -14921,7 +15075,7 @@ }, "x-appwrite": { "method": "createMailgunProvider", - "weight": 339, + "weight": 340, "cookies": false, "type": "", "deprecated": false, @@ -15047,7 +15201,7 @@ }, "x-appwrite": { "method": "updateMailgunProvider", - "weight": 352, + "weight": 353, "cookies": false, "type": "", "deprecated": false, @@ -15171,7 +15325,7 @@ }, "x-appwrite": { "method": "createMsg91Provider", - "weight": 342, + "weight": 343, "cookies": false, "type": "", "deprecated": false, @@ -15273,7 +15427,7 @@ }, "x-appwrite": { "method": "updateMsg91Provider", - "weight": 355, + "weight": 356, "cookies": false, "type": "", "deprecated": false, @@ -15373,7 +15527,7 @@ }, "x-appwrite": { "method": "createSendgridProvider", - "weight": 340, + "weight": 341, "cookies": false, "type": "", "deprecated": false, @@ -15487,7 +15641,7 @@ }, "x-appwrite": { "method": "updateSendgridProvider", - "weight": 353, + "weight": 354, "cookies": false, "type": "", "deprecated": false, @@ -15599,7 +15753,7 @@ }, "x-appwrite": { "method": "createSmtpProvider", - "weight": 341, + "weight": 342, "cookies": false, "type": "", "deprecated": false, @@ -15757,7 +15911,7 @@ }, "x-appwrite": { "method": "updateSmtpProvider", - "weight": 354, + "weight": 355, "cookies": false, "type": "", "deprecated": false, @@ -15912,7 +16066,7 @@ }, "x-appwrite": { "method": "createTelesignProvider", - "weight": 343, + "weight": 344, "cookies": false, "type": "", "deprecated": false, @@ -16014,7 +16168,7 @@ }, "x-appwrite": { "method": "updateTelesignProvider", - "weight": 356, + "weight": 357, "cookies": false, "type": "", "deprecated": false, @@ -16114,7 +16268,7 @@ }, "x-appwrite": { "method": "createTextmagicProvider", - "weight": 344, + "weight": 345, "cookies": false, "type": "", "deprecated": false, @@ -16216,7 +16370,7 @@ }, "x-appwrite": { "method": "updateTextmagicProvider", - "weight": 357, + "weight": 358, "cookies": false, "type": "", "deprecated": false, @@ -16316,7 +16470,7 @@ }, "x-appwrite": { "method": "createTwilioProvider", - "weight": 345, + "weight": 346, "cookies": false, "type": "", "deprecated": false, @@ -16418,7 +16572,7 @@ }, "x-appwrite": { "method": "updateTwilioProvider", - "weight": 358, + "weight": 359, "cookies": false, "type": "", "deprecated": false, @@ -16518,7 +16672,7 @@ }, "x-appwrite": { "method": "createVonageProvider", - "weight": 346, + "weight": 347, "cookies": false, "type": "", "deprecated": false, @@ -16620,7 +16774,7 @@ }, "x-appwrite": { "method": "updateVonageProvider", - "weight": 359, + "weight": 360, "cookies": false, "type": "", "deprecated": false, @@ -16720,7 +16874,7 @@ }, "x-appwrite": { "method": "getProvider", - "weight": 351, + "weight": 352, "cookies": false, "type": "", "deprecated": false, @@ -16774,7 +16928,7 @@ }, "x-appwrite": { "method": "deleteProvider", - "weight": 362, + "weight": 363, "cookies": false, "type": "", "deprecated": false, @@ -16835,7 +16989,7 @@ }, "x-appwrite": { "method": "listProviderLogs", - "weight": 350, + "weight": 351, "cookies": false, "type": "", "deprecated": false, @@ -16908,7 +17062,7 @@ }, "x-appwrite": { "method": "listSubscriberLogs", - "weight": 371, + "weight": 372, "cookies": false, "type": "", "deprecated": false, @@ -16981,7 +17135,7 @@ }, "x-appwrite": { "method": "listTopics", - "weight": 364, + "weight": 365, "cookies": false, "type": "", "deprecated": false, @@ -17053,7 +17207,7 @@ }, "x-appwrite": { "method": "createTopic", - "weight": 363, + "weight": 364, "cookies": false, "type": "", "deprecated": false, @@ -17142,7 +17296,7 @@ }, "x-appwrite": { "method": "getTopic", - "weight": 366, + "weight": 367, "cookies": false, "type": "", "deprecated": false, @@ -17201,7 +17355,7 @@ }, "x-appwrite": { "method": "updateTopic", - "weight": 367, + "weight": 368, "cookies": false, "type": "", "deprecated": false, @@ -17279,7 +17433,7 @@ }, "x-appwrite": { "method": "deleteTopic", - "weight": 368, + "weight": 369, "cookies": false, "type": "", "deprecated": false, @@ -17340,7 +17494,7 @@ }, "x-appwrite": { "method": "listTopicLogs", - "weight": 365, + "weight": 366, "cookies": false, "type": "", "deprecated": false, @@ -17413,7 +17567,7 @@ }, "x-appwrite": { "method": "listSubscribers", - "weight": 370, + "weight": 371, "cookies": false, "type": "", "deprecated": false, @@ -17493,7 +17647,7 @@ }, "x-appwrite": { "method": "createSubscriber", - "weight": 369, + "weight": 370, "cookies": false, "type": "", "deprecated": false, @@ -17582,7 +17736,7 @@ }, "x-appwrite": { "method": "getSubscriber", - "weight": 372, + "weight": 373, "cookies": false, "type": "", "deprecated": false, @@ -17644,7 +17798,7 @@ }, "x-appwrite": { "method": "deleteSubscriber", - "weight": 373, + "weight": 374, "cookies": false, "type": "", "deprecated": false, @@ -17716,7 +17870,7 @@ }, "x-appwrite": { "method": "list", - "weight": 331, + "weight": 332, "cookies": false, "type": "", "deprecated": false, @@ -17788,7 +17942,7 @@ }, "x-appwrite": { "method": "createAppwriteMigration", - "weight": 327, + "weight": 328, "cookies": false, "type": "", "deprecated": false, @@ -17829,19 +17983,19 @@ }, "endpoint": { "type": "string", - "description": "Source's Appwrite Endpoint", + "description": "Source Appwrite endpoint", "default": null, "x-example": "https:\/\/example.com" }, "projectId": { "type": "string", - "description": "Source's Project ID", + "description": "Source Project ID", "default": null, "x-example": "" }, "apiKey": { "type": "string", - "description": "Source's API Key", + "description": "Source API Key", "default": null, "x-example": "" } @@ -17881,7 +18035,7 @@ }, "x-appwrite": { "method": "getAppwriteReport", - "weight": 333, + "weight": 334, "cookies": false, "type": "", "deprecated": false, @@ -17968,7 +18122,7 @@ }, "x-appwrite": { "method": "createFirebaseMigration", - "weight": 328, + "weight": 329, "cookies": false, "type": "", "deprecated": false, @@ -18047,7 +18201,7 @@ }, "x-appwrite": { "method": "getFirebaseReport", - "weight": 334, + "weight": 335, "cookies": false, "type": "", "deprecated": false, @@ -18117,7 +18271,7 @@ }, "x-appwrite": { "method": "createNHostMigration", - "weight": 330, + "weight": 331, "cookies": false, "type": "", "deprecated": false, @@ -18237,7 +18391,7 @@ }, "x-appwrite": { "method": "getNHostReport", - "weight": 336, + "weight": 337, "cookies": false, "type": "", "deprecated": false, @@ -18356,7 +18510,7 @@ }, "x-appwrite": { "method": "createSupabaseMigration", - "weight": 329, + "weight": 330, "cookies": false, "type": "", "deprecated": false, @@ -18469,7 +18623,7 @@ }, "x-appwrite": { "method": "getSupabaseReport", - "weight": 335, + "weight": 336, "cookies": false, "type": "", "deprecated": false, @@ -18581,7 +18735,7 @@ }, "x-appwrite": { "method": "get", - "weight": 332, + "weight": 333, "cookies": false, "type": "", "deprecated": false, @@ -18638,7 +18792,7 @@ }, "x-appwrite": { "method": "retry", - "weight": 337, + "weight": 338, "cookies": false, "type": "", "deprecated": false, @@ -18690,7 +18844,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 338, + "weight": 339, "cookies": false, "type": "", "deprecated": false, @@ -18749,7 +18903,7 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 195, + "weight": 196, "cookies": false, "type": "", "deprecated": false, @@ -18832,7 +18986,7 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 197, + "weight": 198, "cookies": false, "type": "", "deprecated": false, @@ -18879,7 +19033,7 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 196, + "weight": 197, "cookies": false, "type": "", "deprecated": false, @@ -18961,7 +19115,7 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 198, + "weight": 199, "cookies": false, "type": "", "deprecated": false, @@ -19018,7 +19172,7 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 199, + "weight": 200, "cookies": false, "type": "", "deprecated": false, @@ -19100,7 +19254,7 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 200, + "weight": 201, "cookies": false, "type": "", "deprecated": false, @@ -19159,7 +19313,7 @@ }, "x-appwrite": { "method": "list", - "weight": 150, + "weight": 151, "cookies": false, "type": "", "deprecated": false, @@ -19229,7 +19383,7 @@ }, "x-appwrite": { "method": "create", - "weight": 149, + "weight": 150, "cookies": false, "type": "", "deprecated": false, @@ -19378,7 +19532,7 @@ }, "x-appwrite": { "method": "get", - "weight": 151, + "weight": 152, "cookies": false, "type": "", "deprecated": false, @@ -19435,7 +19589,7 @@ }, "x-appwrite": { "method": "update", - "weight": 152, + "weight": 153, "cookies": false, "type": "", "deprecated": false, @@ -19559,7 +19713,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 169, + "weight": 170, "cookies": false, "type": "", "deprecated": false, @@ -19618,7 +19772,7 @@ }, "x-appwrite": { "method": "updateApiStatus", - "weight": 156, + "weight": 157, "cookies": false, "type": "", "deprecated": false, @@ -19709,7 +19863,7 @@ }, "x-appwrite": { "method": "updateApiStatusAll", - "weight": 157, + "weight": 158, "cookies": false, "type": "", "deprecated": false, @@ -19786,7 +19940,7 @@ }, "x-appwrite": { "method": "updateAuthDuration", - "weight": 162, + "weight": 163, "cookies": false, "type": "", "deprecated": false, @@ -19863,7 +20017,7 @@ }, "x-appwrite": { "method": "updateAuthLimit", - "weight": 161, + "weight": 162, "cookies": false, "type": "", "deprecated": false, @@ -19940,7 +20094,7 @@ }, "x-appwrite": { "method": "updateAuthSessionsLimit", - "weight": 167, + "weight": 168, "cookies": false, "type": "", "deprecated": false, @@ -20017,7 +20171,7 @@ }, "x-appwrite": { "method": "updateMembershipsPrivacy", - "weight": 160, + "weight": 161, "cookies": false, "type": "", "deprecated": false, @@ -20108,7 +20262,7 @@ }, "x-appwrite": { "method": "updateMockNumbers", - "weight": 168, + "weight": 169, "cookies": false, "type": "", "deprecated": false, @@ -20188,7 +20342,7 @@ }, "x-appwrite": { "method": "updateAuthPasswordDictionary", - "weight": 165, + "weight": 166, "cookies": false, "type": "", "deprecated": false, @@ -20265,7 +20419,7 @@ }, "x-appwrite": { "method": "updateAuthPasswordHistory", - "weight": 164, + "weight": 165, "cookies": false, "type": "", "deprecated": false, @@ -20342,7 +20496,7 @@ }, "x-appwrite": { "method": "updatePersonalDataCheck", - "weight": 166, + "weight": 167, "cookies": false, "type": "", "deprecated": false, @@ -20419,7 +20573,7 @@ }, "x-appwrite": { "method": "updateSessionAlerts", - "weight": 159, + "weight": 160, "cookies": false, "type": "", "deprecated": false, @@ -20496,7 +20650,7 @@ }, "x-appwrite": { "method": "updateAuthStatus", - "weight": 163, + "weight": 164, "cookies": false, "type": "", "deprecated": false, @@ -20592,7 +20746,7 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 181, + "weight": 182, "cookies": false, "type": "", "deprecated": false, @@ -20678,7 +20832,7 @@ }, "x-appwrite": { "method": "listKeys", - "weight": 177, + "weight": 178, "cookies": false, "type": "", "deprecated": false, @@ -20735,7 +20889,7 @@ }, "x-appwrite": { "method": "createKey", - "weight": 176, + "weight": 177, "cookies": false, "type": "", "deprecated": false, @@ -20828,7 +20982,7 @@ }, "x-appwrite": { "method": "getKey", - "weight": 178, + "weight": 179, "cookies": false, "type": "", "deprecated": false, @@ -20893,7 +21047,7 @@ }, "x-appwrite": { "method": "updateKey", - "weight": 179, + "weight": 180, "cookies": false, "type": "", "deprecated": false, @@ -20987,7 +21141,7 @@ }, "x-appwrite": { "method": "deleteKey", - "weight": 180, + "weight": 181, "cookies": false, "type": "", "deprecated": false, @@ -21054,7 +21208,7 @@ }, "x-appwrite": { "method": "updateOAuth2", - "weight": 158, + "weight": 159, "cookies": false, "type": "", "deprecated": false, @@ -21192,7 +21346,7 @@ }, "x-appwrite": { "method": "listPlatforms", - "weight": 183, + "weight": 184, "cookies": false, "type": "", "deprecated": false, @@ -21249,7 +21403,7 @@ }, "x-appwrite": { "method": "createPlatform", - "weight": 182, + "weight": 183, "cookies": false, "type": "", "deprecated": false, @@ -21370,7 +21524,7 @@ }, "x-appwrite": { "method": "getPlatform", - "weight": 184, + "weight": 185, "cookies": false, "type": "", "deprecated": false, @@ -21435,7 +21589,7 @@ }, "x-appwrite": { "method": "updatePlatform", - "weight": 185, + "weight": 186, "cookies": false, "type": "", "deprecated": false, @@ -21531,7 +21685,7 @@ }, "x-appwrite": { "method": "deletePlatform", - "weight": 186, + "weight": 187, "cookies": false, "type": "", "deprecated": false, @@ -21598,7 +21752,7 @@ }, "x-appwrite": { "method": "updateServiceStatus", - "weight": 154, + "weight": 155, "cookies": false, "type": "", "deprecated": false, @@ -21698,7 +21852,7 @@ }, "x-appwrite": { "method": "updateServiceStatusAll", - "weight": 155, + "weight": 156, "cookies": false, "type": "", "deprecated": false, @@ -21775,7 +21929,7 @@ }, "x-appwrite": { "method": "updateSmtp", - "weight": 187, + "weight": 188, "cookies": false, "type": "", "deprecated": false, @@ -21903,7 +22057,7 @@ }, "x-appwrite": { "method": "createSmtpTest", - "weight": 188, + "weight": 189, "cookies": false, "type": "", "deprecated": false, @@ -22040,7 +22194,7 @@ }, "x-appwrite": { "method": "updateTeam", - "weight": 153, + "weight": 154, "cookies": false, "type": "", "deprecated": false, @@ -22117,7 +22271,7 @@ }, "x-appwrite": { "method": "getEmailTemplate", - "weight": 190, + "weight": 191, "cookies": false, "type": "", "deprecated": false, @@ -22336,7 +22490,7 @@ }, "x-appwrite": { "method": "updateEmailTemplate", - "weight": 192, + "weight": 193, "cookies": false, "type": "", "deprecated": false, @@ -22598,7 +22752,7 @@ }, "x-appwrite": { "method": "deleteEmailTemplate", - "weight": 194, + "weight": 195, "cookies": false, "type": "", "deprecated": false, @@ -22819,7 +22973,7 @@ }, "x-appwrite": { "method": "getSmsTemplate", - "weight": 189, + "weight": 190, "cookies": false, "type": "", "deprecated": false, @@ -23035,7 +23189,7 @@ }, "x-appwrite": { "method": "updateSmsTemplate", - "weight": 191, + "weight": 192, "cookies": false, "type": "", "deprecated": false, @@ -23269,7 +23423,7 @@ }, "x-appwrite": { "method": "deleteSmsTemplate", - "weight": 193, + "weight": 194, "cookies": false, "type": "", "deprecated": false, @@ -23487,7 +23641,7 @@ }, "x-appwrite": { "method": "listWebhooks", - "weight": 171, + "weight": 172, "cookies": false, "type": "", "deprecated": false, @@ -23544,7 +23698,7 @@ }, "x-appwrite": { "method": "createWebhook", - "weight": 170, + "weight": 171, "cookies": false, "type": "", "deprecated": false, @@ -23663,7 +23817,7 @@ }, "x-appwrite": { "method": "getWebhook", - "weight": 172, + "weight": 173, "cookies": false, "type": "", "deprecated": false, @@ -23728,7 +23882,7 @@ }, "x-appwrite": { "method": "updateWebhook", - "weight": 173, + "weight": 174, "cookies": false, "type": "", "deprecated": false, @@ -23848,7 +24002,7 @@ }, "x-appwrite": { "method": "deleteWebhook", - "weight": 175, + "weight": 176, "cookies": false, "type": "", "deprecated": false, @@ -23915,7 +24069,7 @@ }, "x-appwrite": { "method": "updateWebhookSignature", - "weight": 174, + "weight": 175, "cookies": false, "type": "", "deprecated": false, @@ -23982,7 +24136,7 @@ }, "x-appwrite": { "method": "listRules", - "weight": 310, + "weight": 311, "cookies": false, "type": "", "deprecated": false, @@ -24052,7 +24206,7 @@ }, "x-appwrite": { "method": "createRule", - "weight": 420, + "weight": 423, "cookies": false, "type": "", "deprecated": false, @@ -24141,7 +24295,7 @@ }, "x-appwrite": { "method": "getRule", - "weight": 311, + "weight": 312, "cookies": false, "type": "", "deprecated": false, @@ -24193,7 +24347,7 @@ }, "x-appwrite": { "method": "deleteRule", - "weight": 312, + "weight": 313, "cookies": false, "type": "", "deprecated": false, @@ -24252,7 +24406,7 @@ }, "x-appwrite": { "method": "updateRuleVerification", - "weight": 313, + "weight": 314, "cookies": false, "type": "", "deprecated": false, @@ -24311,7 +24465,7 @@ }, "x-appwrite": { "method": "list", - "weight": 393, + "weight": 395, "cookies": false, "type": "", "deprecated": false, @@ -24382,7 +24536,7 @@ }, "x-appwrite": { "method": "create", - "weight": 391, + "weight": 393, "cookies": false, "type": "", "deprecated": false, @@ -24628,7 +24782,7 @@ }, "x-appwrite": { "method": "listFrameworks", - "weight": 396, + "weight": 398, "cookies": false, "type": "", "deprecated": false, @@ -24678,7 +24832,7 @@ }, "x-appwrite": { "method": "listTemplates", - "weight": 415, + "weight": 418, "cookies": false, "type": "", "deprecated": false, @@ -24773,7 +24927,7 @@ }, "x-appwrite": { "method": "getTemplate", - "weight": 416, + "weight": 419, "cookies": false, "type": "", "deprecated": false, @@ -24832,7 +24986,7 @@ }, "x-appwrite": { "method": "listUsage", - "weight": 417, + "weight": 420, "cookies": false, "type": "", "deprecated": false, @@ -24899,7 +25053,7 @@ }, "x-appwrite": { "method": "get", - "weight": 392, + "weight": 394, "cookies": false, "type": "", "deprecated": false, @@ -24957,7 +25111,7 @@ }, "x-appwrite": { "method": "update", - "weight": 394, + "weight": 396, "cookies": false, "type": "", "deprecated": false, @@ -25196,7 +25350,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 395, + "weight": 397, "cookies": false, "type": "", "deprecated": false, @@ -25256,7 +25410,7 @@ }, "x-appwrite": { "method": "listDeployments", - "weight": 400, + "weight": 403, "cookies": false, "type": "", "deprecated": false, @@ -25335,7 +25489,7 @@ }, "x-appwrite": { "method": "createDeployment", - "weight": 397, + "weight": 399, "cookies": false, "type": "upload", "deprecated": false, @@ -25434,7 +25588,7 @@ }, "x-appwrite": { "method": "createTemplateDeployment", - "weight": 398, + "weight": 400, "cookies": false, "type": "", "deprecated": false, @@ -25515,6 +25669,96 @@ ] } }, + "\/sites\/{siteId}\/deployments\/vcs": { + "post": { + "summary": "Create VCS deployment", + "operationId": "sitesCreateVcsDeployment", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "sites" + ], + "description": "", + "responses": { + "202": { + "description": "Deployment", + "schema": { + "$ref": "#\/definitions\/deployment" + } + } + }, + "x-appwrite": { + "method": "createVcsDeployment", + "weight": 401, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "sites\/create-vcs-deployment.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment when a site is connected to VCS.\n\nThis endpoint lets you create deployment from a branch, commit, or a tag.", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "sites.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "siteId", + "description": "Site ID.", + "required": true, + "type": "string", + "x-example": "", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Type of reference passed. Allowed values are: branch", + "default": null, + "x-example": "branch", + "enum": [ + "branch" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "reference": { + "type": "string", + "description": "VCS reference to create deployment from. Depending on type this can be: branch name", + "default": null, + "x-example": "" + } + }, + "required": [ + "type", + "reference" + ] + } + } + ] + } + }, "\/sites\/{siteId}\/deployments\/{deploymentId}": { "get": { "summary": "Get deployment", @@ -25539,7 +25783,7 @@ }, "x-appwrite": { "method": "getDeployment", - "weight": 399, + "weight": 402, "cookies": false, "type": "", "deprecated": false, @@ -25605,7 +25849,7 @@ }, "x-appwrite": { "method": "updateDeployment", - "weight": 401, + "weight": 404, "cookies": false, "type": "", "deprecated": false, @@ -25666,7 +25910,7 @@ }, "x-appwrite": { "method": "deleteDeployment", - "weight": 402, + "weight": 405, "cookies": false, "type": "", "deprecated": false, @@ -25731,7 +25975,7 @@ }, "x-appwrite": { "method": "createDeploymentBuild", - "weight": 405, + "weight": 408, "cookies": false, "type": "", "deprecated": false, @@ -25797,7 +26041,7 @@ }, "x-appwrite": { "method": "updateDeploymentBuild", - "weight": 406, + "weight": 409, "cookies": false, "type": "", "deprecated": false, @@ -25865,7 +26109,7 @@ }, "x-appwrite": { "method": "getDeploymentBuildDownload", - "weight": 404, + "weight": 407, "cookies": false, "type": "location", "deprecated": false, @@ -25935,7 +26179,7 @@ }, "x-appwrite": { "method": "getDeploymentDownload", - "weight": 403, + "weight": 406, "cookies": false, "type": "location", "deprecated": false, @@ -26005,7 +26249,7 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 408, + "weight": 411, "cookies": false, "type": "", "deprecated": false, @@ -26086,7 +26330,7 @@ }, "x-appwrite": { "method": "getLog", - "weight": 407, + "weight": 410, "cookies": false, "type": "", "deprecated": false, @@ -26149,7 +26393,7 @@ }, "x-appwrite": { "method": "deleteLog", - "weight": 409, + "weight": 412, "cookies": false, "type": "", "deprecated": false, @@ -26217,7 +26461,7 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 418, + "weight": 421, "cookies": false, "type": "", "deprecated": false, @@ -26296,7 +26540,7 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 412, + "weight": 415, "cookies": false, "type": "", "deprecated": false, @@ -26354,7 +26598,7 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 410, + "weight": 413, "cookies": false, "type": "", "deprecated": false, @@ -26445,7 +26689,7 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 411, + "weight": 414, "cookies": false, "type": "", "deprecated": false, @@ -26511,7 +26755,7 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 413, + "weight": 416, "cookies": false, "type": "", "deprecated": false, @@ -26602,7 +26846,7 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 414, + "weight": 417, "cookies": false, "type": "", "deprecated": false, @@ -26670,7 +26914,7 @@ }, "x-appwrite": { "method": "listBuckets", - "weight": 202, + "weight": 203, "cookies": false, "type": "", "deprecated": false, @@ -26741,7 +26985,7 @@ }, "x-appwrite": { "method": "createBucket", - "weight": 201, + "weight": 202, "cookies": false, "type": "", "deprecated": false, @@ -26879,7 +27123,7 @@ }, "x-appwrite": { "method": "getBucket", - "weight": 203, + "weight": 204, "cookies": false, "type": "", "deprecated": false, @@ -26937,7 +27181,7 @@ }, "x-appwrite": { "method": "updateBucket", - "weight": 204, + "weight": 205, "cookies": false, "type": "", "deprecated": false, @@ -27069,7 +27313,7 @@ }, "x-appwrite": { "method": "deleteBucket", - "weight": 205, + "weight": 206, "cookies": false, "type": "", "deprecated": false, @@ -27129,7 +27373,7 @@ }, "x-appwrite": { "method": "listFiles", - "weight": 207, + "weight": 208, "cookies": false, "type": "", "deprecated": false, @@ -27211,7 +27455,7 @@ }, "x-appwrite": { "method": "createFile", - "weight": 206, + "weight": 207, "cookies": false, "type": "upload", "deprecated": false, @@ -27302,7 +27546,7 @@ }, "x-appwrite": { "method": "getFile", - "weight": 208, + "weight": 209, "cookies": false, "type": "", "deprecated": false, @@ -27371,7 +27615,7 @@ }, "x-appwrite": { "method": "updateFile", - "weight": 213, + "weight": 214, "cookies": false, "type": "", "deprecated": false, @@ -27459,7 +27703,7 @@ }, "x-appwrite": { "method": "deleteFile", - "weight": 214, + "weight": 215, "cookies": false, "type": "", "deprecated": false, @@ -27530,7 +27774,7 @@ }, "x-appwrite": { "method": "getFileDownload", - "weight": 210, + "weight": 211, "cookies": false, "type": "location", "deprecated": false, @@ -27601,7 +27845,7 @@ }, "x-appwrite": { "method": "getFilePreview", - "weight": 209, + "weight": 210, "cookies": false, "type": "location", "deprecated": false, @@ -27800,7 +28044,7 @@ }, "x-appwrite": { "method": "getFileView", - "weight": 211, + "weight": 212, "cookies": false, "type": "location", "deprecated": false, @@ -27871,7 +28115,7 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 215, + "weight": 216, "cookies": false, "type": "", "deprecated": false, @@ -27942,7 +28186,7 @@ }, "x-appwrite": { "method": "getBucketUsage", - "weight": 216, + "weight": 217, "cookies": false, "type": "", "deprecated": false, @@ -28021,7 +28265,7 @@ }, "x-appwrite": { "method": "list", - "weight": 218, + "weight": 219, "cookies": false, "type": "", "deprecated": false, @@ -28095,7 +28339,7 @@ }, "x-appwrite": { "method": "create", - "weight": 217, + "weight": 218, "cookies": false, "type": "", "deprecated": false, @@ -28186,7 +28430,7 @@ }, "x-appwrite": { "method": "get", - "weight": 219, + "weight": 220, "cookies": false, "type": "", "deprecated": false, @@ -28247,7 +28491,7 @@ }, "x-appwrite": { "method": "updateName", - "weight": 221, + "weight": 222, "cookies": false, "type": "", "deprecated": false, @@ -28321,7 +28565,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 223, + "weight": 224, "cookies": false, "type": "", "deprecated": false, @@ -28384,7 +28628,7 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 230, + "weight": 231, "cookies": false, "type": "", "deprecated": false, @@ -28455,7 +28699,7 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 225, + "weight": 226, "cookies": false, "type": "", "deprecated": false, @@ -28537,7 +28781,7 @@ }, "x-appwrite": { "method": "createMembership", - "weight": 224, + "weight": 225, "cookies": false, "type": "", "deprecated": false, @@ -28651,7 +28895,7 @@ }, "x-appwrite": { "method": "getMembership", - "weight": 226, + "weight": 227, "cookies": false, "type": "", "deprecated": false, @@ -28720,7 +28964,7 @@ }, "x-appwrite": { "method": "updateMembership", - "weight": 227, + "weight": 228, "cookies": false, "type": "", "deprecated": false, @@ -28805,7 +29049,7 @@ }, "x-appwrite": { "method": "deleteMembership", - "weight": 229, + "weight": 230, "cookies": false, "type": "", "deprecated": false, @@ -28876,7 +29120,7 @@ }, "x-appwrite": { "method": "updateMembershipStatus", - "weight": 228, + "weight": 229, "cookies": false, "type": "", "deprecated": false, @@ -28970,7 +29214,7 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 220, + "weight": 221, "cookies": false, "type": "", "deprecated": false, @@ -29029,7 +29273,7 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 222, + "weight": 223, "cookies": false, "type": "", "deprecated": false, @@ -29108,7 +29352,7 @@ }, "x-appwrite": { "method": "list", - "weight": 240, + "weight": 241, "cookies": false, "type": "", "deprecated": false, @@ -29179,7 +29423,7 @@ }, "x-appwrite": { "method": "create", - "weight": 231, + "weight": 232, "cookies": false, "type": "", "deprecated": false, @@ -29273,7 +29517,7 @@ }, "x-appwrite": { "method": "createArgon2User", - "weight": 234, + "weight": 235, "cookies": false, "type": "", "deprecated": false, @@ -29363,7 +29607,7 @@ }, "x-appwrite": { "method": "createBcryptUser", - "weight": 232, + "weight": 233, "cookies": false, "type": "", "deprecated": false, @@ -29453,7 +29697,7 @@ }, "x-appwrite": { "method": "listIdentities", - "weight": 248, + "weight": 249, "cookies": false, "type": "", "deprecated": false, @@ -29521,7 +29765,7 @@ }, "x-appwrite": { "method": "deleteIdentity", - "weight": 271, + "weight": 272, "cookies": false, "type": "", "deprecated": false, @@ -29581,7 +29825,7 @@ }, "x-appwrite": { "method": "createMD5User", - "weight": 233, + "weight": 234, "cookies": false, "type": "", "deprecated": false, @@ -29671,7 +29915,7 @@ }, "x-appwrite": { "method": "createPHPassUser", - "weight": 236, + "weight": 237, "cookies": false, "type": "", "deprecated": false, @@ -29761,7 +30005,7 @@ }, "x-appwrite": { "method": "createScryptUser", - "weight": 237, + "weight": 238, "cookies": false, "type": "", "deprecated": false, @@ -29886,7 +30130,7 @@ }, "x-appwrite": { "method": "createScryptModifiedUser", - "weight": 238, + "weight": 239, "cookies": false, "type": "", "deprecated": false, @@ -29997,7 +30241,7 @@ }, "x-appwrite": { "method": "createSHAUser", - "weight": 235, + "weight": 236, "cookies": false, "type": "", "deprecated": false, @@ -30108,7 +30352,7 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 273, + "weight": 274, "cookies": false, "type": "", "deprecated": false, @@ -30179,7 +30423,7 @@ }, "x-appwrite": { "method": "get", - "weight": 241, + "weight": 242, "cookies": false, "type": "", "deprecated": false, @@ -30232,7 +30476,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 269, + "weight": 270, "cookies": false, "type": "", "deprecated": false, @@ -30292,7 +30536,7 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 254, + "weight": 255, "cookies": false, "type": "", "deprecated": false, @@ -30370,7 +30614,7 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 272, + "weight": 273, "cookies": false, "type": "", "deprecated": false, @@ -30451,7 +30695,7 @@ }, "x-appwrite": { "method": "updateLabels", - "weight": 250, + "weight": 251, "cookies": false, "type": "", "deprecated": false, @@ -30532,7 +30776,7 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 246, + "weight": 247, "cookies": false, "type": "", "deprecated": false, @@ -30604,7 +30848,7 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 245, + "weight": 246, "cookies": false, "type": "", "deprecated": false, @@ -30664,7 +30908,7 @@ }, "x-appwrite": { "method": "updateMfa", - "weight": 259, + "weight": 260, "cookies": false, "type": "", "deprecated": false, @@ -30737,7 +30981,7 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", - "weight": 264, + "weight": 265, "cookies": false, "type": "", "deprecated": false, @@ -30810,7 +31054,7 @@ }, "x-appwrite": { "method": "listMfaFactors", - "weight": 260, + "weight": 261, "cookies": false, "type": "", "deprecated": false, @@ -30870,7 +31114,7 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", - "weight": 261, + "weight": 262, "cookies": false, "type": "", "deprecated": false, @@ -30928,7 +31172,7 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", - "weight": 263, + "weight": 264, "cookies": false, "type": "", "deprecated": false, @@ -30986,7 +31230,7 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", - "weight": 262, + "weight": 263, "cookies": false, "type": "", "deprecated": false, @@ -31046,7 +31290,7 @@ }, "x-appwrite": { "method": "updateName", - "weight": 252, + "weight": 253, "cookies": false, "type": "", "deprecated": false, @@ -31124,7 +31368,7 @@ }, "x-appwrite": { "method": "updatePassword", - "weight": 253, + "weight": 254, "cookies": false, "type": "", "deprecated": false, @@ -31202,7 +31446,7 @@ }, "x-appwrite": { "method": "updatePhone", - "weight": 255, + "weight": 256, "cookies": false, "type": "", "deprecated": false, @@ -31280,7 +31524,7 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 242, + "weight": 243, "cookies": false, "type": "", "deprecated": false, @@ -31338,7 +31582,7 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 257, + "weight": 258, "cookies": false, "type": "", "deprecated": false, @@ -31416,7 +31660,7 @@ }, "x-appwrite": { "method": "listSessions", - "weight": 244, + "weight": 245, "cookies": false, "type": "", "deprecated": false, @@ -31474,7 +31718,7 @@ }, "x-appwrite": { "method": "createSession", - "weight": 265, + "weight": 266, "cookies": false, "type": "", "deprecated": false, @@ -31527,7 +31771,7 @@ }, "x-appwrite": { "method": "deleteSessions", - "weight": 268, + "weight": 269, "cookies": false, "type": "", "deprecated": false, @@ -31582,7 +31826,7 @@ }, "x-appwrite": { "method": "deleteSession", - "weight": 267, + "weight": 268, "cookies": false, "type": "", "deprecated": false, @@ -31650,7 +31894,7 @@ }, "x-appwrite": { "method": "updateStatus", - "weight": 249, + "weight": 250, "cookies": false, "type": "", "deprecated": false, @@ -31728,7 +31972,7 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 247, + "weight": 248, "cookies": false, "type": "", "deprecated": false, @@ -31799,7 +32043,7 @@ }, "x-appwrite": { "method": "createTarget", - "weight": 239, + "weight": 240, "cookies": false, "type": "", "deprecated": false, @@ -31911,7 +32155,7 @@ }, "x-appwrite": { "method": "getTarget", - "weight": 243, + "weight": 244, "cookies": false, "type": "", "deprecated": false, @@ -31978,7 +32222,7 @@ }, "x-appwrite": { "method": "updateTarget", - "weight": 258, + "weight": 259, "cookies": false, "type": "", "deprecated": false, @@ -32067,7 +32311,7 @@ }, "x-appwrite": { "method": "deleteTarget", - "weight": 270, + "weight": 271, "cookies": false, "type": "", "deprecated": false, @@ -32136,7 +32380,7 @@ }, "x-appwrite": { "method": "createToken", - "weight": 266, + "weight": 267, "cookies": false, "type": "", "deprecated": false, @@ -32217,7 +32461,7 @@ }, "x-appwrite": { "method": "updateEmailVerification", - "weight": 256, + "weight": 257, "cookies": false, "type": "", "deprecated": false, @@ -32295,7 +32539,7 @@ }, "x-appwrite": { "method": "updatePhoneVerification", - "weight": 251, + "weight": 252, "cookies": false, "type": "", "deprecated": false, @@ -32373,7 +32617,7 @@ }, "x-appwrite": { "method": "listRepositories", - "weight": 278, + "weight": 279, "cookies": false, "type": "", "deprecated": false, @@ -32439,7 +32683,7 @@ }, "x-appwrite": { "method": "createRepository", - "weight": 279, + "weight": 280, "cookies": false, "type": "", "deprecated": false, @@ -32523,7 +32767,7 @@ }, "x-appwrite": { "method": "getRepository", - "weight": 280, + "weight": 281, "cookies": false, "type": "", "deprecated": false, @@ -32590,7 +32834,7 @@ }, "x-appwrite": { "method": "listRepositoryBranches", - "weight": 281, + "weight": 282, "cookies": false, "type": "", "deprecated": false, @@ -32657,7 +32901,7 @@ }, "x-appwrite": { "method": "getRepositoryContents", - "weight": 276, + "weight": 277, "cookies": false, "type": "", "deprecated": false, @@ -32733,7 +32977,7 @@ }, "x-appwrite": { "method": "createRepositoryDetection", - "weight": 277, + "weight": 278, "cookies": false, "type": "", "deprecated": false, @@ -32812,7 +33056,7 @@ }, "x-appwrite": { "method": "updateExternalDeployments", - "weight": 286, + "weight": 287, "cookies": false, "type": "", "deprecated": false, @@ -32897,7 +33141,7 @@ }, "x-appwrite": { "method": "listInstallations", - "weight": 283, + "weight": 284, "cookies": false, "type": "", "deprecated": false, @@ -32969,7 +33213,7 @@ }, "x-appwrite": { "method": "getInstallation", - "weight": 284, + "weight": 285, "cookies": false, "type": "", "deprecated": false, @@ -33021,7 +33265,7 @@ }, "x-appwrite": { "method": "deleteInstallation", - "weight": 285, + "weight": 286, "cookies": false, "type": "", "deprecated": false, diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index 5b50b0ec33..b7a400c94c 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -3261,7 +3261,7 @@ "parameters": [ { "name": "code", - "description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, union-china-pay, visa, mir, maestro.", + "description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, union-china-pay, visa, mir, maestro, rupay.", "required": true, "type": "string", "x-example": "amex", @@ -3281,7 +3281,8 @@ "union-china-pay", "visa", "mir", - "maestro" + "maestro", + "rupay" ], "x-enum-name": "CreditCard", "x-enum-keys": [ @@ -3300,7 +3301,8 @@ "Union China Pay", "Visa", "MIR", - "Maestro" + "Maestro", + "Rupay" ], "in": "path" }, @@ -7552,7 +7554,7 @@ "tags": [ "databases" ], - "description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.", + "description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.\n", "responses": { "201": { "description": "Document", @@ -8284,7 +8286,7 @@ }, "x-appwrite": { "method": "list", - "weight": 387, + "weight": 388, "cookies": false, "type": "", "deprecated": false, @@ -8356,7 +8358,7 @@ }, "x-appwrite": { "method": "create", - "weight": 385, + "weight": 386, "cookies": false, "type": "", "deprecated": false, @@ -8606,7 +8608,7 @@ }, "x-appwrite": { "method": "listRuntimes", - "weight": 388, + "weight": 389, "cookies": false, "type": "", "deprecated": false, @@ -8657,7 +8659,7 @@ }, "x-appwrite": { "method": "listSpecifications", - "weight": 287, + "weight": 288, "cookies": false, "type": "", "deprecated": false, @@ -8709,7 +8711,7 @@ }, "x-appwrite": { "method": "get", - "weight": 288, + "weight": 289, "cookies": false, "type": "", "deprecated": false, @@ -8768,7 +8770,7 @@ }, "x-appwrite": { "method": "update", - "weight": 386, + "weight": 387, "cookies": false, "type": "", "deprecated": false, @@ -9012,7 +9014,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 293, + "weight": 294, "cookies": false, "type": "", "deprecated": false, @@ -9073,7 +9075,7 @@ }, "x-appwrite": { "method": "listDeployments", - "weight": 294, + "weight": 295, "cookies": false, "type": "", "deprecated": false, @@ -9153,7 +9155,7 @@ }, "x-appwrite": { "method": "createDeployment", - "weight": 389, + "weight": 390, "cookies": false, "type": "upload", "deprecated": false, @@ -9245,7 +9247,7 @@ }, "x-appwrite": { "method": "createTemplateDeployment", - "weight": 390, + "weight": 391, "cookies": false, "type": "", "deprecated": false, @@ -9327,6 +9329,97 @@ ] } }, + "\/functions\/{functionId}\/deployments\/vcs": { + "post": { + "summary": "Create VCS deployment", + "operationId": "functionsCreateVcsDeployment", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "", + "responses": { + "202": { + "description": "Deployment", + "schema": { + "$ref": "#\/definitions\/deployment" + } + } + }, + "x-appwrite": { + "method": "createVcsDeployment", + "weight": 392, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/create-vcs-deployment.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment when a function is connected to VCS.\n\nThis endpoint lets you create deployment from a branch, commit, or a tag.", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Type of reference passed. Allowed values are: branch", + "default": null, + "x-example": "branch", + "enum": [ + "branch" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "reference": { + "type": "string", + "description": "VCS reference to create deployment from. Depending on type this can be: branch name", + "default": null, + "x-example": "" + } + }, + "required": [ + "type", + "reference" + ] + } + } + ] + } + }, "\/functions\/{functionId}\/deployments\/{deploymentId}": { "get": { "summary": "Get deployment", @@ -9351,7 +9444,7 @@ }, "x-appwrite": { "method": "getDeployment", - "weight": 295, + "weight": 296, "cookies": false, "type": "", "deprecated": false, @@ -9413,7 +9506,7 @@ }, "x-appwrite": { "method": "deleteDeployment", - "weight": 296, + "weight": 297, "cookies": false, "type": "", "deprecated": false, @@ -9479,7 +9572,7 @@ }, "x-appwrite": { "method": "createBuild", - "weight": 297, + "weight": 298, "cookies": false, "type": "", "deprecated": false, @@ -9563,7 +9656,7 @@ }, "x-appwrite": { "method": "getDeploymentDownload", - "weight": 291, + "weight": 292, "cookies": false, "type": "location", "deprecated": false, @@ -9634,7 +9727,7 @@ }, "x-appwrite": { "method": "listExecutions", - "weight": 300, + "weight": 301, "cookies": false, "type": "", "deprecated": false, @@ -9718,7 +9811,7 @@ }, "x-appwrite": { "method": "createExecution", - "weight": 299, + "weight": 300, "cookies": false, "type": "", "deprecated": false, @@ -9838,7 +9931,7 @@ }, "x-appwrite": { "method": "getExecution", - "weight": 301, + "weight": 302, "cookies": false, "type": "", "deprecated": false, @@ -9904,7 +9997,7 @@ }, "x-appwrite": { "method": "deleteExecution", - "weight": 302, + "weight": 303, "cookies": false, "type": "", "deprecated": false, @@ -9973,7 +10066,7 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 304, + "weight": 305, "cookies": false, "type": "", "deprecated": false, @@ -10032,7 +10125,7 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 303, + "weight": 304, "cookies": false, "type": "", "deprecated": false, @@ -10124,7 +10217,7 @@ }, "x-appwrite": { "method": "query", - "weight": 324, + "weight": 325, "cookies": false, "type": "graphql", "deprecated": false, @@ -10199,7 +10292,7 @@ }, "x-appwrite": { "method": "mutation", - "weight": 323, + "weight": 324, "cookies": false, "type": "graphql", "deprecated": false, @@ -10325,7 +10418,7 @@ }, "x-appwrite": { "method": "getAntivirus", - "weight": 146, + "weight": 147, "cookies": false, "type": "", "deprecated": false, @@ -10846,7 +10939,7 @@ }, "x-appwrite": { "method": "getFailedJobs", - "weight": 147, + "weight": 148, "cookies": false, "type": "", "deprecated": false, @@ -10884,8 +10977,9 @@ "v1-audits", "v1-mails", "v1-functions", - "v1-usage", - "v1-usage-dump", + "v1-stats-resources", + "v1-stats-usage", + "v1-stats-usage-dump", "v1-webhooks", "v1-certificates", "v1-builds", @@ -11218,10 +11312,10 @@ ] } }, - "\/health\/queue\/usage": { + "\/health\/queue\/stats-resources": { "get": { - "summary": "Get usage queue", - "operationId": "healthGetQueueUsage", + "summary": "Get stats resources queue", + "operationId": "healthGetQueueStatsResources", "consumes": [ "application\/json" ], @@ -11231,7 +11325,7 @@ "tags": [ "health" ], - "description": "Get the number of metrics that are waiting to be processed in the Appwrite internal queue server.", + "description": "Get the number of metrics that are waiting to be processed in the Appwrite stats resources queue.", "responses": { "200": { "description": "Health Queue", @@ -11241,13 +11335,13 @@ } }, "x-appwrite": { - "method": "getQueueUsage", + "method": "getQueueStatsResources", "weight": 142, "cookies": false, "type": "", "deprecated": false, - "demo": "health\/get-queue-usage.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-usage.md", + "demo": "health\/get-queue-stats-resources.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-resources.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -11280,10 +11374,72 @@ ] } }, - "\/health\/queue\/usage-dump": { + "\/health\/queue\/stats-usage": { + "get": { + "summary": "Get stats usage queue", + "operationId": "healthGetQueueUsage", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the number of metrics that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getQueueUsage", + "weight": 143, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-usage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/queue\/stats-usage-dump": { "get": { "summary": "Get usage dump queue", - "operationId": "healthGetQueueUsageDump", + "operationId": "healthGetQueueStatsUsageDump", "consumes": [ "application\/json" ], @@ -11303,13 +11459,13 @@ } }, "x-appwrite": { - "method": "getQueueUsageDump", - "weight": 143, + "method": "getQueueStatsUsageDump", + "weight": 144, "cookies": false, "type": "", "deprecated": false, - "demo": "health\/get-queue-usage-dump.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-usage-dump.md", + "demo": "health\/get-queue-stats-usage-dump.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage-dump.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -11428,7 +11584,7 @@ }, "x-appwrite": { "method": "getStorage", - "weight": 145, + "weight": 146, "cookies": false, "type": "", "deprecated": false, @@ -11479,7 +11635,7 @@ }, "x-appwrite": { "method": "getStorageLocal", - "weight": 144, + "weight": 145, "cookies": false, "type": "", "deprecated": false, @@ -12021,7 +12177,7 @@ }, "x-appwrite": { "method": "listMessages", - "weight": 377, + "weight": 378, "cookies": false, "type": "", "deprecated": false, @@ -12096,7 +12252,7 @@ }, "x-appwrite": { "method": "createEmail", - "weight": 374, + "weight": 375, "cookies": false, "type": "", "deprecated": false, @@ -12254,7 +12410,7 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 381, + "weight": 382, "cookies": false, "type": "", "deprecated": false, @@ -12409,7 +12565,7 @@ }, "x-appwrite": { "method": "createPush", - "weight": 376, + "weight": 377, "cookies": false, "type": "", "deprecated": false, @@ -12604,7 +12760,7 @@ }, "x-appwrite": { "method": "updatePush", - "weight": 383, + "weight": 384, "cookies": false, "type": "", "deprecated": false, @@ -12798,7 +12954,7 @@ }, "x-appwrite": { "method": "createSms", - "weight": 375, + "weight": 376, "cookies": false, "type": "", "deprecated": false, @@ -12916,7 +13072,7 @@ }, "x-appwrite": { "method": "updateSms", - "weight": 382, + "weight": 383, "cookies": false, "type": "", "deprecated": false, @@ -13032,7 +13188,7 @@ }, "x-appwrite": { "method": "getMessage", - "weight": 380, + "weight": 381, "cookies": false, "type": "", "deprecated": false, @@ -13087,7 +13243,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 384, + "weight": 385, "cookies": false, "type": "", "deprecated": false, @@ -13149,7 +13305,7 @@ }, "x-appwrite": { "method": "listMessageLogs", - "weight": 378, + "weight": 379, "cookies": false, "type": "", "deprecated": false, @@ -13223,7 +13379,7 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 379, + "weight": 380, "cookies": false, "type": "", "deprecated": false, @@ -13297,7 +13453,7 @@ }, "x-appwrite": { "method": "listProviders", - "weight": 349, + "weight": 350, "cookies": false, "type": "", "deprecated": false, @@ -13372,7 +13528,7 @@ }, "x-appwrite": { "method": "createApnsProvider", - "weight": 348, + "weight": 349, "cookies": false, "type": "", "deprecated": false, @@ -13487,7 +13643,7 @@ }, "x-appwrite": { "method": "updateApnsProvider", - "weight": 361, + "weight": 362, "cookies": false, "type": "", "deprecated": false, @@ -13600,7 +13756,7 @@ }, "x-appwrite": { "method": "createFcmProvider", - "weight": 347, + "weight": 348, "cookies": false, "type": "", "deprecated": false, @@ -13691,7 +13847,7 @@ }, "x-appwrite": { "method": "updateFcmProvider", - "weight": 360, + "weight": 361, "cookies": false, "type": "", "deprecated": false, @@ -13780,7 +13936,7 @@ }, "x-appwrite": { "method": "createMailgunProvider", - "weight": 339, + "weight": 340, "cookies": false, "type": "", "deprecated": false, @@ -13907,7 +14063,7 @@ }, "x-appwrite": { "method": "updateMailgunProvider", - "weight": 352, + "weight": 353, "cookies": false, "type": "", "deprecated": false, @@ -14032,7 +14188,7 @@ }, "x-appwrite": { "method": "createMsg91Provider", - "weight": 342, + "weight": 343, "cookies": false, "type": "", "deprecated": false, @@ -14135,7 +14291,7 @@ }, "x-appwrite": { "method": "updateMsg91Provider", - "weight": 355, + "weight": 356, "cookies": false, "type": "", "deprecated": false, @@ -14236,7 +14392,7 @@ }, "x-appwrite": { "method": "createSendgridProvider", - "weight": 340, + "weight": 341, "cookies": false, "type": "", "deprecated": false, @@ -14351,7 +14507,7 @@ }, "x-appwrite": { "method": "updateSendgridProvider", - "weight": 353, + "weight": 354, "cookies": false, "type": "", "deprecated": false, @@ -14464,7 +14620,7 @@ }, "x-appwrite": { "method": "createSmtpProvider", - "weight": 341, + "weight": 342, "cookies": false, "type": "", "deprecated": false, @@ -14623,7 +14779,7 @@ }, "x-appwrite": { "method": "updateSmtpProvider", - "weight": 354, + "weight": 355, "cookies": false, "type": "", "deprecated": false, @@ -14779,7 +14935,7 @@ }, "x-appwrite": { "method": "createTelesignProvider", - "weight": 343, + "weight": 344, "cookies": false, "type": "", "deprecated": false, @@ -14882,7 +15038,7 @@ }, "x-appwrite": { "method": "updateTelesignProvider", - "weight": 356, + "weight": 357, "cookies": false, "type": "", "deprecated": false, @@ -14983,7 +15139,7 @@ }, "x-appwrite": { "method": "createTextmagicProvider", - "weight": 344, + "weight": 345, "cookies": false, "type": "", "deprecated": false, @@ -15086,7 +15242,7 @@ }, "x-appwrite": { "method": "updateTextmagicProvider", - "weight": 357, + "weight": 358, "cookies": false, "type": "", "deprecated": false, @@ -15187,7 +15343,7 @@ }, "x-appwrite": { "method": "createTwilioProvider", - "weight": 345, + "weight": 346, "cookies": false, "type": "", "deprecated": false, @@ -15290,7 +15446,7 @@ }, "x-appwrite": { "method": "updateTwilioProvider", - "weight": 358, + "weight": 359, "cookies": false, "type": "", "deprecated": false, @@ -15391,7 +15547,7 @@ }, "x-appwrite": { "method": "createVonageProvider", - "weight": 346, + "weight": 347, "cookies": false, "type": "", "deprecated": false, @@ -15494,7 +15650,7 @@ }, "x-appwrite": { "method": "updateVonageProvider", - "weight": 359, + "weight": 360, "cookies": false, "type": "", "deprecated": false, @@ -15595,7 +15751,7 @@ }, "x-appwrite": { "method": "getProvider", - "weight": 351, + "weight": 352, "cookies": false, "type": "", "deprecated": false, @@ -15650,7 +15806,7 @@ }, "x-appwrite": { "method": "deleteProvider", - "weight": 362, + "weight": 363, "cookies": false, "type": "", "deprecated": false, @@ -15712,7 +15868,7 @@ }, "x-appwrite": { "method": "listProviderLogs", - "weight": 350, + "weight": 351, "cookies": false, "type": "", "deprecated": false, @@ -15786,7 +15942,7 @@ }, "x-appwrite": { "method": "listSubscriberLogs", - "weight": 371, + "weight": 372, "cookies": false, "type": "", "deprecated": false, @@ -15860,7 +16016,7 @@ }, "x-appwrite": { "method": "listTopics", - "weight": 364, + "weight": 365, "cookies": false, "type": "", "deprecated": false, @@ -15933,7 +16089,7 @@ }, "x-appwrite": { "method": "createTopic", - "weight": 363, + "weight": 364, "cookies": false, "type": "", "deprecated": false, @@ -16023,7 +16179,7 @@ }, "x-appwrite": { "method": "getTopic", - "weight": 366, + "weight": 367, "cookies": false, "type": "", "deprecated": false, @@ -16083,7 +16239,7 @@ }, "x-appwrite": { "method": "updateTopic", - "weight": 367, + "weight": 368, "cookies": false, "type": "", "deprecated": false, @@ -16162,7 +16318,7 @@ }, "x-appwrite": { "method": "deleteTopic", - "weight": 368, + "weight": 369, "cookies": false, "type": "", "deprecated": false, @@ -16224,7 +16380,7 @@ }, "x-appwrite": { "method": "listTopicLogs", - "weight": 365, + "weight": 366, "cookies": false, "type": "", "deprecated": false, @@ -16298,7 +16454,7 @@ }, "x-appwrite": { "method": "listSubscribers", - "weight": 370, + "weight": 371, "cookies": false, "type": "", "deprecated": false, @@ -16379,7 +16535,7 @@ }, "x-appwrite": { "method": "createSubscriber", - "weight": 369, + "weight": 370, "cookies": false, "type": "", "deprecated": false, @@ -16470,7 +16626,7 @@ }, "x-appwrite": { "method": "getSubscriber", - "weight": 372, + "weight": 373, "cookies": false, "type": "", "deprecated": false, @@ -16533,7 +16689,7 @@ }, "x-appwrite": { "method": "deleteSubscriber", - "weight": 373, + "weight": 374, "cookies": false, "type": "", "deprecated": false, @@ -16607,7 +16763,7 @@ }, "x-appwrite": { "method": "list", - "weight": 393, + "weight": 395, "cookies": false, "type": "", "deprecated": false, @@ -16679,7 +16835,7 @@ }, "x-appwrite": { "method": "create", - "weight": 391, + "weight": 393, "cookies": false, "type": "", "deprecated": false, @@ -16926,7 +17082,7 @@ }, "x-appwrite": { "method": "listFrameworks", - "weight": 396, + "weight": 398, "cookies": false, "type": "", "deprecated": false, @@ -16977,7 +17133,7 @@ }, "x-appwrite": { "method": "get", - "weight": 392, + "weight": 394, "cookies": false, "type": "", "deprecated": false, @@ -17036,7 +17192,7 @@ }, "x-appwrite": { "method": "update", - "weight": 394, + "weight": 396, "cookies": false, "type": "", "deprecated": false, @@ -17276,7 +17432,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 395, + "weight": 397, "cookies": false, "type": "", "deprecated": false, @@ -17337,7 +17493,7 @@ }, "x-appwrite": { "method": "listDeployments", - "weight": 400, + "weight": 403, "cookies": false, "type": "", "deprecated": false, @@ -17417,7 +17573,7 @@ }, "x-appwrite": { "method": "createDeployment", - "weight": 397, + "weight": 399, "cookies": false, "type": "upload", "deprecated": false, @@ -17517,7 +17673,7 @@ }, "x-appwrite": { "method": "createTemplateDeployment", - "weight": 398, + "weight": 400, "cookies": false, "type": "", "deprecated": false, @@ -17599,6 +17755,97 @@ ] } }, + "\/sites\/{siteId}\/deployments\/vcs": { + "post": { + "summary": "Create VCS deployment", + "operationId": "sitesCreateVcsDeployment", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "sites" + ], + "description": "", + "responses": { + "202": { + "description": "Deployment", + "schema": { + "$ref": "#\/definitions\/deployment" + } + } + }, + "x-appwrite": { + "method": "createVcsDeployment", + "weight": 401, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "sites\/create-vcs-deployment.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a deployment when a site is connected to VCS.\n\nThis endpoint lets you create deployment from a branch, commit, or a tag.", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "sites.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "siteId", + "description": "Site ID.", + "required": true, + "type": "string", + "x-example": "", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Type of reference passed. Allowed values are: branch", + "default": null, + "x-example": "branch", + "enum": [ + "branch" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "reference": { + "type": "string", + "description": "VCS reference to create deployment from. Depending on type this can be: branch name", + "default": null, + "x-example": "" + } + }, + "required": [ + "type", + "reference" + ] + } + } + ] + } + }, "\/sites\/{siteId}\/deployments\/{deploymentId}": { "get": { "summary": "Get deployment", @@ -17623,7 +17870,7 @@ }, "x-appwrite": { "method": "getDeployment", - "weight": 399, + "weight": 402, "cookies": false, "type": "", "deprecated": false, @@ -17690,7 +17937,7 @@ }, "x-appwrite": { "method": "updateDeployment", - "weight": 401, + "weight": 404, "cookies": false, "type": "", "deprecated": false, @@ -17752,7 +17999,7 @@ }, "x-appwrite": { "method": "deleteDeployment", - "weight": 402, + "weight": 405, "cookies": false, "type": "", "deprecated": false, @@ -17818,7 +18065,7 @@ }, "x-appwrite": { "method": "createDeploymentBuild", - "weight": 405, + "weight": 408, "cookies": false, "type": "", "deprecated": false, @@ -17885,7 +18132,7 @@ }, "x-appwrite": { "method": "updateDeploymentBuild", - "weight": 406, + "weight": 409, "cookies": false, "type": "", "deprecated": false, @@ -17954,7 +18201,7 @@ }, "x-appwrite": { "method": "getDeploymentBuildDownload", - "weight": 404, + "weight": 407, "cookies": false, "type": "location", "deprecated": false, @@ -18025,7 +18272,7 @@ }, "x-appwrite": { "method": "getDeploymentDownload", - "weight": 403, + "weight": 406, "cookies": false, "type": "location", "deprecated": false, @@ -18096,7 +18343,7 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 408, + "weight": 411, "cookies": false, "type": "", "deprecated": false, @@ -18178,7 +18425,7 @@ }, "x-appwrite": { "method": "getLog", - "weight": 407, + "weight": 410, "cookies": false, "type": "", "deprecated": false, @@ -18242,7 +18489,7 @@ }, "x-appwrite": { "method": "deleteLog", - "weight": 409, + "weight": 412, "cookies": false, "type": "", "deprecated": false, @@ -18311,7 +18558,7 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 412, + "weight": 415, "cookies": false, "type": "", "deprecated": false, @@ -18370,7 +18617,7 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 410, + "weight": 413, "cookies": false, "type": "", "deprecated": false, @@ -18462,7 +18709,7 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 411, + "weight": 414, "cookies": false, "type": "", "deprecated": false, @@ -18529,7 +18776,7 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 413, + "weight": 416, "cookies": false, "type": "", "deprecated": false, @@ -18621,7 +18868,7 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 414, + "weight": 417, "cookies": false, "type": "", "deprecated": false, @@ -18690,7 +18937,7 @@ }, "x-appwrite": { "method": "listBuckets", - "weight": 202, + "weight": 203, "cookies": false, "type": "", "deprecated": false, @@ -18762,7 +19009,7 @@ }, "x-appwrite": { "method": "createBucket", - "weight": 201, + "weight": 202, "cookies": false, "type": "", "deprecated": false, @@ -18901,7 +19148,7 @@ }, "x-appwrite": { "method": "getBucket", - "weight": 203, + "weight": 204, "cookies": false, "type": "", "deprecated": false, @@ -18960,7 +19207,7 @@ }, "x-appwrite": { "method": "updateBucket", - "weight": 204, + "weight": 205, "cookies": false, "type": "", "deprecated": false, @@ -19093,7 +19340,7 @@ }, "x-appwrite": { "method": "deleteBucket", - "weight": 205, + "weight": 206, "cookies": false, "type": "", "deprecated": false, @@ -19154,7 +19401,7 @@ }, "x-appwrite": { "method": "listFiles", - "weight": 207, + "weight": 208, "cookies": false, "type": "", "deprecated": false, @@ -19238,7 +19485,7 @@ }, "x-appwrite": { "method": "createFile", - "weight": 206, + "weight": 207, "cookies": false, "type": "upload", "deprecated": false, @@ -19331,7 +19578,7 @@ }, "x-appwrite": { "method": "getFile", - "weight": 208, + "weight": 209, "cookies": false, "type": "", "deprecated": false, @@ -19402,7 +19649,7 @@ }, "x-appwrite": { "method": "updateFile", - "weight": 213, + "weight": 214, "cookies": false, "type": "", "deprecated": false, @@ -19492,7 +19739,7 @@ }, "x-appwrite": { "method": "deleteFile", - "weight": 214, + "weight": 215, "cookies": false, "type": "", "deprecated": false, @@ -19565,7 +19812,7 @@ }, "x-appwrite": { "method": "getFileDownload", - "weight": 210, + "weight": 211, "cookies": false, "type": "location", "deprecated": false, @@ -19638,7 +19885,7 @@ }, "x-appwrite": { "method": "getFilePreview", - "weight": 209, + "weight": 210, "cookies": false, "type": "location", "deprecated": false, @@ -19839,7 +20086,7 @@ }, "x-appwrite": { "method": "getFileView", - "weight": 211, + "weight": 212, "cookies": false, "type": "location", "deprecated": false, @@ -19912,7 +20159,7 @@ }, "x-appwrite": { "method": "list", - "weight": 218, + "weight": 219, "cookies": false, "type": "", "deprecated": false, @@ -19988,7 +20235,7 @@ }, "x-appwrite": { "method": "create", - "weight": 217, + "weight": 218, "cookies": false, "type": "", "deprecated": false, @@ -20081,7 +20328,7 @@ }, "x-appwrite": { "method": "get", - "weight": 219, + "weight": 220, "cookies": false, "type": "", "deprecated": false, @@ -20144,7 +20391,7 @@ }, "x-appwrite": { "method": "updateName", - "weight": 221, + "weight": 222, "cookies": false, "type": "", "deprecated": false, @@ -20220,7 +20467,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 223, + "weight": 224, "cookies": false, "type": "", "deprecated": false, @@ -20285,7 +20532,7 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 225, + "weight": 226, "cookies": false, "type": "", "deprecated": false, @@ -20369,7 +20616,7 @@ }, "x-appwrite": { "method": "createMembership", - "weight": 224, + "weight": 225, "cookies": false, "type": "", "deprecated": false, @@ -20485,7 +20732,7 @@ }, "x-appwrite": { "method": "getMembership", - "weight": 226, + "weight": 227, "cookies": false, "type": "", "deprecated": false, @@ -20556,7 +20803,7 @@ }, "x-appwrite": { "method": "updateMembership", - "weight": 227, + "weight": 228, "cookies": false, "type": "", "deprecated": false, @@ -20643,7 +20890,7 @@ }, "x-appwrite": { "method": "deleteMembership", - "weight": 229, + "weight": 230, "cookies": false, "type": "", "deprecated": false, @@ -20716,7 +20963,7 @@ }, "x-appwrite": { "method": "updateMembershipStatus", - "weight": 228, + "weight": 229, "cookies": false, "type": "", "deprecated": false, @@ -20812,7 +21059,7 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 220, + "weight": 221, "cookies": false, "type": "", "deprecated": false, @@ -20873,7 +21120,7 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 222, + "weight": 223, "cookies": false, "type": "", "deprecated": false, @@ -20954,7 +21201,7 @@ }, "x-appwrite": { "method": "list", - "weight": 240, + "weight": 241, "cookies": false, "type": "", "deprecated": false, @@ -21026,7 +21273,7 @@ }, "x-appwrite": { "method": "create", - "weight": 231, + "weight": 232, "cookies": false, "type": "", "deprecated": false, @@ -21121,7 +21368,7 @@ }, "x-appwrite": { "method": "createArgon2User", - "weight": 234, + "weight": 235, "cookies": false, "type": "", "deprecated": false, @@ -21212,7 +21459,7 @@ }, "x-appwrite": { "method": "createBcryptUser", - "weight": 232, + "weight": 233, "cookies": false, "type": "", "deprecated": false, @@ -21303,7 +21550,7 @@ }, "x-appwrite": { "method": "listIdentities", - "weight": 248, + "weight": 249, "cookies": false, "type": "", "deprecated": false, @@ -21372,7 +21619,7 @@ }, "x-appwrite": { "method": "deleteIdentity", - "weight": 271, + "weight": 272, "cookies": false, "type": "", "deprecated": false, @@ -21433,7 +21680,7 @@ }, "x-appwrite": { "method": "createMD5User", - "weight": 233, + "weight": 234, "cookies": false, "type": "", "deprecated": false, @@ -21524,7 +21771,7 @@ }, "x-appwrite": { "method": "createPHPassUser", - "weight": 236, + "weight": 237, "cookies": false, "type": "", "deprecated": false, @@ -21615,7 +21862,7 @@ }, "x-appwrite": { "method": "createScryptUser", - "weight": 237, + "weight": 238, "cookies": false, "type": "", "deprecated": false, @@ -21741,7 +21988,7 @@ }, "x-appwrite": { "method": "createScryptModifiedUser", - "weight": 238, + "weight": 239, "cookies": false, "type": "", "deprecated": false, @@ -21853,7 +22100,7 @@ }, "x-appwrite": { "method": "createSHAUser", - "weight": 235, + "weight": 236, "cookies": false, "type": "", "deprecated": false, @@ -21965,7 +22212,7 @@ }, "x-appwrite": { "method": "get", - "weight": 241, + "weight": 242, "cookies": false, "type": "", "deprecated": false, @@ -22019,7 +22266,7 @@ }, "x-appwrite": { "method": "delete", - "weight": 269, + "weight": 270, "cookies": false, "type": "", "deprecated": false, @@ -22080,7 +22327,7 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 254, + "weight": 255, "cookies": false, "type": "", "deprecated": false, @@ -22159,7 +22406,7 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 272, + "weight": 273, "cookies": false, "type": "", "deprecated": false, @@ -22241,7 +22488,7 @@ }, "x-appwrite": { "method": "updateLabels", - "weight": 250, + "weight": 251, "cookies": false, "type": "", "deprecated": false, @@ -22323,7 +22570,7 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 246, + "weight": 247, "cookies": false, "type": "", "deprecated": false, @@ -22396,7 +22643,7 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 245, + "weight": 246, "cookies": false, "type": "", "deprecated": false, @@ -22457,7 +22704,7 @@ }, "x-appwrite": { "method": "updateMfa", - "weight": 259, + "weight": 260, "cookies": false, "type": "", "deprecated": false, @@ -22531,7 +22778,7 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", - "weight": 264, + "weight": 265, "cookies": false, "type": "", "deprecated": false, @@ -22605,7 +22852,7 @@ }, "x-appwrite": { "method": "listMfaFactors", - "weight": 260, + "weight": 261, "cookies": false, "type": "", "deprecated": false, @@ -22666,7 +22913,7 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", - "weight": 261, + "weight": 262, "cookies": false, "type": "", "deprecated": false, @@ -22725,7 +22972,7 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", - "weight": 263, + "weight": 264, "cookies": false, "type": "", "deprecated": false, @@ -22784,7 +23031,7 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", - "weight": 262, + "weight": 263, "cookies": false, "type": "", "deprecated": false, @@ -22845,7 +23092,7 @@ }, "x-appwrite": { "method": "updateName", - "weight": 252, + "weight": 253, "cookies": false, "type": "", "deprecated": false, @@ -22924,7 +23171,7 @@ }, "x-appwrite": { "method": "updatePassword", - "weight": 253, + "weight": 254, "cookies": false, "type": "", "deprecated": false, @@ -23003,7 +23250,7 @@ }, "x-appwrite": { "method": "updatePhone", - "weight": 255, + "weight": 256, "cookies": false, "type": "", "deprecated": false, @@ -23082,7 +23329,7 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 242, + "weight": 243, "cookies": false, "type": "", "deprecated": false, @@ -23141,7 +23388,7 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 257, + "weight": 258, "cookies": false, "type": "", "deprecated": false, @@ -23220,7 +23467,7 @@ }, "x-appwrite": { "method": "listSessions", - "weight": 244, + "weight": 245, "cookies": false, "type": "", "deprecated": false, @@ -23279,7 +23526,7 @@ }, "x-appwrite": { "method": "createSession", - "weight": 265, + "weight": 266, "cookies": false, "type": "", "deprecated": false, @@ -23333,7 +23580,7 @@ }, "x-appwrite": { "method": "deleteSessions", - "weight": 268, + "weight": 269, "cookies": false, "type": "", "deprecated": false, @@ -23389,7 +23636,7 @@ }, "x-appwrite": { "method": "deleteSession", - "weight": 267, + "weight": 268, "cookies": false, "type": "", "deprecated": false, @@ -23458,7 +23705,7 @@ }, "x-appwrite": { "method": "updateStatus", - "weight": 249, + "weight": 250, "cookies": false, "type": "", "deprecated": false, @@ -23537,7 +23784,7 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 247, + "weight": 248, "cookies": false, "type": "", "deprecated": false, @@ -23609,7 +23856,7 @@ }, "x-appwrite": { "method": "createTarget", - "weight": 239, + "weight": 240, "cookies": false, "type": "", "deprecated": false, @@ -23722,7 +23969,7 @@ }, "x-appwrite": { "method": "getTarget", - "weight": 243, + "weight": 244, "cookies": false, "type": "", "deprecated": false, @@ -23790,7 +24037,7 @@ }, "x-appwrite": { "method": "updateTarget", - "weight": 258, + "weight": 259, "cookies": false, "type": "", "deprecated": false, @@ -23880,7 +24127,7 @@ }, "x-appwrite": { "method": "deleteTarget", - "weight": 270, + "weight": 271, "cookies": false, "type": "", "deprecated": false, @@ -23950,7 +24197,7 @@ }, "x-appwrite": { "method": "createToken", - "weight": 266, + "weight": 267, "cookies": false, "type": "", "deprecated": false, @@ -24032,7 +24279,7 @@ }, "x-appwrite": { "method": "updateEmailVerification", - "weight": 256, + "weight": 257, "cookies": false, "type": "", "deprecated": false, @@ -24111,7 +24358,7 @@ }, "x-appwrite": { "method": "updatePhoneVerification", - "weight": 251, + "weight": 252, "cookies": false, "type": "", "deprecated": false, diff --git a/composer.lock b/composer.lock index 11d2ba4c2f..51535b220d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b17c58729c4380afcba7714e9bced863", + "content-hash": "236b24287cd5bdcf705df586f12c560c", "packages": [ { "name": "adhocore/jwt", @@ -157,16 +157,16 @@ }, { "name": "appwrite/php-runtimes", - "version": "0.16.5", + "version": "0.17.0", "source": { "type": "git", "url": "https://github.com/appwrite/runtimes.git", - "reference": "1e430646fdf847a7caf3c611dcf3d6d5a28c3fd9" + "reference": "9a9e20d1f5c28caf539ad4cb52164dc283f99797" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/runtimes/zipball/1e430646fdf847a7caf3c611dcf3d6d5a28c3fd9", - "reference": "1e430646fdf847a7caf3c611dcf3d6d5a28c3fd9", + "url": "https://api.github.com/repos/appwrite/runtimes/zipball/9a9e20d1f5c28caf539ad4cb52164dc283f99797", + "reference": "9a9e20d1f5c28caf539ad4cb52164dc283f99797", "shasum": "" }, "require": { @@ -206,9 +206,9 @@ ], "support": { "issues": "https://github.com/appwrite/runtimes/issues", - "source": "https://github.com/appwrite/runtimes/tree/0.16.5" + "source": "https://github.com/appwrite/runtimes/tree/0.17.0" }, - "time": "2024-11-25T15:17:06+00:00" + "time": "2025-01-10T13:36:30+00:00" }, { "name": "beberlei/assert", @@ -1757,16 +1757,16 @@ }, { "name": "php-amqplib/php-amqplib", - "version": "v3.7.2", + "version": "v3.7.3", "source": { "type": "git", "url": "https://github.com/php-amqplib/php-amqplib.git", - "reference": "738a73eb0019b6c99d9bc25d7a0c0dd8f56a5199" + "reference": "9f50fe69a9f1a19e2cb25596a354d705de36fe59" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-amqplib/php-amqplib/zipball/738a73eb0019b6c99d9bc25d7a0c0dd8f56a5199", - "reference": "738a73eb0019b6c99d9bc25d7a0c0dd8f56a5199", + "url": "https://api.github.com/repos/php-amqplib/php-amqplib/zipball/9f50fe69a9f1a19e2cb25596a354d705de36fe59", + "reference": "9f50fe69a9f1a19e2cb25596a354d705de36fe59", "shasum": "" }, "require": { @@ -1832,9 +1832,9 @@ ], "support": { "issues": "https://github.com/php-amqplib/php-amqplib/issues", - "source": "https://github.com/php-amqplib/php-amqplib/tree/v3.7.2" + "source": "https://github.com/php-amqplib/php-amqplib/tree/v3.7.3" }, - "time": "2024-11-21T09:21:41+00:00" + "time": "2025-02-18T20:11:13+00:00" }, { "name": "php-http/discovery", @@ -3919,16 +3919,16 @@ }, { "name": "utopia-php/framework", - "version": "0.33.16", + "version": "dev-fix-prevent-duplicate-compression", "source": { "type": "git", "url": "https://github.com/utopia-php/http.git", - "reference": "e91d4c560d1b809e25faa63d564fef034363b50f" + "reference": "a1efe3e10038afe4109af833ce7a25a8ec4b5ed2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/http/zipball/e91d4c560d1b809e25faa63d564fef034363b50f", - "reference": "e91d4c560d1b809e25faa63d564fef034363b50f", + "url": "https://api.github.com/repos/utopia-php/http/zipball/a1efe3e10038afe4109af833ce7a25a8ec4b5ed2", + "reference": "a1efe3e10038afe4109af833ce7a25a8ec4b5ed2", "shasum": "" }, "require": { @@ -3960,9 +3960,9 @@ ], "support": { "issues": "https://github.com/utopia-php/http/issues", - "source": "https://github.com/utopia-php/http/tree/0.33.16" + "source": "https://github.com/utopia-php/http/tree/fix-prevent-duplicate-compression" }, - "time": "2025-01-16T15:58:50+00:00" + "time": "2025-02-03T12:02:35+00:00" }, { "name": "utopia-php/image", @@ -5370,16 +5370,16 @@ }, { "name": "laravel/pint", - "version": "v1.20.0", + "version": "v1.21.0", "source": { "type": "git", "url": "https://github.com/laravel/pint.git", - "reference": "53072e8ea22213a7ed168a8a15b96fbb8b82d44b" + "reference": "531fa0871fbde719c51b12afa3a443b8f4e4b425" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/pint/zipball/53072e8ea22213a7ed168a8a15b96fbb8b82d44b", - "reference": "53072e8ea22213a7ed168a8a15b96fbb8b82d44b", + "url": "https://api.github.com/repos/laravel/pint/zipball/531fa0871fbde719c51b12afa3a443b8f4e4b425", + "reference": "531fa0871fbde719c51b12afa3a443b8f4e4b425", "shasum": "" }, "require": { @@ -5387,15 +5387,15 @@ "ext-mbstring": "*", "ext-tokenizer": "*", "ext-xml": "*", - "php": "^8.1.0" + "php": "^8.2.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.66.0", - "illuminate/view": "^10.48.25", - "larastan/larastan": "^2.9.12", - "laravel-zero/framework": "^10.48.25", + "friendsofphp/php-cs-fixer": "^3.68.5", + "illuminate/view": "^11.42.0", + "larastan/larastan": "^3.0.4", + "laravel-zero/framework": "^11.36.1", "mockery/mockery": "^1.6.12", - "nunomaduro/termwind": "^1.17.0", + "nunomaduro/termwind": "^2.3", "pestphp/pest": "^2.36.0" }, "bin": [ @@ -5432,7 +5432,7 @@ "issues": "https://github.com/laravel/pint/issues", "source": "https://github.com/laravel/pint" }, - "time": "2025-01-14T16:20:53+00:00" + "time": "2025-02-18T03:18:57+00:00" }, { "name": "matthiasmullie/minify", @@ -6190,16 +6190,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "2.0.1", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "72e51f7c32c5aef7c8b462195b8c599b11199893" + "reference": "51087f87dcce2663e1fed4dfd4e56eccd580297e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/72e51f7c32c5aef7c8b462195b8c599b11199893", - "reference": "72e51f7c32c5aef7c8b462195b8c599b11199893", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/51087f87dcce2663e1fed4dfd4e56eccd580297e", + "reference": "51087f87dcce2663e1fed4dfd4e56eccd580297e", "shasum": "" }, "require": { @@ -6231,9 +6231,68 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/2.0.1" + "source": "https://github.com/phpstan/phpdoc-parser/tree/2.0.2" }, - "time": "2025-02-13T12:25:43+00:00" + "time": "2025-02-17T20:25:51+00:00" + }, + { + "name": "phpstan/phpstan", + "version": "1.8.11", + "source": { + "type": "git", + "url": "https://github.com/phpstan/phpstan.git", + "reference": "46e223dd68a620da18855c23046ddb00940b4014" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/46e223dd68a620da18855c23046ddb00940b4014", + "reference": "46e223dd68a620da18855c23046ddb00940b4014", + "shasum": "" + }, + "require": { + "php": "^7.2|^8.0" + }, + "conflict": { + "phpstan/phpstan-shim": "*" + }, + "bin": [ + "phpstan", + "phpstan.phar" + ], + "type": "library", + "autoload": { + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHPStan - PHP Static Analysis Tool", + "keywords": [ + "dev", + "static analysis" + ], + "support": { + "issues": "https://github.com/phpstan/phpstan/issues", + "source": "https://github.com/phpstan/phpstan/tree/1.8.11" + }, + "funding": [ + { + "url": "https://github.com/ondrejmirtes", + "type": "github" + }, + { + "url": "https://github.com/phpstan", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", + "type": "tidelift" + } + ], + "time": "2022-10-24T15:45:13+00:00" }, { "name": "phpunit/php-code-coverage", @@ -8745,9 +8804,18 @@ "time": "2024-03-07T20:33:40+00:00" } ], - "aliases": [], + "aliases": [ + { + "package": "utopia-php/framework", + "version": "dev-fix-prevent-duplicate-compression", + "alias": "0.33.99", + "alias_normalized": "0.33.99.0" + } + ], "minimum-stability": "stable", - "stability-flags": {}, + "stability-flags": { + "utopia-php/framework": 20 + }, "prefer-stable": false, "prefer-lowest": false, "platform": { @@ -8771,5 +8839,5 @@ "platform-overrides": { "php": "8.3" }, - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.3.0" }