umbraco-management-api-client
Version:
TypeScript client for the Umbraco Management API (auto-generated by OpenAPI Generator)
16 lines (15 loc) • 509 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const TagApi_1 = require("../apis/TagApi");
const testConfig_1 = require("./testConfig");
(async () => {
const config = await (0, testConfig_1.getConfig)();
const api = new TagApi_1.TagApi(config);
try {
const result = await api.getTag({ skip: 0, take: 10 });
console.log('TagApi.getTag result:', result.items);
}
catch (error) {
console.error('TagApi.getTag error:', error);
}
})();