mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Add descriptions
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
-1
Submodule app/console updated: c72ba12e47...0a007a3b1b
@@ -145,7 +145,7 @@ App::post('/v1/messaging/providers/sendgrid')
|
||||
->label('sdk.auth', [APP_AUTH_TYPE_ADMIN, APP_AUTH_TYPE_KEY])
|
||||
->label('sdk.namespace', 'messaging')
|
||||
->label('sdk.method', 'createSendgridProvider')
|
||||
->label('sdk.description', '/docs/references/messaging/create-sengrid-provider.md')
|
||||
->label('sdk.description', '/docs/references/messaging/create-sendgrid-provider.md')
|
||||
->label('sdk.response.code', Response::STATUS_CODE_CREATED)
|
||||
->label('sdk.response.type', Response::CONTENT_TYPE_JSON)
|
||||
->label('sdk.response.model', Response::MODEL_PROVIDER)
|
||||
|
||||
@@ -1038,7 +1038,7 @@ App::delete('/v1/migrations/:migrationId')
|
||||
->label('sdk.auth', [APP_AUTH_TYPE_ADMIN])
|
||||
->label('sdk.namespace', 'migrations')
|
||||
->label('sdk.method', 'delete')
|
||||
->label('sdk.description', '/docs/references/functions/delete-migration.md')
|
||||
->label('sdk.description', '/docs/references/migrations/delete-migration.md')
|
||||
->label('sdk.response.code', Response::STATUS_CODE_NOCONTENT)
|
||||
->label('sdk.response.model', Response::MODEL_NONE)
|
||||
->param('migrationId', '', new UID(), 'Migration ID.')
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Add an authenticator app to be used as an MFA factor. Verify the authenticator using the [verify authenticator](/docs/references/cloud/client-web/account#verifyAuthenticator) method.
|
||||
@@ -0,0 +1 @@
|
||||
Initialize an MFA challenge of the specified factor. The factor must be available on the account.
|
||||
@@ -0,0 +1 @@
|
||||
Delete an authenticator for a user by ID.
|
||||
@@ -0,0 +1 @@
|
||||
List the factors available on the account to be used as a MFA challange.
|
||||
@@ -0,0 +1 @@
|
||||
Complete the MFA challenge by providing the one-time password.
|
||||
@@ -0,0 +1 @@
|
||||
Enable or disable MFA on an account.
|
||||
@@ -0,0 +1 @@
|
||||
Verify an authenticator app after adding it using the [add authenticator](/docs/references/cloud/client-web/account#addAuthenticator) method.
|
||||
@@ -0,0 +1 @@
|
||||
Create an enumeration attribute. The `elements` param acts as a white-list of accepted values for this attribute.
|
||||
@@ -0,0 +1 @@
|
||||
Create a date time attribute according to the ISO 8601 standard.
|
||||
@@ -0,0 +1,2 @@
|
||||
Creates an index on the attributes listed. Your index should include all the attributes you will query in a single request.
|
||||
Attributes can be `key`, `fulltext`, and `unique`.
|
||||
@@ -0,0 +1 @@
|
||||
Deletes an attribute.
|
||||
@@ -0,0 +1 @@
|
||||
Delete an index.
|
||||
@@ -0,0 +1 @@
|
||||
Get attribute by ID.
|
||||
@@ -0,0 +1 @@
|
||||
Get index by ID.
|
||||
@@ -0,0 +1 @@
|
||||
List attributes in the collection.
|
||||
@@ -0,0 +1 @@
|
||||
List indexes in the collection.
|
||||
@@ -0,0 +1 @@
|
||||
Update a boolean attribute. Changing the `default` value will not update already existing documents.
|
||||
@@ -0,0 +1 @@
|
||||
Update a date time attribute. Changing the `default` value will not update already existing documents.
|
||||
@@ -0,0 +1 @@
|
||||
Get the number of function executions that are waiting to be processed in the Appwrite internal queue server.
|
||||
@@ -0,0 +1 @@
|
||||
Delete a message. If the message is not a draft or scheduled, but has been sent, this will not recall the message.
|
||||
@@ -0,0 +1 @@
|
||||
Create a messaging target.
|
||||
@@ -0,0 +1 @@
|
||||
Delete an authenticator app.
|
||||
@@ -0,0 +1 @@
|
||||
Delete a messaging target.
|
||||
@@ -0,0 +1 @@
|
||||
Get a user's push notification target by ID.
|
||||
@@ -0,0 +1 @@
|
||||
List the factors available on the account to be used as a MFA challange.
|
||||
@@ -0,0 +1 @@
|
||||
List the messaging targets that are associated with a user.
|
||||
@@ -0,0 +1 @@
|
||||
Update a messaging target.
|
||||
@@ -0,0 +1 @@
|
||||
Enable or disable MFA on a user account.
|
||||
Generated
+10
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"name": "@appwrite.io/repo",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@appwrite.io/repo"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -122,6 +122,10 @@ class Swagger2 extends Format
|
||||
|
||||
$method = $route->getLabel('sdk.method', \uniqid());
|
||||
$desc = (!empty($route->getLabel('sdk.description', ''))) ? \realpath(__DIR__ . '/../../../../' . $route->getLabel('sdk.description', '')) : null;
|
||||
if ($desc == null){
|
||||
echo $route->getLabel('sdk.description', '');
|
||||
echo '';
|
||||
}
|
||||
$produces = $route->getLabel('sdk.response.type', null);
|
||||
$model = $route->getLabel('sdk.response.model', 'none');
|
||||
$routeSecurity = $route->getLabel('sdk.auth', []);
|
||||
|
||||
Reference in New Issue
Block a user