mirror of
https://github.com/appwrite/appwrite
synced 2026-05-17 22:18:51 +00:00
618 B
618 B
using Appwrite; using Appwrite.Models; using Appwrite.Services;
Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
Databases databases = new Databases(client);
AttributeString result = await databases.CreateStringAttribute( databaseId: "<DATABASE_ID>", collectionId: "<COLLECTION_ID>", key: "", size: 1, required: false, default: "", // optional array: false, // optional encrypt: false // optional );