original documentation
try {
const input = {
name: '', // string
};
const {data:{tag}} = await dots.tag.createTag(input)
console.log(tag);
} catch (error) {
console.log(error);
}
original documentation
try {
const input = {
tag_name: '', // string
};
const {status} = await dots.tag.deleteTag(input)
console.log(status);
} catch (error) {
console.log(error);
}
original documentation
try {
const input = {
tag_name: '', // string
};
const {data:{tag}} = await dots.tag.getTag(input)
console.log(tag);
} catch (error) {
console.log(error);
}
original documentation
try {
const input = {
page: 1, // number
};
const {data:{tags}} = await dots.tag.listTags(input)
console.log(tags);
} catch (error) {
console.log(error);
}
original documentation
try {
const input = {
tag_name: '', // strng
resources: [{...}], // ITagResourcePayload[]
};
const {status} = await dots.tag.tagResources(input)
console.log(status);
} catch (error) {
console.log(error);
}
original documentation
try {
const input = {
tag_name: '', // strng
resources: [{...}], // ITagResourcePayload[]
};
const {status} = await dots.tag.untagResources(input)
console.log(status);
} catch (error) {
console.log(error);
}