Files
discoursejs/docs/sdk/models/operations/createcategoryrequestbody.md

4.7 KiB
Raw Blame History

CreateCategoryRequestBody

Example Usage

import { CreateCategoryRequestBody } from "@lukehagar/discoursejs/sdk/models/operations";

let value: CreateCategoryRequestBody = {
    color: "49d9e9",
    name: "<value>",
    permissions: {
        everyone: 1,
    },
    textColor: "f0fcfd",
};

Fields

Field Type Required Description Example
allowBadges boolean N/A
color string N/A 49d9e9
formTemplateIds any[] N/A
name string ✔️ N/A
parentCategoryId number N/A
permissions operations.Permissions N/A
searchPriority number N/A
slug string N/A
textColor string N/A f0fcfd
topicFeaturedLinksAllowed boolean N/A