You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 29, 2023. It is now read-only.
<p>To get a list of all your collections, you can use the `listCollections` command. To successfully view the list, make sure your API key is granted with the scope "collections.read".</p>
<p>To get more information on a particular collection, you can make use of the `getCollection` command and pass in the `collectionId`. To successfully fetch the collection, make sure your API key is granted with the scope "collections.read".</p>
Copy file name to clipboardExpand all lines: app/views/docs/functions.phtml
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -688,7 +688,7 @@ class MainActivity : AppCompatActivity() {
688
688
689
689
<p>Appwrite provides multiple code runtimes to execute your custom functions. Each runtime uses a Docker image tied to a specific language version to provide a safe, isolated playground to run your team's code.</p>
690
690
691
-
<p>Below is a list of supported Cloud Functions runtimes. The Appwrite team continually adds support for new runtimes. You can easily change which runtimes your Appwrite setup supports by editing your server <a href="/docs/environment-variables#functions">environment variables</a>.</p>
691
+
<p>Below is a list of supported Cloud Functions runtimes. The Appwrite team continually adds support for new runtimes.</p>
@@ -711,6 +711,8 @@ class MainActivity : AppCompatActivity() {
711
711
</tbody>
712
712
</table>
713
713
714
+
<p>By default, the following runtimes are enabled: "node-16.0, php-8.0, python-3.9, ruby-3.0". To enable or disable runtimes, you can edit the <span class="tag">_APP_FUNCTIONS_RUNTIMES</span> <a href="/docs/functions#environmentVariables">environment variable</a>.</p>
<p>Environment variables supplied by Appwrite in addition to your own defined environment variables that you can access from your function code. These variables give you information about your execution runtime environment.</p>
@@ -747,6 +749,12 @@ class MainActivity : AppCompatActivity() {
747
749
</td>
748
750
<td>Either 'event' when triggered by one of the selected scopes, 'http' when triggered by an HTTP request or the Appwrite Console, or 'schedule' when triggered by the cron schedule.</td>
749
751
</tr>
752
+
<tr>
753
+
<td>
754
+
_APP_FUNCTIONS_RUNTIMES
755
+
</td>
756
+
<td>Enables function runtimes. Pass a list of runtime names separated by a comma, for example "node-16.0,php-8.0,python-3.9,ruby-3.0".</td>
Copy file name to clipboardExpand all lines: app/views/docs/realtime.phtml
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
<?php
2
2
$channels = [
3
3
'account' => 'All account related events (session create, name update...)',
4
-
'collections.[ID].documents' => 'Any create/update/delete events to any document in a collection',
4
+
'databases.[ID].collections.[ID].documents' => 'Any create/update/delete events to any document in a collection',
5
5
'documents' => 'Any create/update/delete events to any document',
6
-
'collections.[ID].documents.[ID]' => 'Any update/delete events to a given document',
6
+
'databases.[ID].collections.[ID].documents.[ID]' => 'Any update/delete events to a given document',
7
7
'files' => 'Any create/update/delete events to any file',
8
8
'buckets.[ID].files.[ID]' => 'Any update/delete events to a given file of the given bucket',
9
9
'buckets.[ID].files' => 'Any update/delete events to any file of the given bucket',
@@ -190,7 +190,7 @@ realtime.subscribe(channel: "account", callback: { param in
190
190
<h3><a href="/docs/realtime#subscribe-to-multiple-channels" id="subscribe-to-multiple-channels">Subscribe to Multiple Channels</a></h3>
191
191
192
192
<p>You can also listen to multiple <a href="/docs/realtime#channels">channels</a> at once by passing an array of channels. This will trigger the callback for any events for all channels passed.</p>
193
-
<p>In this example we are listening to the document A and all files by subscribing to the <span class="tag">collections.A.documents.A</span> and <span class="tag">files</span> channels.</p>
193
+
<p>In this example we are listening to the document A and all files by subscribing to the <span class="tag">databases.A.collections.A.documents.A</span> and <span class="tag">files</span> channels.</p>
<p>With version 0.13 of Appwrite, we also have introduced storage buckets. Storage buckets are similar to collections we have in our <a href="/docs/database">Database</a> service. The difference is buckets also provide more power to decide what kinds of files, what sizes you want to allow in that bucket, whether or not to encrypt the files, scan with antivirus, and more. Let's look at how we can create a bucket and configure it to your needs.</p>
6
+
<p>With version 0.13 of Appwrite, we also have introduced storage buckets. Storage buckets are similar to collections we have in our <a href="/docs/databases">Databases</a> service. The difference is buckets also provide more power to decide what kinds of files, what sizes you want to allow in that bucket, whether or not to encrypt the files, scan with antivirus, and more. Let's look at how we can create a bucket and configure it to your needs.</p>
0 commit comments