appwrite/docs/examples/1.4.x/server-dotnet/examples/functions/create.md

15 lines
448 B
Markdown
Raw Normal View History

2023-08-30 09:20:26 +00:00
using Appwrite;
using Appwrite.Services;
using Appwrite.Models;
var client = new Client()
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.SetProject("5df5acd0d48c2") // Your project ID
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
var functions = new Functions(client);
Function result = await functions.Create(
functionId: "[FUNCTION_ID]",
name: "[NAME]",
2023-09-07 21:38:29 +00:00
runtime: "node-18.0");