Skip to content
Open
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: 4 additions & 0 deletions .optimize-cache.json
Original file line number Diff line number Diff line change
Expand Up @@ -1331,7 +1331,9 @@
"images/docs/databases/scale-policies.png": "549c929932a92902c6a17684730a4bffe0c52ed8dd3d9bebc7ecc7818c81f244",
"images/docs/dev-keys/dark.png": "137a92c18e9dfb2c000dea70d7fea09895abe2b46a69bdf8b736997e21c457ba",
"images/docs/dev-keys/light.png": "7737135bb6c721adad6761d6c00616d3e9f5a88f153c8481ca55cdf481d63c42",
"images/docs/functions/dark/env-variables.png": "0fe62180f8b3b96f7944c91afcc87dda42cf52d8ce10672608c1df009b048b42",
"images/docs/functions/dark/template.png": "4149a261979cb36cf74309d1836a3fcd926f2d33587e92080d541ffcbc3ad19c",
"images/docs/functions/env-variables.png": "003c18ef56a95f0784c9ffd609e313955bd83b61ef277c454bb7dd5b2192280b",
"images/docs/functions/execution/dark/execute-function.png": "69063c276041e1e8cea09fb7aa27d3df6727fa6806d15101ac291e1b51f14344",
"images/docs/functions/execution/dark/scheduled-execution-function.png": "19fd1f34644186c0113f060c4f4b9c42ecd8392e8a86f32df44f90086943ba33",
"images/docs/functions/execution/execute-function.png": "9a5abab51d8c144214ecb6ff13ddd9d60c2cfcc7783aa2946aca5256f4bb83d5",
Expand Down Expand Up @@ -1443,7 +1445,9 @@
"images/docs/platform/dark/add-platform.png": "1bb0e7dba22556e64064951882d625532285fa80bed43fd77774f31545a15b0f",
"images/docs/platform/dark/create-api-key.png": "f15696f0b28dfc46813d7185be11da8be89da72be66b1894cfcc7227036e4afa",
"images/docs/platform/dark/create-webhook.png": "88f7f5c857fe986b5803c7df003c4db55faa79e3fa3135cf9491073d0b2736be",
"images/docs/platform/dark/env-variables.png": "da2a73b5d3420063e9869c40050b6168e5b5446a97772a26ca2a894e36021134",
"images/docs/platform/dark/execution-details.png": "c0481ddc206447460f9d317ba8d421615066f67a50bc9ef41a8f71766ecffb14",
"images/docs/platform/env-variables.png": "16f95151e4f6ee9fb8056f075b9f5027fd91f0c2a28586c5624c3ffe9b7a1ee8",
"images/docs/platform/execution-details.png": "ece1364b8b00254bbd982421b6eed6d7f519d34c4e80377fcaaa4cb5d5dd3f89",
"images/docs/quick-starts/add-platform.png": "3b13ba983ea1d2529a1f34a719acef903ec0b58879ed511012280a28ccbde17e",
"images/docs/quick-starts/create-project.png": "7fdb25def02c5dbdb08cd38c2d03b7b454c930194a900553e3e68d51cb28a1d5",
Expand Down
14 changes: 14 additions & 0 deletions src/partials/functions-env-vars.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
| Variable | Description | Available at Build and/or Run Time |
| ----------------------------------- | ---------------------------------------------------------- | ---------------------------------- |
| `APPWRITE_FUNCTION_API_ENDPOINT` | The API endpoint of the running function | Both |
| `APPWRITE_VERSION` | The Appwrite version used to run the function | Both |
| `APPWRITE_REGION` | The region where the function will run from | Both |
| `APPWRITE_FUNCTION_API_KEY` | The function API key used for server authentication | Build time |
| `APPWRITE_FUNCTION_ID` | The ID of the running function | Both |
| `APPWRITE_FUNCTION_NAME` | The name of the running function | Both |
| `APPWRITE_FUNCTION_DEPLOYMENT` | The deployment ID of the running function | Both |
| `APPWRITE_FUNCTION_PROJECT_ID` | The project ID of the running function | Both |
| `APPWRITE_FUNCTION_RUNTIME_NAME` | The runtime of the running function | Both |
| `APPWRITE_FUNCTION_RUNTIME_VERSION` | The runtime version of the running function | Both |
| `APPWRITE_FUNCTION_CPUS` | The CPU (runtime) specification of the running function | Both |
| `APPWRITE_FUNCTION_MEMORY` | The memory (runtime) specification of the running function | Both |
Loading
Loading