Managing an App
Creating an App
To create an app, use the app builder interface's create function:
- TypeScript
- Java
- Go
- .NET
const details = {
name: "App Name",
description: "You can add a product description here",
}
const product = await ductape.app.create(details)
Map<String, Object> details = Map.of(
"name", "App Name",
"description", "You can add a product description here"
)
Map<String, Object> product = ductape.app.create(details)
details := map[string]any{
"name": "App Name",
"description": "You can add a product description here",
}
product := client.app.create(details)
var details = new Dictionary<string, object?>
{
["name"] = "App Name",
["description"] = "You can add a product description here",
}
var product = await ductape.app.create(details)
Updating an App
To update an app, use the app builder interface's update function:
- TypeScript
- Java
- Go
- .NET
const tag = "app";
const details = {
description: "You can add a product description here",
}
const product = await ductape.app.update(tag, details)
Map<String, Object> tag = "app";
Map<String, Object> details = Map.of(
"description", "You can add a product description here"
)
Map<String, Object> product = ductape.app.update(tag, details)
tag := "app";
details := map[string]any{
"description": "You can add a product description here",
}
product := client.app.update(tag, details)
var tag = "app";
var details = new Dictionary<string, object?>
{
["description"] = "You can add a product description here",
}
var product = await ductape.app.update(tag, details)
Fetching an App
To fetch an app by tag, use the app builder interface's fetch function:
- TypeScript
- Java
- Go
- .NET
const tag = "app";
const product = await ductape.app.fetch(tag)
Map<String, Object> tag = "app";
Map<String, Object> product = ductape.app.fetch(tag)
tag := "app";
product := client.app.fetch(tag)
var tag = "app";
var product = await ductape.app.fetch(tag)