Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/views/docs/functions.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ func main() async throws {

<p>Appwrite Functions can be executed using Client or Server SDKs. Client SDKs must be authenticated with an account that has been granted execution <a href="/docs/permissions">permissions</a> on the function's settings page. Server SDKs require an API key with the correct scopes.</p>

<p>The Functions Service APIs are rate limited to 60 calls per minute per account when using a Client SDK. Learn more about <a href="docs/rate-limits">rate limiting</a>. The response size of a Cloud Function is limited to 1MB. Responses larger than 1MB should be handled using Appwrite's Databases or Storage service.</p>
<p>The Functions Service APIs are rate limited to 60 calls per minute per account when using a Client SDK. Learn more about <a href="/docs/rate-limits">rate limiting</a>. The response size of a Cloud Function is limited to 1MB. Responses larger than 1MB should be handled using Appwrite's Databases or Storage service.</p>

<p>Each execution has a default timeout of 15 seconds to prevent hanging functions from blocking resources. This timeout can be configured per function on a function's settings page or in <code>appwrite.json</code> for up to 900 seconds.</p>

Expand Down Expand Up @@ -781,7 +781,7 @@ func main() async throws {
</tbody>
</table>

<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 <code>_APP_FUNCTIONS_RUNTIMES</code> <a href="docs/environment-variables#functions">environment variable</a>.</p>
<p>By default, the following runtimes are enabled: <code>node-16.0</code>, <code>php-8.0</code>, <code>python-3.9</code>, <code>ruby-3.0</code>. To enable or disable runtimes, you can edit the <code>_APP_FUNCTIONS_RUNTIMES</code> <a href="/docs/environment-variables#functions">environment variable</a>.</p>

<h2><a href="/docs/functions#functionVariables" id="functionVariables">Function Variables</a></h2>

Expand Down
6 changes: 3 additions & 3 deletions app/views/docs/rest.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<tr>
<td><code>X-Appwrite-JWT: [TOKEN]</code></td>
<td><span class="tag">optional</span></td>
<td>Token used for JWT authentication, tokens can be generated using the <a href="docs/client/account#accountCreateJWT">Create JWT</a> endpoint.</b></td>
<td>Token used for JWT authentication, tokens can be generated using the <a href="/docs/client/account#accountCreateJWT">Create JWT</a> endpoint.</b></td>
</tr>
<tr>
<td><code>X-Appwrite-Response-Format: [VERSION-NUMBER]</code></td>
Expand All @@ -54,7 +54,7 @@
</div>

<h2><a href="/docs/rest#client-auth" id="client-auth">Client Authentication</a></h2>
<p>You can create account sessions with POST requests to the <a href="docs/client/account">Account API</a>. Sessions are persisted using secured cookies. You can learn more about session persistence in the <a href="/docs/authentication#persistence">Authentication Guide</a>.</p>
<p>You can create account sessions with POST requests to the <a href="/docs/client/account">Account API</a>. Sessions are persisted using secured cookies. You can learn more about session persistence in the <a href="/docs/authentication#persistence">Authentication Guide</a>.</p>
<p>The example below shows creating an account session with the <a href="/docs/client/account#accountCreateEmailSession">Create Account Session with Email</a> endpoint.</p>
<div class="ide margin-bottom" data-lang="http" data-lang-label="HTTP">
<pre class="line-numbers"><code class="prism language-http" data-prism>POST /v1/account/sessions/email HTTP/1.1
Expand Down Expand Up @@ -93,7 +93,7 @@ X-Appwrite-Key: [API_KEY]</code></pre>
</div>

<h2><a href="/docs/rest#server-auth" id="server-auth">JWT Authentication</a></h2>
<p>JWT authentication is frequently used by server applications to act on behalf of a user. Users generate tokens using the <a href="docs/client/account#accountCreateJWT">Create JWT</a> endpoint. When issuing requests authenticated with a JWT, Appwrite will treat the request like it is from the authenticated user.</p>
<p>JWT authentication is frequently used by server applications to act on behalf of a user. Users generate tokens using the <a href="/docs/client/account#accountCreateJWT">Create JWT</a> endpoint. When issuing requests authenticated with a JWT, Appwrite will treat the request like it is from the authenticated user.</p>

<div class="ide margin-bottom" data-lang="http" data-lang-label="HTTP">
<pre class="line-numbers"><code class="prism language-http" data-prism>GET /v1/account HTTP/1.1
Expand Down
2 changes: 1 addition & 1 deletion app/views/docs/storage.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
</tbody>
</table>

<p>You can learn more about storage buckets and APIs you can use to manage storage buckets from our <a href="docs/server/storage">Storage documentation</a>. Now that we know how to create and configure buckets for our applications, let's look at how to manage files using the storage service.</p>
<p>You can learn more about storage buckets and APIs you can use to manage storage buckets from our <a href="/docs/server/storage">Storage documentation</a>. Now that we know how to create and configure buckets for our applications, let's look at how to manage files using the storage service.</p>

<h2><a href="/docs/storage#createFile" id="createFile">Create File</a></h2>

Expand Down