Merge branch '1.8.x' into feat-add-execution-and-log-response-headers

This commit is contained in:
Khushboo Verma 2025-08-27 11:58:18 +05:30 committed by GitHub
commit 2d497cbdd5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
94 changed files with 2106 additions and 614 deletions

View file

@ -13,7 +13,7 @@ return [
'mastercard' => ['name' => 'Mastercard', 'path' => __DIR__ . '/credit-cards/mastercard.png'],
'naranja' => ['name' => 'Naranja', 'path' => __DIR__ . '/credit-cards/naranja.png'],
'targeta-shopping' => ['name' => 'Tarjeta Shopping', 'path' => __DIR__ . '/credit-cards/tarjeta-shopping.png'],
'union-china-pay' => ['name' => 'Union China Pay', 'path' => __DIR__ . '/credit-cards/union-china-pay.png'],
'unionpay' => ['name' => 'Union Pay', 'path' => __DIR__ . '/credit-cards/unionpay.png'],
'visa' => ['name' => 'Visa', 'path' => __DIR__ . '/credit-cards/visa.png'],
'mir' => ['name' => 'MIR', 'path' => __DIR__ . '/credit-cards/mir.png'],
'maestro' => ['name' => 'Maestro', 'path' => __DIR__ . '/credit-cards/maestro.png'],

View file

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

View file

@ -226,7 +226,7 @@ return [
[
'key' => 'cli',
'name' => 'Command Line',
'version' => '9.0.1',
'version' => '9.0.2',
'url' => 'https://github.com/appwrite/sdk-for-cli',
'package' => 'https://www.npmjs.com/package/appwrite-cli',
'enabled' => true,

View file

@ -2622,7 +2622,7 @@
"tags": [
"account"
],
"description": "Sends the user an email with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's email is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).",
"description": "Sends the user an email with a secret key for creating a session. If the email address has never been used, a **new account is created** using the provided `userId`. Otherwise, if the email address is already attached to an account, the **user ID is ignored**. Then, the user will receive an email with the one-time password. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's email is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n",
"responses": {
"201": {
"description": "Token",
@ -2673,7 +2673,7 @@
"properties": {
"userId": {
"type": "string",
"description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.",
"description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars. If the email address has never been used, a new account is created using the provided userId. Otherwise, if the email address is already attached to an account, the user ID is ignored.",
"x-example": "<USER_ID>"
},
"email": {
@ -2755,7 +2755,7 @@
"properties": {
"userId": {
"type": "string",
"description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.",
"description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars. If the email address has never been used, a new account is created using the provided userId. Otherwise, if the email address is already attached to an account, the user ID is ignored.",
"x-example": "<USER_ID>"
},
"email": {
@ -2977,7 +2977,7 @@
"properties": {
"userId": {
"type": "string",
"description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.",
"description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars. If the phone number has never been used, a new account is created using the provided userId. Otherwise, if the phone number is already attached to an account, the user ID is ignored.",
"x-example": "<USER_ID>"
},
"phone": {
@ -3440,7 +3440,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, rupay.",
"description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, unionpay, visa, mir, maestro, rupay.",
"required": true,
"schema": {
"type": "string",
@ -3458,7 +3458,7 @@
"mastercard",
"naranja",
"targeta-shopping",
"union-china-pay",
"unionpay",
"visa",
"mir",
"maestro",
@ -3478,7 +3478,7 @@
"Mastercard",
"Naranja",
"Tarjeta Shopping",
"Union China Pay",
"Union Pay",
"Visa",
"MIR",
"Maestro",
@ -9847,6 +9847,11 @@
"description": "Function ID.",
"x-example": "5e5ea6g16897e"
},
"deploymentId": {
"type": "string",
"description": "Function's deployment ID used to create the execution.",
"x-example": "5e5ea5c16897e"
},
"trigger": {
"type": "string",
"description": "The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.",
@ -9931,6 +9936,7 @@
"$updatedAt",
"$permissions",
"functionId",
"deploymentId",
"trigger",
"status",
"requestMethod",
@ -9951,6 +9957,7 @@
"any"
],
"functionId": "5e5ea6g16897e",
"deploymentId": "5e5ea5c16897e",
"trigger": "http",
"status": "processing",
"requestMethod": "GET",

View file

@ -2631,7 +2631,7 @@
"tags": [
"account"
],
"description": "Sends the user an email with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's email is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).",
"description": "Sends the user an email with a secret key for creating a session. If the email address has never been used, a **new account is created** using the provided `userId`. Otherwise, if the email address is already attached to an account, the **user ID is ignored**. Then, the user will receive an email with the one-time password. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's email is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n",
"responses": {
"201": {
"description": "Token",
@ -2682,7 +2682,7 @@
"properties": {
"userId": {
"type": "string",
"description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.",
"description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars. If the email address has never been used, a new account is created using the provided userId. Otherwise, if the email address is already attached to an account, the user ID is ignored.",
"x-example": "<USER_ID>"
},
"email": {
@ -2764,7 +2764,7 @@
"properties": {
"userId": {
"type": "string",
"description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.",
"description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars. If the email address has never been used, a new account is created using the provided userId. Otherwise, if the email address is already attached to an account, the user ID is ignored.",
"x-example": "<USER_ID>"
},
"email": {
@ -2986,7 +2986,7 @@
"properties": {
"userId": {
"type": "string",
"description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.",
"description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars. If the phone number has never been used, a new account is created using the provided userId. Otherwise, if the phone number is already attached to an account, the user ID is ignored.",
"x-example": "<USER_ID>"
},
"phone": {
@ -3445,7 +3445,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, rupay.",
"description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, unionpay, visa, mir, maestro, rupay.",
"required": true,
"schema": {
"type": "string",
@ -3463,7 +3463,7 @@
"mastercard",
"naranja",
"targeta-shopping",
"union-china-pay",
"unionpay",
"visa",
"mir",
"maestro",
@ -3483,7 +3483,7 @@
"Mastercard",
"Naranja",
"Tarjeta Shopping",
"Union China Pay",
"Union Pay",
"Visa",
"MIR",
"Maestro",
@ -41133,6 +41133,11 @@
"description": "Function ID.",
"x-example": "5e5ea6g16897e"
},
"deploymentId": {
"type": "string",
"description": "Function's deployment ID used to create the execution.",
"x-example": "5e5ea5c16897e"
},
"trigger": {
"type": "string",
"description": "The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.",
@ -41217,6 +41222,7 @@
"$updatedAt",
"$permissions",
"functionId",
"deploymentId",
"trigger",
"status",
"requestMethod",
@ -41237,6 +41243,7 @@
"any"
],
"functionId": "5e5ea6g16897e",
"deploymentId": "5e5ea5c16897e",
"trigger": "http",
"status": "processing",
"requestMethod": "GET",

View file

@ -2303,7 +2303,7 @@
"tags": [
"account"
],
"description": "Sends the user an email with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's email is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).",
"description": "Sends the user an email with a secret key for creating a session. If the email address has never been used, a **new account is created** using the provided `userId`. Otherwise, if the email address is already attached to an account, the **user ID is ignored**. Then, the user will receive an email with the one-time password. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's email is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n",
"responses": {
"201": {
"description": "Token",
@ -2354,7 +2354,7 @@
"properties": {
"userId": {
"type": "string",
"description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.",
"description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars. If the email address has never been used, a new account is created using the provided userId. Otherwise, if the email address is already attached to an account, the user ID is ignored.",
"x-example": "<USER_ID>"
},
"email": {
@ -2436,7 +2436,7 @@
"properties": {
"userId": {
"type": "string",
"description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.",
"description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars. If the email address has never been used, a new account is created using the provided userId. Otherwise, if the email address is already attached to an account, the user ID is ignored.",
"x-example": "<USER_ID>"
},
"email": {
@ -2658,7 +2658,7 @@
"properties": {
"userId": {
"type": "string",
"description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.",
"description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars. If the phone number has never been used, a new account is created using the provided userId. Otherwise, if the phone number is already attached to an account, the user ID is ignored.",
"x-example": "<USER_ID>"
},
"phone": {
@ -3129,7 +3129,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, rupay.",
"description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, unionpay, visa, mir, maestro, rupay.",
"required": true,
"schema": {
"type": "string",
@ -3147,7 +3147,7 @@
"mastercard",
"naranja",
"targeta-shopping",
"union-china-pay",
"unionpay",
"visa",
"mir",
"maestro",
@ -3167,7 +3167,7 @@
"Mastercard",
"Naranja",
"Tarjeta Shopping",
"Union China Pay",
"Union Pay",
"Visa",
"MIR",
"Maestro",
@ -30230,6 +30230,11 @@
"description": "Function ID.",
"x-example": "5e5ea6g16897e"
},
"deploymentId": {
"type": "string",
"description": "Function's deployment ID used to create the execution.",
"x-example": "5e5ea5c16897e"
},
"trigger": {
"type": "string",
"description": "The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.",
@ -30314,6 +30319,7 @@
"$updatedAt",
"$permissions",
"functionId",
"deploymentId",
"trigger",
"status",
"requestMethod",
@ -30334,6 +30340,7 @@
"any"
],
"functionId": "5e5ea6g16897e",
"deploymentId": "5e5ea5c16897e",
"trigger": "http",
"status": "processing",
"requestMethod": "GET",

View file

@ -2316,6 +2316,10 @@
"client"
],
"packaging": false,
"deprecated": {
"since": "1.6.0",
"replaceWith": "account.createSession"
},
"auth": {
"Project": []
}
@ -2525,6 +2529,10 @@
"client"
],
"packaging": false,
"deprecated": {
"since": "1.6.0",
"replaceWith": "account.createSession"
},
"auth": {
"Project": []
}
@ -3900,7 +3908,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, rupay.",
"description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, unionpay, visa, mir, maestro, rupay.",
"required": true,
"schema": {
"type": "string",
@ -3918,7 +3926,7 @@
"mastercard",
"naranja",
"targeta-shopping",
"union-china-pay",
"unionpay",
"visa",
"mir",
"maestro",
@ -3938,7 +3946,7 @@
"Mastercard",
"Naranja",
"Tarjeta Shopping",
"Union China Pay",
"Union Pay",
"Visa",
"MIR",
"Maestro",
@ -7490,7 +7498,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"client",
"server",
@ -7575,7 +7586,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -7717,7 +7731,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"client",
"server",
@ -7812,7 +7829,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -7948,7 +7968,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -8047,7 +8070,10 @@
"rate-limit": 60,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -8131,7 +8157,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -8246,7 +8275,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",

View file

@ -2332,6 +2332,10 @@
"client"
],
"packaging": false,
"deprecated": {
"since": "1.6.0",
"replaceWith": "account.createSession"
},
"auth": {
"Project": []
}
@ -2541,6 +2545,10 @@
"client"
],
"packaging": false,
"deprecated": {
"since": "1.6.0",
"replaceWith": "account.createSession"
},
"auth": {
"Project": []
}
@ -3905,7 +3913,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, rupay.",
"description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, unionpay, visa, mir, maestro, rupay.",
"required": true,
"schema": {
"type": "string",
@ -3923,7 +3931,7 @@
"mastercard",
"naranja",
"targeta-shopping",
"union-china-pay",
"unionpay",
"visa",
"mir",
"maestro",
@ -3943,7 +3951,7 @@
"Mastercard",
"Naranja",
"Tarjeta Shopping",
"Union China Pay",
"Union Pay",
"Visa",
"MIR",
"Maestro",
@ -32153,7 +32161,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"console"
],
@ -32443,7 +32454,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -32526,7 +32540,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -32630,7 +32647,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -32699,7 +32719,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -32798,7 +32821,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -32869,7 +32895,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -32953,7 +32982,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33059,7 +33091,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33170,7 +33205,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33276,7 +33314,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33387,7 +33428,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33493,7 +33537,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33604,7 +33651,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33719,7 +33769,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33839,7 +33892,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33955,7 +34011,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34076,7 +34135,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34192,7 +34254,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34313,7 +34378,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34419,7 +34487,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34530,7 +34601,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34661,7 +34735,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34778,7 +34855,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34894,7 +34974,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -35000,7 +35083,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -35142,7 +35228,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -35213,7 +35302,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -35293,7 +35385,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -35401,7 +35496,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -35483,7 +35581,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -35611,7 +35712,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -35682,7 +35786,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -35762,7 +35869,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"console"
],
@ -35845,7 +35955,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"client",
"server",
@ -35930,7 +36043,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -36096,7 +36212,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"console",
"server"
@ -36216,7 +36335,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"console",
"server"
@ -36310,7 +36432,10 @@
"rate-limit": 60,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"console",
"server"
@ -36401,7 +36526,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"client",
"server",
@ -36496,7 +36624,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -36632,7 +36763,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -36731,7 +36865,10 @@
"rate-limit": 60,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -36815,7 +36952,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"console"
],
@ -36908,7 +37048,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -37023,7 +37166,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -37138,7 +37284,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"console"
],
@ -37230,7 +37379,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"console"
],

View file

@ -2355,6 +2355,10 @@
"client"
],
"packaging": false,
"deprecated": {
"since": "1.6.0",
"replaceWith": "account.createSession"
},
"auth": {
"Project": []
}
@ -2429,6 +2433,10 @@
"client"
],
"packaging": false,
"deprecated": {
"since": "1.6.0",
"replaceWith": "account.createSession"
},
"auth": {
"Project": []
}
@ -3605,7 +3613,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, rupay.",
"description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, unionpay, visa, mir, maestro, rupay.",
"required": true,
"schema": {
"type": "string",
@ -3623,7 +3631,7 @@
"mastercard",
"naranja",
"targeta-shopping",
"union-china-pay",
"unionpay",
"visa",
"mir",
"maestro",
@ -3643,7 +3651,7 @@
"Mastercard",
"Naranja",
"Tarjeta Shopping",
"Union China Pay",
"Union Pay",
"Visa",
"MIR",
"Maestro",
@ -22853,7 +22861,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -22937,7 +22948,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23042,7 +23056,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -23112,7 +23129,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23212,7 +23232,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23284,7 +23307,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -23369,7 +23395,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23476,7 +23505,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23588,7 +23620,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23695,7 +23730,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23807,7 +23845,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23914,7 +23955,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24026,7 +24070,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24142,7 +24189,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24263,7 +24313,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24380,7 +24433,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24502,7 +24558,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24619,7 +24678,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24741,7 +24803,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24848,7 +24913,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24960,7 +25028,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25092,7 +25163,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25210,7 +25284,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25327,7 +25404,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25434,7 +25514,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25577,7 +25660,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -25649,7 +25735,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25730,7 +25819,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25839,7 +25931,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -25922,7 +26017,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -26051,7 +26149,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -26123,7 +26224,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -26204,7 +26308,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"client",
"server",
@ -26291,7 +26398,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -26461,7 +26571,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"console",
"server"
@ -26583,7 +26696,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"console",
"server"
@ -26678,7 +26794,10 @@
"rate-limit": 60,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"console",
"server"
@ -26770,7 +26889,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"client",
"server",
@ -26867,7 +26989,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -27006,7 +27131,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -27107,7 +27235,10 @@
"rate-limit": 60,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -27193,7 +27324,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -27310,7 +27444,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",

View file

@ -2316,6 +2316,10 @@
"client"
],
"packaging": false,
"deprecated": {
"since": "1.6.0",
"replaceWith": "account.createSession"
},
"auth": {
"Project": []
}
@ -2525,6 +2529,10 @@
"client"
],
"packaging": false,
"deprecated": {
"since": "1.6.0",
"replaceWith": "account.createSession"
},
"auth": {
"Project": []
}
@ -3900,7 +3908,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, rupay.",
"description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, unionpay, visa, mir, maestro, rupay.",
"required": true,
"schema": {
"type": "string",
@ -3918,7 +3926,7 @@
"mastercard",
"naranja",
"targeta-shopping",
"union-china-pay",
"unionpay",
"visa",
"mir",
"maestro",
@ -3938,7 +3946,7 @@
"Mastercard",
"Naranja",
"Tarjeta Shopping",
"Union China Pay",
"Union Pay",
"Visa",
"MIR",
"Maestro",
@ -7490,7 +7498,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"client",
"server",
@ -7575,7 +7586,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -7717,7 +7731,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"client",
"server",
@ -7812,7 +7829,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -7948,7 +7968,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -8047,7 +8070,10 @@
"rate-limit": 60,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -8131,7 +8157,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -8246,7 +8275,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",

View file

@ -2332,6 +2332,10 @@
"client"
],
"packaging": false,
"deprecated": {
"since": "1.6.0",
"replaceWith": "account.createSession"
},
"auth": {
"Project": []
}
@ -2541,6 +2545,10 @@
"client"
],
"packaging": false,
"deprecated": {
"since": "1.6.0",
"replaceWith": "account.createSession"
},
"auth": {
"Project": []
}
@ -3905,7 +3913,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, rupay.",
"description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, unionpay, visa, mir, maestro, rupay.",
"required": true,
"schema": {
"type": "string",
@ -3923,7 +3931,7 @@
"mastercard",
"naranja",
"targeta-shopping",
"union-china-pay",
"unionpay",
"visa",
"mir",
"maestro",
@ -3943,7 +3951,7 @@
"Mastercard",
"Naranja",
"Tarjeta Shopping",
"Union China Pay",
"Union Pay",
"Visa",
"MIR",
"Maestro",
@ -32153,7 +32161,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"console"
],
@ -32443,7 +32454,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -32526,7 +32540,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -32630,7 +32647,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -32699,7 +32719,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -32798,7 +32821,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -32869,7 +32895,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -32953,7 +32982,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33059,7 +33091,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33170,7 +33205,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33276,7 +33314,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33387,7 +33428,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33493,7 +33537,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33604,7 +33651,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33719,7 +33769,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33839,7 +33892,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33955,7 +34011,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34076,7 +34135,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34192,7 +34254,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34313,7 +34378,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34419,7 +34487,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34530,7 +34601,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34661,7 +34735,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34778,7 +34855,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34894,7 +34974,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -35000,7 +35083,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -35142,7 +35228,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -35213,7 +35302,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -35293,7 +35385,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -35401,7 +35496,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -35483,7 +35581,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -35611,7 +35712,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -35682,7 +35786,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -35762,7 +35869,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"console"
],
@ -35845,7 +35955,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"client",
"server",
@ -35930,7 +36043,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -36096,7 +36212,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"console",
"server"
@ -36216,7 +36335,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"console",
"server"
@ -36310,7 +36432,10 @@
"rate-limit": 60,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"console",
"server"
@ -36401,7 +36526,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"client",
"server",
@ -36496,7 +36624,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -36632,7 +36763,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -36731,7 +36865,10 @@
"rate-limit": 60,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -36815,7 +36952,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"console"
],
@ -36908,7 +37048,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -37023,7 +37166,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -37138,7 +37284,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"console"
],
@ -37230,7 +37379,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"console"
],

View file

@ -2355,6 +2355,10 @@
"client"
],
"packaging": false,
"deprecated": {
"since": "1.6.0",
"replaceWith": "account.createSession"
},
"auth": {
"Project": []
}
@ -2429,6 +2433,10 @@
"client"
],
"packaging": false,
"deprecated": {
"since": "1.6.0",
"replaceWith": "account.createSession"
},
"auth": {
"Project": []
}
@ -3605,7 +3613,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, rupay.",
"description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, unionpay, visa, mir, maestro, rupay.",
"required": true,
"schema": {
"type": "string",
@ -3623,7 +3631,7 @@
"mastercard",
"naranja",
"targeta-shopping",
"union-china-pay",
"unionpay",
"visa",
"mir",
"maestro",
@ -3643,7 +3651,7 @@
"Mastercard",
"Naranja",
"Tarjeta Shopping",
"Union China Pay",
"Union Pay",
"Visa",
"MIR",
"Maestro",
@ -22853,7 +22861,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -22937,7 +22948,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23042,7 +23056,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -23112,7 +23129,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23212,7 +23232,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23284,7 +23307,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -23369,7 +23395,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23476,7 +23505,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23588,7 +23620,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23695,7 +23730,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23807,7 +23845,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23914,7 +23955,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24026,7 +24070,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24142,7 +24189,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24263,7 +24313,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24380,7 +24433,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24502,7 +24558,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24619,7 +24678,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24741,7 +24803,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24848,7 +24913,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24960,7 +25028,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25092,7 +25163,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25210,7 +25284,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25327,7 +25404,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25434,7 +25514,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25577,7 +25660,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -25649,7 +25735,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25730,7 +25819,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25839,7 +25931,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -25922,7 +26017,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -26051,7 +26149,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -26123,7 +26224,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -26204,7 +26308,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"client",
"server",
@ -26291,7 +26398,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -26461,7 +26571,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"console",
"server"
@ -26583,7 +26696,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"console",
"server"
@ -26678,7 +26794,10 @@
"rate-limit": 60,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"console",
"server"
@ -26770,7 +26889,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"client",
"server",
@ -26867,7 +26989,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -27006,7 +27131,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -27107,7 +27235,10 @@
"rate-limit": 60,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -27193,7 +27324,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -27310,7 +27444,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",

View file

@ -2751,7 +2751,7 @@
"tags": [
"account"
],
"description": "Sends the user an email with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's email is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).",
"description": "Sends the user an email with a secret key for creating a session. If the email address has never been used, a **new account is created** using the provided `userId`. Otherwise, if the email address is already attached to an account, the **user ID is ignored**. Then, the user will receive an email with the one-time password. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's email is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n",
"responses": {
"201": {
"description": "Token",
@ -2799,7 +2799,7 @@
"properties": {
"userId": {
"type": "string",
"description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.",
"description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars. If the email address has never been used, a new account is created using the provided userId. Otherwise, if the email address is already attached to an account, the user ID is ignored.",
"default": null,
"x-example": "<USER_ID>"
},
@ -2886,7 +2886,7 @@
"properties": {
"userId": {
"type": "string",
"description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.",
"description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars. If the email address has never been used, a new account is created using the provided userId. Otherwise, if the email address is already attached to an account, the user ID is ignored.",
"default": null,
"x-example": "<USER_ID>"
},
@ -3111,7 +3111,7 @@
"properties": {
"userId": {
"type": "string",
"description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.",
"description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars. If the phone number has never been used, a new account is created using the provided userId. Otherwise, if the phone number is already attached to an account, the user ID is ignored.",
"default": null,
"x-example": "<USER_ID>"
},
@ -3592,7 +3592,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, rupay.",
"description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, unionpay, visa, mir, maestro, rupay.",
"required": true,
"type": "string",
"x-example": "amex",
@ -3609,7 +3609,7 @@
"mastercard",
"naranja",
"targeta-shopping",
"union-china-pay",
"unionpay",
"visa",
"mir",
"maestro",
@ -3629,7 +3629,7 @@
"Mastercard",
"Naranja",
"Tarjeta Shopping",
"Union China Pay",
"Union Pay",
"Visa",
"MIR",
"Maestro",
@ -9885,6 +9885,11 @@
"description": "Function ID.",
"x-example": "5e5ea6g16897e"
},
"deploymentId": {
"type": "string",
"description": "Function's deployment ID used to create the execution.",
"x-example": "5e5ea5c16897e"
},
"trigger": {
"type": "string",
"description": "The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.",
@ -9971,6 +9976,7 @@
"$updatedAt",
"$permissions",
"functionId",
"deploymentId",
"trigger",
"status",
"requestMethod",
@ -9991,6 +9997,7 @@
"any"
],
"functionId": "5e5ea6g16897e",
"deploymentId": "5e5ea5c16897e",
"trigger": "http",
"status": "processing",
"requestMethod": "GET",

View file

@ -2770,7 +2770,7 @@
"tags": [
"account"
],
"description": "Sends the user an email with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's email is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).",
"description": "Sends the user an email with a secret key for creating a session. If the email address has never been used, a **new account is created** using the provided `userId`. Otherwise, if the email address is already attached to an account, the **user ID is ignored**. Then, the user will receive an email with the one-time password. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's email is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n",
"responses": {
"201": {
"description": "Token",
@ -2818,7 +2818,7 @@
"properties": {
"userId": {
"type": "string",
"description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.",
"description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars. If the email address has never been used, a new account is created using the provided userId. Otherwise, if the email address is already attached to an account, the user ID is ignored.",
"default": null,
"x-example": "<USER_ID>"
},
@ -2905,7 +2905,7 @@
"properties": {
"userId": {
"type": "string",
"description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.",
"description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars. If the email address has never been used, a new account is created using the provided userId. Otherwise, if the email address is already attached to an account, the user ID is ignored.",
"default": null,
"x-example": "<USER_ID>"
},
@ -3130,7 +3130,7 @@
"properties": {
"userId": {
"type": "string",
"description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.",
"description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars. If the phone number has never been used, a new account is created using the provided userId. Otherwise, if the phone number is already attached to an account, the user ID is ignored.",
"default": null,
"x-example": "<USER_ID>"
},
@ -3607,7 +3607,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, rupay.",
"description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, unionpay, visa, mir, maestro, rupay.",
"required": true,
"type": "string",
"x-example": "amex",
@ -3624,7 +3624,7 @@
"mastercard",
"naranja",
"targeta-shopping",
"union-china-pay",
"unionpay",
"visa",
"mir",
"maestro",
@ -3644,7 +3644,7 @@
"Mastercard",
"Naranja",
"Tarjeta Shopping",
"Union China Pay",
"Union Pay",
"Visa",
"MIR",
"Maestro",
@ -41300,6 +41300,11 @@
"description": "Function ID.",
"x-example": "5e5ea6g16897e"
},
"deploymentId": {
"type": "string",
"description": "Function's deployment ID used to create the execution.",
"x-example": "5e5ea5c16897e"
},
"trigger": {
"type": "string",
"description": "The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.",
@ -41386,6 +41391,7 @@
"$updatedAt",
"$permissions",
"functionId",
"deploymentId",
"trigger",
"status",
"requestMethod",
@ -41406,6 +41412,7 @@
"any"
],
"functionId": "5e5ea6g16897e",
"deploymentId": "5e5ea5c16897e",
"trigger": "http",
"status": "processing",
"requestMethod": "GET",

View file

@ -2438,7 +2438,7 @@
"tags": [
"account"
],
"description": "Sends the user an email with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's email is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).",
"description": "Sends the user an email with a secret key for creating a session. If the email address has never been used, a **new account is created** using the provided `userId`. Otherwise, if the email address is already attached to an account, the **user ID is ignored**. Then, the user will receive an email with the one-time password. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's email is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n",
"responses": {
"201": {
"description": "Token",
@ -2486,7 +2486,7 @@
"properties": {
"userId": {
"type": "string",
"description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.",
"description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars. If the email address has never been used, a new account is created using the provided userId. Otherwise, if the email address is already attached to an account, the user ID is ignored.",
"default": null,
"x-example": "<USER_ID>"
},
@ -2573,7 +2573,7 @@
"properties": {
"userId": {
"type": "string",
"description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.",
"description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars. If the email address has never been used, a new account is created using the provided userId. Otherwise, if the email address is already attached to an account, the user ID is ignored.",
"default": null,
"x-example": "<USER_ID>"
},
@ -2798,7 +2798,7 @@
"properties": {
"userId": {
"type": "string",
"description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.",
"description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars. If the phone number has never been used, a new account is created using the provided userId. Otherwise, if the phone number is already attached to an account, the user ID is ignored.",
"default": null,
"x-example": "<USER_ID>"
},
@ -3287,7 +3287,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, rupay.",
"description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, unionpay, visa, mir, maestro, rupay.",
"required": true,
"type": "string",
"x-example": "amex",
@ -3304,7 +3304,7 @@
"mastercard",
"naranja",
"targeta-shopping",
"union-china-pay",
"unionpay",
"visa",
"mir",
"maestro",
@ -3324,7 +3324,7 @@
"Mastercard",
"Naranja",
"Tarjeta Shopping",
"Union China Pay",
"Union Pay",
"Visa",
"MIR",
"Maestro",
@ -30460,6 +30460,11 @@
"description": "Function ID.",
"x-example": "5e5ea6g16897e"
},
"deploymentId": {
"type": "string",
"description": "Function's deployment ID used to create the execution.",
"x-example": "5e5ea5c16897e"
},
"trigger": {
"type": "string",
"description": "The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.",
@ -30546,6 +30551,7 @@
"$updatedAt",
"$permissions",
"functionId",
"deploymentId",
"trigger",
"status",
"requestMethod",
@ -30566,6 +30572,7 @@
"any"
],
"functionId": "5e5ea6g16897e",
"deploymentId": "5e5ea5c16897e",
"trigger": "http",
"status": "processing",
"requestMethod": "GET",

View file

@ -2424,6 +2424,10 @@
"client"
],
"packaging": false,
"deprecated": {
"since": "1.6.0",
"replaceWith": "account.createSession"
},
"auth": {
"Project": []
}
@ -2634,6 +2638,10 @@
"client"
],
"packaging": false,
"deprecated": {
"since": "1.6.0",
"replaceWith": "account.createSession"
},
"auth": {
"Project": []
}
@ -4052,7 +4060,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, rupay.",
"description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, unionpay, visa, mir, maestro, rupay.",
"required": true,
"type": "string",
"x-example": "amex",
@ -4069,7 +4077,7 @@
"mastercard",
"naranja",
"targeta-shopping",
"union-china-pay",
"unionpay",
"visa",
"mir",
"maestro",
@ -4089,7 +4097,7 @@
"Mastercard",
"Naranja",
"Tarjeta Shopping",
"Union China Pay",
"Union Pay",
"Visa",
"MIR",
"Maestro",
@ -7572,7 +7580,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"client",
"server"
@ -7653,7 +7664,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server"
@ -7792,7 +7806,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"client",
"server"
@ -7881,7 +7898,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server"
@ -8012,7 +8032,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server"
@ -8108,7 +8131,10 @@
"rate-limit": 60,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server"
@ -8187,7 +8213,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -8295,7 +8324,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",

View file

@ -2450,6 +2450,10 @@
"client"
],
"packaging": false,
"deprecated": {
"since": "1.6.0",
"replaceWith": "account.createSession"
},
"auth": {
"Project": []
}
@ -2660,6 +2664,10 @@
"client"
],
"packaging": false,
"deprecated": {
"since": "1.6.0",
"replaceWith": "account.createSession"
},
"auth": {
"Project": []
}
@ -4067,7 +4075,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, rupay.",
"description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, unionpay, visa, mir, maestro, rupay.",
"required": true,
"type": "string",
"x-example": "amex",
@ -4084,7 +4092,7 @@
"mastercard",
"naranja",
"targeta-shopping",
"union-china-pay",
"unionpay",
"visa",
"mir",
"maestro",
@ -4104,7 +4112,7 @@
"Mastercard",
"Naranja",
"Tarjeta Shopping",
"Union China Pay",
"Union Pay",
"Visa",
"MIR",
"Maestro",
@ -32337,7 +32345,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"console"
],
@ -32625,7 +32636,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -32705,7 +32719,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -32810,7 +32827,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -32877,7 +32897,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -32978,7 +33001,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33045,7 +33071,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -33126,7 +33155,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33232,7 +33264,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33340,7 +33375,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33446,7 +33484,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33554,7 +33595,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33660,7 +33704,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33768,7 +33815,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33884,7 +33934,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34002,7 +34055,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34120,7 +34176,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34240,7 +34299,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34358,7 +34420,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34478,7 +34543,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34584,7 +34652,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34692,7 +34763,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34825,7 +34899,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34944,7 +35021,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -35058,7 +35138,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -35164,7 +35247,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -35301,7 +35387,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -35370,7 +35459,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -35446,7 +35538,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -35548,7 +35643,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -35627,7 +35725,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -35754,7 +35855,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -35823,7 +35927,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -35897,7 +36004,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"console"
],
@ -35975,7 +36085,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"client",
"server"
@ -36056,7 +36169,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server"
@ -36221,7 +36337,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"console",
"server"
@ -36338,7 +36457,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"console",
"server"
@ -36430,7 +36552,10 @@
"rate-limit": 60,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"console",
"server"
@ -36516,7 +36641,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"client",
"server"
@ -36605,7 +36733,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server"
@ -36736,7 +36867,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server"
@ -36832,7 +36966,10 @@
"rate-limit": 60,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server"
@ -36909,7 +37046,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"console"
],
@ -36997,7 +37137,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -37105,7 +37248,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -37211,7 +37357,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"console"
],
@ -37297,7 +37446,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"console"
],

View file

@ -2472,6 +2472,10 @@
"client"
],
"packaging": false,
"deprecated": {
"since": "1.6.0",
"replaceWith": "account.createSession"
},
"auth": {
"Project": []
}
@ -2550,6 +2554,10 @@
"client"
],
"packaging": false,
"deprecated": {
"since": "1.6.0",
"replaceWith": "account.createSession"
},
"auth": {
"Project": []
}
@ -3763,7 +3771,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, rupay.",
"description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, unionpay, visa, mir, maestro, rupay.",
"required": true,
"type": "string",
"x-example": "amex",
@ -3780,7 +3788,7 @@
"mastercard",
"naranja",
"targeta-shopping",
"union-china-pay",
"unionpay",
"visa",
"mir",
"maestro",
@ -3800,7 +3808,7 @@
"Mastercard",
"Naranja",
"Tarjeta Shopping",
"Union China Pay",
"Union Pay",
"Visa",
"MIR",
"Maestro",
@ -23090,7 +23098,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -23171,7 +23182,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23277,7 +23291,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -23345,7 +23362,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23447,7 +23467,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23515,7 +23538,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -23597,7 +23623,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23704,7 +23733,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23813,7 +23845,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23920,7 +23955,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24029,7 +24067,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24136,7 +24177,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24245,7 +24289,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24362,7 +24409,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24481,7 +24531,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24600,7 +24653,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24721,7 +24777,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24840,7 +24899,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24961,7 +25023,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25068,7 +25133,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25177,7 +25245,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25311,7 +25382,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25431,7 +25505,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25546,7 +25623,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25653,7 +25733,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25791,7 +25874,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -25861,7 +25947,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25938,7 +26027,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -26041,7 +26133,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -26121,7 +26216,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -26249,7 +26347,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -26319,7 +26420,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -26394,7 +26498,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"client",
"server"
@ -26477,7 +26584,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server"
@ -26646,7 +26756,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"console",
"server"
@ -26765,7 +26878,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"console",
"server"
@ -26858,7 +26974,10 @@
"rate-limit": 60,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"console",
"server"
@ -26945,7 +27064,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"client",
"server"
@ -27036,7 +27158,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server"
@ -27170,7 +27295,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server"
@ -27268,7 +27396,10 @@
"rate-limit": 60,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server"
@ -27349,7 +27480,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -27459,7 +27593,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",

View file

@ -2424,6 +2424,10 @@
"client"
],
"packaging": false,
"deprecated": {
"since": "1.6.0",
"replaceWith": "account.createSession"
},
"auth": {
"Project": []
}
@ -2634,6 +2638,10 @@
"client"
],
"packaging": false,
"deprecated": {
"since": "1.6.0",
"replaceWith": "account.createSession"
},
"auth": {
"Project": []
}
@ -4052,7 +4060,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, rupay.",
"description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, unionpay, visa, mir, maestro, rupay.",
"required": true,
"type": "string",
"x-example": "amex",
@ -4069,7 +4077,7 @@
"mastercard",
"naranja",
"targeta-shopping",
"union-china-pay",
"unionpay",
"visa",
"mir",
"maestro",
@ -4089,7 +4097,7 @@
"Mastercard",
"Naranja",
"Tarjeta Shopping",
"Union China Pay",
"Union Pay",
"Visa",
"MIR",
"Maestro",
@ -7572,7 +7580,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"client",
"server"
@ -7653,7 +7664,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server"
@ -7792,7 +7806,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"client",
"server"
@ -7881,7 +7898,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server"
@ -8012,7 +8032,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server"
@ -8108,7 +8131,10 @@
"rate-limit": 60,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server"
@ -8187,7 +8213,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -8295,7 +8324,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",

View file

@ -2450,6 +2450,10 @@
"client"
],
"packaging": false,
"deprecated": {
"since": "1.6.0",
"replaceWith": "account.createSession"
},
"auth": {
"Project": []
}
@ -2660,6 +2664,10 @@
"client"
],
"packaging": false,
"deprecated": {
"since": "1.6.0",
"replaceWith": "account.createSession"
},
"auth": {
"Project": []
}
@ -4067,7 +4075,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, rupay.",
"description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, unionpay, visa, mir, maestro, rupay.",
"required": true,
"type": "string",
"x-example": "amex",
@ -4084,7 +4092,7 @@
"mastercard",
"naranja",
"targeta-shopping",
"union-china-pay",
"unionpay",
"visa",
"mir",
"maestro",
@ -4104,7 +4112,7 @@
"Mastercard",
"Naranja",
"Tarjeta Shopping",
"Union China Pay",
"Union Pay",
"Visa",
"MIR",
"Maestro",
@ -32337,7 +32345,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"console"
],
@ -32625,7 +32636,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -32705,7 +32719,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -32810,7 +32827,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -32877,7 +32897,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -32978,7 +33001,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33045,7 +33071,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -33126,7 +33155,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33232,7 +33264,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33340,7 +33375,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33446,7 +33484,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33554,7 +33595,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33660,7 +33704,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33768,7 +33815,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -33884,7 +33934,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34002,7 +34055,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34120,7 +34176,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34240,7 +34299,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34358,7 +34420,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34478,7 +34543,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34584,7 +34652,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34692,7 +34763,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34825,7 +34899,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -34944,7 +35021,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -35058,7 +35138,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -35164,7 +35247,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -35301,7 +35387,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -35370,7 +35459,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -35446,7 +35538,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -35548,7 +35643,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -35627,7 +35725,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -35754,7 +35855,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -35823,7 +35927,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -35897,7 +36004,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"console"
],
@ -35975,7 +36085,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"client",
"server"
@ -36056,7 +36169,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server"
@ -36221,7 +36337,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"console",
"server"
@ -36338,7 +36457,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"console",
"server"
@ -36430,7 +36552,10 @@
"rate-limit": 60,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"console",
"server"
@ -36516,7 +36641,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"client",
"server"
@ -36605,7 +36733,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server"
@ -36736,7 +36867,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server"
@ -36832,7 +36966,10 @@
"rate-limit": 60,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server"
@ -36909,7 +37046,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"console"
],
@ -36997,7 +37137,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -37105,7 +37248,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -37211,7 +37357,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"console"
],
@ -37297,7 +37446,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"console"
],

View file

@ -2472,6 +2472,10 @@
"client"
],
"packaging": false,
"deprecated": {
"since": "1.6.0",
"replaceWith": "account.createSession"
},
"auth": {
"Project": []
}
@ -2550,6 +2554,10 @@
"client"
],
"packaging": false,
"deprecated": {
"since": "1.6.0",
"replaceWith": "account.createSession"
},
"auth": {
"Project": []
}
@ -3763,7 +3771,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, rupay.",
"description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, unionpay, visa, mir, maestro, rupay.",
"required": true,
"type": "string",
"x-example": "amex",
@ -3780,7 +3788,7 @@
"mastercard",
"naranja",
"targeta-shopping",
"union-china-pay",
"unionpay",
"visa",
"mir",
"maestro",
@ -3800,7 +3808,7 @@
"Mastercard",
"Naranja",
"Tarjeta Shopping",
"Union China Pay",
"Union Pay",
"Visa",
"MIR",
"Maestro",
@ -23090,7 +23098,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -23171,7 +23182,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23277,7 +23291,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -23345,7 +23362,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23447,7 +23467,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23515,7 +23538,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -23597,7 +23623,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23704,7 +23733,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23813,7 +23845,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -23920,7 +23955,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24029,7 +24067,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24136,7 +24177,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24245,7 +24289,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24362,7 +24409,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24481,7 +24531,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24600,7 +24653,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24721,7 +24777,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24840,7 +24899,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -24961,7 +25023,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25068,7 +25133,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25177,7 +25245,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25311,7 +25382,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25431,7 +25505,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25546,7 +25623,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25653,7 +25733,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25791,7 +25874,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -25861,7 +25947,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -25938,7 +26027,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -26041,7 +26133,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -26121,7 +26216,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -26249,7 +26347,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.read",
"scope": [
"tables.read",
"collections.read"
],
"platforms": [
"server"
],
@ -26319,7 +26420,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "tables.write",
"scope": [
"tables.write",
"collections.write"
],
"platforms": [
"server"
],
@ -26394,7 +26498,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"client",
"server"
@ -26477,7 +26584,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server"
@ -26646,7 +26756,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"console",
"server"
@ -26765,7 +26878,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"console",
"server"
@ -26858,7 +26974,10 @@
"rate-limit": 60,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"console",
"server"
@ -26945,7 +27064,10 @@
"rate-limit": 0,
"rate-time": 3600,
"rate-key": "url:{url},ip:{ip}",
"scope": "rows.read",
"scope": [
"rows.read",
"documents.read"
],
"platforms": [
"client",
"server"
@ -27036,7 +27158,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server"
@ -27170,7 +27295,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server"
@ -27268,7 +27396,10 @@
"rate-limit": 60,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server"
@ -27349,7 +27480,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",
@ -27459,7 +27593,10 @@
"rate-limit": 120,
"rate-time": 60,
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
"scope": "rows.write",
"scope": [
"rows.write",
"documents.write"
],
"platforms": [
"client",
"server",

View file

@ -2419,7 +2419,10 @@ App::put('/v1/account/sessions/magic-url')
)
],
contentType: ContentType::JSON,
deprecated: true,
deprecated: new Deprecated(
since: '1.6.0',
replaceWith: 'account.createSession'
),
))
->label('abuse-limit', 10)
->label('abuse-key', 'ip:{ip},userId:{param-userId}')
@ -2457,7 +2460,10 @@ App::put('/v1/account/sessions/phone')
)
],
contentType: ContentType::JSON,
deprecated: true,
deprecated: new Deprecated(
since: '1.6.0',
replaceWith: 'account.createSession'
),
))
->label('abuse-limit', 10)
->label('abuse-key', 'ip:{ip},userId:{param-userId}')

View file

@ -28,7 +28,6 @@ use Appwrite\Utopia\Response\Filters\V16 as ResponseV16;
use Appwrite\Utopia\Response\Filters\V17 as ResponseV17;
use Appwrite\Utopia\Response\Filters\V18 as ResponseV18;
use Appwrite\Utopia\Response\Filters\V19 as ResponseV19;
use Appwrite\Utopia\Response\Filters\V20 as ResponseV20;
use Appwrite\Utopia\View;
use Executor\Executor;
use MaxMind\Db\Reader;
@ -881,7 +880,7 @@ App::init()
}
if (version_compare($requestFormat, '1.8.0', '<')) {
$dbForProject = $getProjectDB($project);
$request->addFilter(new RequestV20($dbForProject, $request->getParams()));
$request->addFilter(new RequestV20($dbForProject, $route->getPathValues($request)));
}
}
@ -1021,9 +1020,6 @@ App::init()
if (version_compare($responseFormat, '1.7.0', '<')) {
$response->addFilter(new ResponseV19());
}
if (version_compare($responseFormat, '1.8.0', '<')) {
$response->addFilter(new ResponseV20());
}
if (version_compare($responseFormat, APP_VERSION_STABLE, '>')) {
$warnings[] = "The current SDK is built for Appwrite " . $responseFormat . ". However, the current Appwrite server version is " . APP_VERSION_STABLE . ". Please downgrade your SDK to match the Appwrite version: https://appwrite.io/docs/sdks";
}

View file

@ -379,9 +379,9 @@ App::init()
}
// Do now allow access if scope is not allowed
$scope = $route->getLabel('scope', 'none');
if (!\in_array($scope, $scopes)) {
throw new Exception(Exception::GENERAL_UNAUTHORIZED_SCOPE, $user->getAttribute('email', 'User') . ' (role: ' . \strtolower($roles[$role]['label']) . ') missing scope (' . $scope . ')');
$allowed = (array)$route->getLabel('scope', 'none');
if (empty(\array_intersect($allowed, $scopes))) {
throw new Exception(Exception::GENERAL_UNAUTHORIZED_SCOPE, $user->getAttribute('email', 'User') . ' (role: ' . \strtolower($roles[$role]['label']) . ') missing scopes (' . \json_encode($allowed) . ')');
}
// Do not allow access to blocked accounts

View file

@ -179,7 +179,7 @@ $image = $this->getParam('image', '');
appwrite-console:
<<: *x-logging
container_name: appwrite-console
image: <?php echo $organization; ?>/console:6.2.0
image: <?php echo $organization; ?>/console:7.0.2
restart: unless-stopped
networks:
- appwrite

24
composer.lock generated
View file

@ -3557,16 +3557,16 @@
},
{
"name": "utopia-php/database",
"version": "1.2.0",
"version": "1.2.1",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/database.git",
"reference": "653e19d26c5607b9dce917c50737824772cd3dd8"
"reference": "99beaf1dd6dc3561c8332f9893325777553644a4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/database/zipball/653e19d26c5607b9dce917c50737824772cd3dd8",
"reference": "653e19d26c5607b9dce917c50737824772cd3dd8",
"url": "https://api.github.com/repos/utopia-php/database/zipball/99beaf1dd6dc3561c8332f9893325777553644a4",
"reference": "99beaf1dd6dc3561c8332f9893325777553644a4",
"shasum": ""
},
"require": {
@ -3607,9 +3607,9 @@
],
"support": {
"issues": "https://github.com/utopia-php/database/issues",
"source": "https://github.com/utopia-php/database/tree/1.2.0"
"source": "https://github.com/utopia-php/database/tree/1.2.1"
},
"time": "2025-08-26T12:51:42+00:00"
"time": "2025-08-26T16:05:26+00:00"
},
{
"name": "utopia-php/detector",
@ -4926,16 +4926,16 @@
"packages-dev": [
{
"name": "appwrite/sdk-generator",
"version": "1.1.14",
"version": "1.1.15",
"source": {
"type": "git",
"url": "https://github.com/appwrite/sdk-generator.git",
"reference": "662c7a53e683ed941c7d1374cfd32533bf54fbca"
"reference": "8e8e39634ba7558704522959d88f3542563a5444"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/662c7a53e683ed941c7d1374cfd32533bf54fbca",
"reference": "662c7a53e683ed941c7d1374cfd32533bf54fbca",
"url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/8e8e39634ba7558704522959d88f3542563a5444",
"reference": "8e8e39634ba7558704522959d88f3542563a5444",
"shasum": ""
},
"require": {
@ -4971,9 +4971,9 @@
"description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms",
"support": {
"issues": "https://github.com/appwrite/sdk-generator/issues",
"source": "https://github.com/appwrite/sdk-generator/tree/1.1.14"
"source": "https://github.com/appwrite/sdk-generator/tree/1.1.15"
},
"time": "2025-08-26T13:17:07+00:00"
"time": "2025-08-27T04:59:35+00:00"
},
{
"name": "doctrine/annotations",

View file

@ -219,7 +219,7 @@ services:
appwrite-console:
<<: *x-logging
container_name: appwrite-console
image: appwrite/console:7.0.0-qa.8
image: appwrite/console:7.0.2
restart: unless-stopped
networks:
- appwrite

View file

@ -11,9 +11,11 @@ use Appwrite\Utopia\Response;
use Utopia\Database\Database;
use Utopia\Database\Query;
use Utopia\Database\Validator\Authorization;
use Utopia\Domains\Domain as Domain;
use Utopia\Platform\Action;
use Utopia\Platform\Scope\HTTP;
use Utopia\Validator\Domain;
use Utopia\System\System;
use Utopia\Validator\Domain as DomainValidator;
use Utopia\Validator\Text;
use Utopia\Validator\WhiteList;
@ -67,10 +69,59 @@ class Get extends Action
Database $dbForPlatform
) {
if ($type === 'rules') {
$validator = new Domain($value);
$sitesDomain = System::getEnv('_APP_DOMAIN_SITES', '');
$functionsDomain = System::getEnv('_APP_DOMAIN_FUNCTIONS', '');
$restrictions = [];
if (!empty($sitesDomain)) {
// Ensure site domains are exactly 1 subdomain, and dont start with reserved prefix
$domainLevel = \count(\explode('.', $sitesDomain));
$restrictions[] = DomainValidator::createRestriction($sitesDomain, $domainLevel + 1, ['commit-', 'branch-']);
}
if (!empty($functionsDomain)) {
// Ensure function domains are exactly 1 subdomain
$domainLevel = \count(\explode('.', $functionsDomain));
$restrictions[] = DomainValidator::createRestriction($functionsDomain, $domainLevel + 1);
}
$validator = new DomainValidator($restrictions);
if (!$validator->isValid($value)) {
throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, $validator->getDescription());
throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please use a different domain.');
}
$deniedDomains = [
'localhost',
APP_HOSTNAME_INTERNAL
];
$mainDomain = System::getEnv('_APP_DOMAIN', '');
$deniedDomains[] = $mainDomain;
if (!empty($sitesDomain)) {
$deniedDomains[] = $sitesDomain;
}
if (!empty($functionsDomain)) {
$deniedDomains[] = $functionsDomain;
}
$denyListDomains = System::getEnv('_APP_CUSTOM_DOMAIN_DENY_LIST', '');
$denyListDomains = \array_map('trim', explode(',', $denyListDomains));
foreach ($denyListDomains as $denyListDomain) {
if (empty($denyListDomain)) {
continue;
}
$deniedDomains[] = $denyListDomain;
}
if (\in_array($value, $deniedDomains)) {
throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please use a different domain.');
}
try {
$domain = new Domain($value);
} catch (\Throwable) {
throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'Domain may not start with http:// or https://.');
}
$document = Authorization::skip(fn () => $dbForPlatform->findOne('rules', [

View file

@ -29,7 +29,7 @@ abstract class Action extends AppwriteAction
// Use the same helper method to ensure consistency
$contextId = '$' . $this->getCollectionsEventsContext() . 'Id';
$this->removableAttributes = ['$databaseId', $contextId];
$this->removableAttributes = ['$databaseId', $contextId, '$sequence'];
return parent::setHttpPath($path);
}

View file

@ -127,6 +127,9 @@ class Update extends Action
}
}
// Remove sequence if set
unset($document['$sequence']);
$documents = [];
try {

View file

@ -351,6 +351,9 @@ class Create extends Action
}
}
// Remove sequence if set
unset($document['$sequence']);
// Assign a unique ID if needed, otherwise use the provided ID.
$document['$id'] = $sourceId === 'unique()' ? ID::unique() : $sourceId;

View file

@ -159,6 +159,9 @@ class Update extends Action
$permissions = $document->getPermissions() ?? [];
}
// Remove sequence if set
unset($document['$sequence']);
$data['$id'] = $documentId;
$data['$permissions'] = $permissions;
$newDocument = new Document($data);

View file

@ -32,7 +32,7 @@ class Create extends BooleanCreate
->desc('Create boolean column')
->groups(['api', 'database', 'schema'])
->label('event', 'databases.[databaseId].tables.[tableId].columns.[columnId].create')
->label('scope', 'tables.write')
->label('scope', ['tables.write', 'collections.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('audits.event', 'column.create')
->label('audits.resource', 'database/{request.databaseId}/table/{request.tableId}')

View file

@ -33,7 +33,7 @@ class Update extends BooleanUpdate
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/columns/boolean/:key')
->desc('Update boolean column')
->groups(['api', 'database', 'schema'])
->label('scope', 'tables.write')
->label('scope', ['tables.write', 'collections.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('event', 'databases.[databaseId].tables.[tableId].columns.[columnId].update')
->label('audits.event', 'column.update')

View file

@ -33,7 +33,7 @@ class Create extends DatetimeCreate
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/columns/datetime')
->desc('Create datetime column')
->groups(['api', 'database'])
->label('scope', 'tables.write')
->label('scope', ['tables.write', 'collections.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('event', 'databases.[databaseId].tables.[tableId].columns.[columnId].create')
->label('audits.event', 'column.create')

View file

@ -35,7 +35,7 @@ class Update extends DatetimeUpdate
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/columns/datetime/:key')
->desc('Update dateTime column')
->groups(['api', 'database', 'schema'])
->label('scope', 'tables.write')
->label('scope', ['tables.write', 'collections.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('event', 'databases.[databaseId].tables.[tableId].columns.[columnId].update')
->label('audits.event', 'column.update')

View file

@ -32,7 +32,7 @@ class Delete extends AttributesDelete
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/columns/:key')
->desc('Delete column')
->groups(['api', 'database', 'schema'])
->label('scope', 'tables.write')
->label('scope', ['tables.write', 'collections.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('event', 'databases.[databaseId].tables.[tableId].columns.[columnId].update')
->label('audits.event', 'column.delete')

View file

@ -32,7 +32,7 @@ class Create extends EmailCreate
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/columns/email')
->desc('Create email column')
->groups(['api', 'database', 'schema'])
->label('scope', 'tables.write')
->label('scope', ['tables.write', 'collections.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('event', 'databases.[databaseId].tables.[tableId].columns.[columnId].create')
->label('audits.event', 'column.create')

View file

@ -34,7 +34,7 @@ class Update extends EmailUpdate
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/columns/email/:key')
->desc('Update email column')
->groups(['api', 'database', 'schema'])
->label('scope', 'tables.write')
->label('scope', ['tables.write', 'collections.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('event', 'databases.[databaseId].tables.[tableId].columns.[columnId].update')
->label('audits.event', 'column.update')

View file

@ -34,7 +34,7 @@ class Create extends EnumCreate
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/columns/enum')
->desc('Create enum column')
->groups(['api', 'database', 'schema'])
->label('scope', 'tables.write')
->label('scope', ['tables.write', 'collections.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('event', 'databases.[databaseId].tables.[tableId].columns.[columnId].create')
->label('audits.event', 'column.create')

View file

@ -36,7 +36,7 @@ class Update extends EnumUpdate
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/columns/enum/:key')
->desc('Update enum column')
->groups(['api', 'database', 'schema'])
->label('scope', 'tables.write')
->label('scope', ['tables.write', 'collections.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('event', 'databases.[databaseId].tables.[tableId].columns.[columnId].update')
->label('audits.event', 'column.update')

View file

@ -32,7 +32,7 @@ class Create extends FloatCreate
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/columns/float')
->desc('Create float column')
->groups(['api', 'database', 'schema'])
->label('scope', 'tables.write')
->label('scope', ['tables.write', 'collections.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('event', 'databases.[databaseId].tables.[tableId].columns.[columnId].create')
->label('audits.event', 'column.create')

View file

@ -34,7 +34,7 @@ class Update extends FloatUpdate
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/columns/float/:key')
->desc('Update float column')
->groups(['api', 'database', 'schema'])
->label('scope', 'tables.write')
->label('scope', ['tables.write', 'collections.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('event', 'databases.[databaseId].tables.[tableId].columns.[columnId].update')
->label('audits.event', 'column.update')

View file

@ -41,7 +41,7 @@ class Get extends AttributesGet
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/columns/:key')
->desc('Get column')
->groups(['api', 'database'])
->label('scope', 'tables.read')
->label('scope', ['tables.read', 'collections.read'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('sdk', new Method(
namespace: $this->getSdkNamespace(),

View file

@ -32,7 +32,7 @@ class Create extends IPCreate
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/columns/ip')
->desc('Create IP address column')
->groups(['api', 'database', 'schema'])
->label('scope', 'tables.write')
->label('scope', ['tables.write', 'collections.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('event', 'databases.[databaseId].tables.[tableId].columns.[columnId].create')
->label('audits.event', 'column.create')

View file

@ -34,7 +34,7 @@ class Update extends IPUpdate
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/columns/ip/:key')
->desc('Update IP address column')
->groups(['api', 'database', 'schema'])
->label('scope', 'tables.write')
->label('scope', ['tables.write', 'collections.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('event', 'databases.[databaseId].tables.[tableId].columns.[columnId].update')
->label('audits.event', 'column.update')

View file

@ -32,7 +32,7 @@ class Create extends IntegerCreate
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/columns/integer')
->desc('Create integer column')
->groups(['api', 'database', 'schema'])
->label('scope', 'tables.write')
->label('scope', ['tables.write', 'collections.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('event', 'databases.[databaseId].tables.[tableId].columns.[columnId].create')
->label('audits.event', 'column.create')

View file

@ -34,7 +34,7 @@ class Update extends IntegerUpdate
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/columns/integer/:key')
->desc('Update integer column')
->groups(['api', 'database', 'schema'])
->label('scope', 'tables.write')
->label('scope', ['tables.write', 'collections.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('event', 'databases.[databaseId].tables.[tableId].columns.[columnId].update')
->label('audits.event', 'column.update')

View file

@ -33,7 +33,7 @@ class Create extends RelationshipCreate
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/columns/relationship')
->desc('Create relationship column')
->groups(['api', 'database'])
->label('scope', 'tables.write')
->label('scope', ['tables.write', 'collections.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('event', 'databases.[databaseId].tables.[tableId].columns.[columnId].create')
->label('audits.event', 'column.create')

View file

@ -33,7 +33,7 @@ class Update extends RelationshipUpdate
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/columns/:key/relationship')
->desc('Update relationship column')
->groups(['api', 'database', 'schema'])
->label('scope', 'tables.write')
->label('scope', ['tables.write', 'collections.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('event', 'databases.[databaseId].tables.[tableId].columns.[columnId].update')
->label('audits.event', 'column.update')

View file

@ -34,7 +34,7 @@ class Create extends StringCreate
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/columns/string')
->desc('Create string column')
->groups(['api', 'database', 'schema'])
->label('scope', 'tables.write')
->label('scope', ['tables.write', 'collections.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('event', 'databases.[databaseId].tables.[tableId].columns.[columnId].create')
->label('audits.event', 'column.create')

View file

@ -36,7 +36,7 @@ class Update extends StringUpdate
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/columns/string/:key')
->desc('Update string column')
->groups(['api', 'database', 'schema'])
->label('scope', 'tables.write')
->label('scope', ['tables.write', 'collections.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('event', 'databases.[databaseId].tables.[tableId].columns.[columnId].update')
->label('audits.event', 'column.update')

View file

@ -32,7 +32,7 @@ class Create extends URLCreate
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/columns/url')
->desc('Create URL column')
->groups(['api', 'database', 'schema'])
->label('scope', 'tables.write')
->label('scope', ['tables.write', 'collections.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('event', 'databases.[databaseId].tables.[tableId].columns.[columnId].create')
->label('audits.event', 'column.create')

View file

@ -34,7 +34,7 @@ class Update extends URLUpdate
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/columns/url/:key')
->desc('Update URL column')
->groups(['api', 'database', 'schema'])
->label('scope', 'tables.write')
->label('scope', ['tables.write', 'collections.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('event', 'databases.[databaseId].tables.[tableId].columns.[columnId].update')
->label('audits.event', 'column.update')

View file

@ -30,7 +30,7 @@ class XList extends AttributesXList
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/columns')
->desc('List columns')
->groups(['api', 'database'])
->label('scope', 'tables.read')
->label('scope', ['tables.read', 'collections.read'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('sdk', new Method(
namespace: $this->getSdkNamespace(),

View file

@ -35,7 +35,7 @@ class Create extends CollectionCreate
->desc('Create table')
->groups(['api', 'database'])
->label('event', 'databases.[databaseId].tables.[tableId].create')
->label('scope', 'tables.write')
->label('scope', ['tables.write', 'collections.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('audits.event', 'table.create')
->label('audits.resource', 'database/{request.databaseId}/table/{response.$id}')

View file

@ -30,7 +30,7 @@ class Delete extends CollectionDelete
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId')
->desc('Delete table')
->groups(['api', 'database', 'schema'])
->label('scope', 'tables.write')
->label('scope', ['tables.write', 'collections.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('event', 'databases.[databaseId].tables.[tableId].delete')
->label('audits.event', 'table.delete')

View file

@ -30,7 +30,7 @@ class Get extends CollectionGet
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId')
->desc('Get table')
->groups(['api', 'database'])
->label('scope', 'tables.read')
->label('scope', ['tables.read', 'collections.read'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('sdk', new Method(
namespace: $this->getSdkNamespace(),

View file

@ -37,7 +37,7 @@ class Create extends IndexCreate
->desc('Create index')
->groups(['api', 'database'])
->label('event', 'databases.[databaseId].tables.[tableId].indexes.[indexId].create')
->label('scope', 'tables.write')
->label('scope', ['tables.write', 'collections.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('audits.event', 'index.create')
->label('audits.resource', 'database/{request.databaseId}/table/{request.tableId}')

View file

@ -35,7 +35,7 @@ class Delete extends IndexDelete
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/indexes/:key')
->desc('Delete index')
->groups(['api', 'database'])
->label('scope', 'tables.write')
->label('scope', ['tables.write', 'collections.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('event', 'databases.[databaseId].tables.[tableId].indexes.[indexId].update')
->label('audits.event', 'index.delete')

View file

@ -31,7 +31,7 @@ class Get extends IndexGet
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/indexes/:key')
->desc('Get index')
->groups(['api', 'database'])
->label('scope', 'tables.read')
->label('scope', ['tables.read', 'collections.read'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('sdk', new Method(
namespace: $this->getSdkNamespace(),

View file

@ -31,7 +31,7 @@ class XList extends IndexXList
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/indexes')
->desc('List indexes')
->groups(['api', 'database'])
->label('scope', 'tables.read')
->label('scope', ['tables.read', 'collections.read'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('sdk', new Method(
namespace: $this->getSdkNamespace(),

View file

@ -27,7 +27,7 @@ class XList extends CollectionLogXList
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/logs')
->desc('List table logs')
->groups(['api', 'database'])
->label('scope', 'tables.read')
->label('scope', ['tables.read', 'collections.read'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('sdk', new Method(
namespace: $this->getSdkNamespace(),

View file

@ -32,7 +32,7 @@ class Delete extends DocumentsDelete
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/rows')
->desc('Delete rows')
->groups(['api', 'database'])
->label('scope', 'rows.write')
->label('scope', ['rows.write', 'documents.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('audits.event', 'rows.delete')
->label('audits.resource', 'database/{request.databaseId}/table/{request.tableId}')

View file

@ -33,7 +33,7 @@ class Update extends DocumentsUpdate
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/rows')
->desc('Update rows')
->groups(['api', 'database'])
->label('scope', 'rows.write')
->label('scope', ['rows.write', 'documents.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('audits.event', 'rows.update')
->label('audits.resource', 'database/{request.databaseId}/table/{request.tableId}')

View file

@ -32,7 +32,7 @@ class Upsert extends DocumentsUpsert
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/rows')
->desc('Create or update rows')
->groups(['api', 'database'])
->label('scope', 'rows.write')
->label('scope', ['rows.write', 'documents.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('audits.event', 'row.create')
->label('audits.resource', 'database/{request.databaseId}/table/{request.tableId}')

View file

@ -33,7 +33,7 @@ class Decrement extends DecrementDocumentAttribute
->desc('Decrement row column')
->groups(['api', 'database'])
->label('event', 'databases.[databaseId].tables.[tableId].rows.[rowId].update')
->label('scope', 'rows.write')
->label('scope', ['rows.write', 'documents.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('audits.event', 'rows.update')
->label('audits.resource', 'database/{request.databaseId}/table/{request.tableId}')

View file

@ -33,7 +33,7 @@ class Increment extends IncrementDocumentAttribute
->desc('Increment row column')
->groups(['api', 'database'])
->label('event', 'databases.[databaseId].tables.[tableId].rows.[rowId].update')
->label('scope', 'rows.write')
->label('scope', ['rows.write', 'documents.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('audits.event', 'rows.update')
->label('audits.resource', 'database/{request.databaseId}/table/{request.tableId}')

View file

@ -41,7 +41,7 @@ class Create extends DocumentCreate
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/rows')
->desc('Create row')
->groups(['api', 'database'])
->label('scope', 'rows.write')
->label('scope', ['rows.write', 'documents.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('audits.event', 'row.create')
->label('audits.resource', 'database/{request.databaseId}/table/{request.tableId}')

View file

@ -36,7 +36,7 @@ class Delete extends DocumentDelete
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/rows/:rowId')
->desc('Delete row')
->groups(['api', 'database'])
->label('scope', 'rows.write')
->label('scope', ['rows.write', 'documents.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('event', 'databases.[databaseId].tables.[tableId].rows.[rowId].delete')
->label('audits.event', 'row.delete')

View file

@ -32,7 +32,7 @@ class Get extends DocumentGet
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/rows/:rowId')
->desc('Get row')
->groups(['api', 'database'])
->label('scope', 'rows.read')
->label('scope', ['rows.read', 'documents.read'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('sdk', new Method(
namespace: $this->getSdkNamespace(),

View file

@ -27,7 +27,7 @@ class XList extends DocumentLogXList
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/rows/:rowId/logs')
->desc('List row logs')
->groups(['api', 'database'])
->label('scope', 'rows.read')
->label('scope', ['rows.read', 'documents.read'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('sdk', new Method(
namespace: $this->getSdkNamespace(),

View file

@ -34,7 +34,7 @@ class Update extends DocumentUpdate
->desc('Update row')
->groups(['api', 'database'])
->label('event', 'databases.[databaseId].tables.[tableId].rows.[rowId].update')
->label('scope', 'rows.write')
->label('scope', ['rows.write', 'documents.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('audits.event', 'row.update')
->label('audits.resource', 'database/{request.databaseId}/table/{request.tableId}/row/{response.$id}')

View file

@ -34,7 +34,7 @@ class Upsert extends DocumentUpsert
->desc('Create or update a row')
->groups(['api', 'database'])
->label('event', 'databases.[databaseId].tables.[tableId].rows.[rowId].upsert')
->label('scope', 'rows.write')
->label('scope', ['rows.write', 'documents.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('audits.event', 'row.upsert')
->label('audits.resource', 'database/{request.databaseId}/table/{request.tableId}/row/{response.$id}')

View file

@ -32,7 +32,7 @@ class XList extends DocumentXList
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/rows')
->desc('List rows')
->groups(['api', 'database'])
->label('scope', 'rows.read')
->label('scope', ['rows.read', 'documents.read'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('sdk', new Method(
namespace: $this->getSdkNamespace(),

View file

@ -33,7 +33,7 @@ class Update extends CollectionUpdate
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId')
->desc('Update table')
->groups(['api', 'database', 'schema'])
->label('scope', 'tables.write')
->label('scope', ['tables.write', 'collections.write'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('event', 'databases.[databaseId].tables.[tableId].update')
->label('audits.event', 'table.update')

View file

@ -31,7 +31,7 @@ class Get extends CollectionUsageGet
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/usage')
->desc('Get table usage stats')
->groups(['api', 'database', 'usage'])
->label('scope', 'tables.read')
->label('scope', ['tables.read', 'collections.read'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('sdk', new Method(
namespace: $this->getSdkNamespace(),

View file

@ -32,7 +32,7 @@ class XList extends CollectionXList
->setHttpPath('/v1/tablesdb/:databaseId/tables')
->desc('List tables')
->groups(['api', 'database'])
->label('scope', 'tables.read')
->label('scope', ['tables.read', 'collections.read'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('sdk', new Method(
namespace: $this->getSdkNamespace(),

View file

@ -26,7 +26,7 @@ class Get extends DatabaseUsageGet
->setHttpPath('/v1/tablesdb/:databaseId/usage')
->desc('Get TablesDB usage stats')
->groups(['api', 'database', 'usage'])
->label('scope', 'tables.read')
->label('scope', ['tables.read', 'collections.read'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('sdk', [
new Method(

View file

@ -25,7 +25,7 @@ class XList extends DatabaseUsageXList
->setHttpPath('/v1/tablesdb/usage')
->desc('Get TablesDB usage stats')
->groups(['api', 'database', 'usage'])
->label('scope', 'tables.read')
->label('scope', ['tables.read', 'collections.read'])
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('sdk', [
new Method(

View file

@ -71,6 +71,24 @@ class Create extends Action
public function action(string $domain, Response $response, Document $project, Certificate $queueForCertificates, Event $queueForEvents, Database $dbForPlatform)
{
$sitesDomain = System::getEnv('_APP_DOMAIN_SITES', '');
$functionsDomain = System::getEnv('_APP_DOMAIN_FUNCTIONS', '');
$restrictions = [];
if (!empty($sitesDomain)) {
$domainLevel = \count(\explode('.', $sitesDomain));
$restrictions[] = ValidatorDomain::createRestriction($sitesDomain, $domainLevel + 1, ['commit-', 'branch-']);
}
if (!empty($functionsDomain)) {
$domainLevel = \count(\explode('.', $functionsDomain));
$restrictions[] = ValidatorDomain::createRestriction($functionsDomain, $domainLevel + 1);
}
$validator = new ValidatorDomain($restrictions);
if (!$validator->isValid($domain)) {
throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please use a different domain.');
}
$deniedDomains = [
'localhost',
APP_HOSTNAME_INTERNAL
@ -79,12 +97,10 @@ class Create extends Action
$mainDomain = System::getEnv('_APP_DOMAIN', '');
$deniedDomains[] = $mainDomain;
$sitesDomain = System::getEnv('_APP_DOMAIN_SITES', '');
if (!empty($sitesDomain)) {
$deniedDomains[] = $sitesDomain;
}
$functionsDomain = System::getEnv('_APP_DOMAIN_FUNCTIONS', '');
if (!empty($functionsDomain)) {
$deniedDomains[] = $functionsDomain;
}
@ -102,10 +118,6 @@ class Create extends Action
throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please use a different domain.');
}
if (\str_starts_with($domain, 'commit-') || \str_starts_with($domain, 'branch-')) {
throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please use a different domain.');
}
try {
$domain = new Domain($domain);
} catch (\Throwable) {

View file

@ -76,6 +76,24 @@ class Create extends Action
public function action(string $domain, string $functionId, string $branch, Response $response, Document $project, Certificate $queueForCertificates, Event $queueForEvents, Database $dbForPlatform, Database $dbForProject)
{
$sitesDomain = System::getEnv('_APP_DOMAIN_SITES', '');
$functionsDomain = System::getEnv('_APP_DOMAIN_FUNCTIONS', '');
$restrictions = [];
if (!empty($sitesDomain)) {
$domainLevel = \count(\explode('.', $sitesDomain));
$restrictions[] = ValidatorDomain::createRestriction($sitesDomain, $domainLevel + 1, ['commit-', 'branch-']);
}
if (!empty($functionsDomain)) {
$domainLevel = \count(\explode('.', $functionsDomain));
$restrictions[] = ValidatorDomain::createRestriction($functionsDomain, $domainLevel + 1);
}
$validator = new ValidatorDomain($restrictions);
if (!$validator->isValid($domain)) {
throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please use a different domain.');
}
$deniedDomains = [
'localhost',
APP_HOSTNAME_INTERNAL
@ -84,12 +102,10 @@ class Create extends Action
$mainDomain = System::getEnv('_APP_DOMAIN', '');
$deniedDomains[] = $mainDomain;
$sitesDomain = System::getEnv('_APP_DOMAIN_SITES', '');
if (!empty($sitesDomain)) {
$deniedDomains[] = $sitesDomain;
}
$functionsDomain = System::getEnv('_APP_DOMAIN_FUNCTIONS', '');
if (!empty($functionsDomain)) {
$deniedDomains[] = $functionsDomain;
}
@ -107,10 +123,6 @@ class Create extends Action
throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please use a different domain.');
}
if (\str_starts_with($domain, 'commit-') || \str_starts_with($domain, 'branch-')) {
throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please use a different domain.');
}
try {
$domain = new Domain($domain);
} catch (\Throwable) {

View file

@ -79,6 +79,24 @@ class Create extends Action
public function action(string $domain, string $url, int $statusCode, string $resourceId, string $resourceType, Response $response, Document $project, Certificate $queueForCertificates, Event $queueForEvents, Database $dbForPlatform, Database $dbForProject)
{
$sitesDomain = System::getEnv('_APP_DOMAIN_SITES', '');
$functionsDomain = System::getEnv('_APP_DOMAIN_FUNCTIONS', '');
$restrictions = [];
if (!empty($sitesDomain)) {
$domainLevel = \count(\explode('.', $sitesDomain));
$restrictions[] = ValidatorDomain::createRestriction($sitesDomain, $domainLevel + 1, ['commit-', 'branch-']);
}
if (!empty($functionsDomain)) {
$domainLevel = \count(\explode('.', $functionsDomain));
$restrictions[] = ValidatorDomain::createRestriction($functionsDomain, $domainLevel + 1);
}
$validator = new ValidatorDomain($restrictions);
if (!$validator->isValid($domain)) {
throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please use a different domain.');
}
$deniedDomains = [
'localhost',
APP_HOSTNAME_INTERNAL
@ -87,12 +105,10 @@ class Create extends Action
$mainDomain = System::getEnv('_APP_DOMAIN', '');
$deniedDomains[] = $mainDomain;
$sitesDomain = System::getEnv('_APP_DOMAIN_SITES', '');
if (!empty($sitesDomain)) {
$deniedDomains[] = $sitesDomain;
}
$functionsDomain = System::getEnv('_APP_DOMAIN_FUNCTIONS', '');
if (!empty($functionsDomain)) {
$deniedDomains[] = $functionsDomain;
}
@ -110,10 +126,6 @@ class Create extends Action
throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please use a different domain.');
}
if (\str_starts_with($domain, 'commit-') || \str_starts_with($domain, 'branch-')) {
throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please use a different domain.');
}
try {
$domain = new Domain($domain);
} catch (\Throwable) {

View file

@ -76,6 +76,24 @@ class Create extends Action
public function action(string $domain, string $siteId, string $branch, Response $response, Document $project, Certificate $queueForCertificates, Event $queueForEvents, Database $dbForPlatform, Database $dbForProject)
{
$sitesDomain = System::getEnv('_APP_DOMAIN_SITES', '');
$functionsDomain = System::getEnv('_APP_DOMAIN_FUNCTIONS', '');
$restrictions = [];
if (!empty($sitesDomain)) {
$domainLevel = \count(\explode('.', $sitesDomain));
$restrictions[] = ValidatorDomain::createRestriction($sitesDomain, $domainLevel + 1, ['commit-', 'branch-']);
}
if (!empty($functionsDomain)) {
$domainLevel = \count(\explode('.', $functionsDomain));
$restrictions[] = ValidatorDomain::createRestriction($functionsDomain, $domainLevel + 1);
}
$validator = new ValidatorDomain($restrictions);
if (!$validator->isValid($domain)) {
throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please use a different domain.');
}
$deniedDomains = [
'localhost',
APP_HOSTNAME_INTERNAL
@ -84,12 +102,10 @@ class Create extends Action
$mainDomain = System::getEnv('_APP_DOMAIN', '');
$deniedDomains[] = $mainDomain;
$sitesDomain = System::getEnv('_APP_DOMAIN_SITES', '');
if (!empty($sitesDomain)) {
$deniedDomains[] = $sitesDomain;
}
$functionsDomain = System::getEnv('_APP_DOMAIN_FUNCTIONS', '');
if (!empty($functionsDomain)) {
$deniedDomains[] = $functionsDomain;
}
@ -107,10 +123,6 @@ class Create extends Action
throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please use a different domain.');
}
if (\str_starts_with($domain, 'commit-') || \str_starts_with($domain, 'branch-')) {
throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please use a different domain.');
}
try {
$domain = new Domain($domain);
} catch (\Throwable) {

View file

@ -24,7 +24,7 @@ class Method
* @param array<SDKResponse> $responses
* @param ContentType $contentType
* @param MethodType|null $type
* @param bool|Deprecated $deprecated
* @param Deprecated|null $deprecated
* @param array|bool $hide
* @param bool $packaging
* @param ContentType $requestType
@ -41,7 +41,7 @@ class Method
protected array $responses,
protected ContentType $contentType = ContentType::JSON,
protected ?MethodType $type = null,
protected bool|Deprecated $deprecated = false,
protected ?Deprecated $deprecated = null,
protected array|bool $hide = false,
protected bool $packaging = false,
protected ContentType $requestType = ContentType::JSON,
@ -185,10 +185,10 @@ class Method
public function isDeprecated(): bool
{
return $this->deprecated !== false;
return $this->deprecated !== null;
}
public function getDeprecated(): bool|Deprecated
public function getDeprecated(): ?Deprecated
{
return $this->deprecated;
}

View file

@ -3,7 +3,6 @@
namespace Appwrite\SDK\Specification\Format;
use Appwrite\SDK\AuthType;
use Appwrite\SDK\Deprecated;
use Appwrite\SDK\Method;
use Appwrite\SDK\MethodType;
use Appwrite\SDK\Response;
@ -167,7 +166,7 @@ class OpenAPI3 extends Format
],
];
if ($sdk->getDeprecated() instanceof Deprecated) {
if ($sdk->getDeprecated()) {
$temp['x-appwrite']['deprecated'] = [
'since' => $sdk->getDeprecated()->getSince(),
'replaceWith' => $sdk->getDeprecated()->getReplaceWith(),
@ -226,7 +225,7 @@ class OpenAPI3 extends Format
];
// add deprecation only if method has it!
if ($methodObj->getDeprecated() instanceof Deprecated) {
if ($methodObj->getDeprecated()) {
$additionalMethod['deprecated'] = [
'since' => $methodObj->getDeprecated()->getSince(),
'replaceWith' => $methodObj->getDeprecated()->getReplaceWith(),

View file

@ -3,7 +3,6 @@
namespace Appwrite\SDK\Specification\Format;
use Appwrite\SDK\AuthType;
use Appwrite\SDK\Deprecated;
use Appwrite\SDK\Method;
use Appwrite\SDK\MethodType;
use Appwrite\SDK\Response;
@ -171,7 +170,7 @@ class Swagger2 extends Format
],
];
if ($sdk->getDeprecated() instanceof Deprecated) {
if ($sdk->getDeprecated()) {
$temp['x-appwrite']['deprecated'] = [
'since' => $sdk->getDeprecated()->getSince(),
'replaceWith' => $sdk->getDeprecated()->getReplaceWith(),
@ -235,7 +234,7 @@ class Swagger2 extends Format
];
// add deprecation only if method has it!
if ($methodObj->getDeprecated() instanceof Deprecated) {
if ($methodObj->getDeprecated()) {
$additionalMethod['deprecated'] = [
'since' => $methodObj->getDeprecated()->getSince(),
'replaceWith' => $methodObj->getDeprecated()->getReplaceWith(),
@ -350,11 +349,10 @@ class Swagger2 extends Format
}
}
if (!empty($scope)) { // && 'public' != $scope
if (!empty($scope)) {
$securities = ['Project' => []];
foreach ($sdk->getAuth() as $security) {
/** @var AuthType $security */
if (\array_key_exists($security->value, $this->keys)) {
$securities[$security->value] = [];
}

View file

@ -33,7 +33,7 @@ class V20 extends Filter
protected function manageSelectQueries(array $content): array
{
$hasWildcard = false;
if (! isset($content['queries'])) {
if (!isset($content['queries'])) {
$hasWildcard = true;
// only query, make it json encoded!
$content['queries'] = [Query::select(['*'])->toString()];
@ -48,7 +48,11 @@ class V20 extends Filter
$selections = Query::groupByType($parsed)['selections'] ?? [];
if (! $hasWildcard) {
// If there are no select queries at all, add wildcard
if (empty($selections)) {
$hasWildcard = true;
$parsed[] = Query::select(['*']);
} elseif (!$hasWildcard) {
// check if any select includes a wildcard as we added one above
foreach ($selections as $select) {
if (\in_array('*', $select->getValues(), true)) {
@ -92,36 +96,74 @@ class V20 extends Filter
/**
* Returns all relationship attribute keys in `key.*` format for use with `Query::select`.
*/
private function getRelatedCollectionKeys(): array
{
$dbForProject = $this->getDbForProject();
private function getRelatedCollectionKeys(
?string $databaseId = null,
?string $collectionId = null,
?string $prefix = null,
int $depth = 1,
): array {
$databaseId ??= $this->getParamValue('databaseId');
$collectionId ??= $this->getParamValue('collectionId');
if (
empty($databaseId) ||
empty($collectionId) ||
$depth > Database::RELATION_MAX_DEPTH
) {
return [];
}
$dbForProject = $this->getDbForProject();
if ($dbForProject === null) {
return [];
}
$databaseId = $this->getParamValue('databaseId');
$collectionId = $this->getParamValue('collectionId');
if (empty($databaseId) || empty($collectionId)) {
$database = Authorization::skip(fn () => $dbForProject->getDocument('databases', $databaseId));
if ($database->isEmpty()) {
return [];
}
$database = Authorization::skip(fn () => $dbForProject->getDocument('databases', $databaseId));
$collection = $dbForProject->getDocument(
$collection = Authorization::skip(fn () => $dbForProject->getDocument(
'database_' . $database->getSequence(),
$collectionId
);
));
if ($collection->isEmpty()) {
return [];
}
$attributes = $collection->getAttribute('attributes', []);
$relationshipKeys = [];
return \array_values(\array_map(
fn ($attr) => $attr['key'] . '.*',
\array_filter(
$attributes,
fn ($attr) => ($attr['type'] ?? null) === Database::VAR_RELATIONSHIP
)
));
foreach ($attributes as $attr) {
if (
($attr['type'] ?? null) !== Database::VAR_RELATIONSHIP ||
$attr['status'] !== 'available'
) {
continue;
}
$key = $attr['key'];
$fullKey = $prefix ? $prefix . '.' . $key : $key;
// Add the wildcard select for this relationship
$relationshipKeys[] = $fullKey . '.*';
// Get the related collection for nested relationships
$relatedCollectionId = $attr['relatedCollection'] ?? null;
if ($relatedCollectionId) {
// Recursively get nested relationship keys
$nestedKeys = $this->getRelatedCollectionKeys(
$databaseId,
$relatedCollectionId,
$fullKey,
$depth + 1,
);
$relationshipKeys = \array_merge($relationshipKeys, $nestedKeys);
}
}
return \array_values(\array_unique($relationshipKeys));
}
}

View file

@ -12,18 +12,15 @@ class V20 extends Filter
{
$parsedResponse = $content;
$parsedResponse = match($model) {
return match($model) {
Response::MODEL_DOCUMENT => $this->parseDocument($content),
Response::MODEL_DOCUMENT_LIST => $this->handleList($content, 'documents', fn ($item) => $this->parseDocument($item)),
default => $parsedResponse,
};
return $parsedResponse;
}
protected function parseDocument(array $content): array
{
unset($content['$sequence']);
return $content;
}
}

View file

@ -79,6 +79,7 @@ class Row extends Any
{
$document->removeAttribute('$collection');
$document->removeAttribute('$tenant');
$document->setAttribute('$sequence', (int)$document->getAttribute('$sequence', 0));
foreach ($document->getAttributes() as $column) {
if (\is_array($column)) {

View file

@ -1290,7 +1290,7 @@ class UsageTest extends Scope
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()),
[
'domain' => 'test-' . ID::unique() . System::getEnv('_APP_DOMAIN_FUNCTIONS'),
'domain' => 'test-' . ID::unique() . '.' . System::getEnv('_APP_DOMAIN_FUNCTIONS'),
'functionId' => $functionId,
],
);

View file

@ -1625,6 +1625,8 @@ trait DatabasesBase
$this->assertEquals($row1['body']['actors'][0], 'Chris Evans');
$this->assertEquals($row1['body']['actors'][1], 'Samuel Jackson');
$this->assertEquals($row1['body']['birthDay'], '1975-06-12T12:12:55.000+00:00');
$this->assertTrue(array_key_exists('$sequence', $row1['body']));
$this->assertIsInt($row1['body']['$sequence']);
$this->assertEquals(201, $row2['headers']['status-code']);
$this->assertEquals($data['moviesId'], $row2['body']['$tableId']);

View file

@ -33,7 +33,7 @@ class ScopeTest extends Scope
'x-appwrite-key' => $apiKey,
], $gqlPayload);
$message = "app.{$projectId}@service.localhost (role: applications) missing scope (databases.write)";
$message = "app.{$projectId}@service.localhost (role: applications) missing scopes ([\"databases.write\"])";
$this->assertArrayHasKey('errors', $database['body']);
$this->assertEquals($message, $database['body']['errors'][0]['message']);
}

View file

@ -70,12 +70,29 @@ class ProxyCustomServerTest extends Scope
$this->assertNotEmpty($siteId);
$this->assertNotEmpty($deploymentId);
$rule = $this->createSiteRule('commit-' . $domain, $siteId);
$this->assertEquals(201, $rule['headers']['status-code']);
$this->cleanupRule($rule['body']['$id']);
$rule = $this->createSiteRule('branch-' . $domain, $siteId);
$this->assertEquals(201, $rule['headers']['status-code']);
$this->cleanupRule($rule['body']['$id']);
$rule = $this->createSiteRule('anything-' . $domain, $siteId);
$this->assertEquals(201, $rule['headers']['status-code']);
$this->cleanupRule($rule['body']['$id']);
$domain = \uniqid() . '-vcs.' . System::getEnv('_APP_DOMAIN_SITES', '');
$rule = $this->createSiteRule('commit-' . $domain, $siteId);
$this->assertEquals(400, $rule['headers']['status-code']);
$rule = $this->createSiteRule('branch-' . $domain, $siteId);
$this->assertEquals(400, $rule['headers']['status-code']);
$rule = $this->createSiteRule('subdomain.anything-' . $domain, $siteId);
$this->assertEquals(400, $rule['headers']['status-code']);
$rule = $this->createSiteRule('anything-' . $domain, $siteId);
$this->assertEquals(201, $rule['headers']['status-code']);
$this->cleanupRule($rule['body']['$id']);