Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/appwrite/mod.ts>Functions#createTag

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Functions.prototype.createTag
Re-export
import { Functions } from "https://deno.land/x/appwrite@0.4.0/mod.ts";

Create Tag

Create a new function code tag. Use this endpoint to upload a new version of your code function. To execute your newly uploaded code, you'll need to update the function's tag to use your new tag UID.

This endpoint accepts a tar.gz file compressed with your code. Make sure to include any dependencies your code has within the compressed file. You can learn more about code packaging in the Appwrite Cloud Functions tutorial.

Use the "command" param to set the entry point used to execute your code.

Type Parameters

T extends unknown

Parameters

functionId: string
command: string
code: File | Blob

Returns

Promise<T>