Hierarchy

  • CategoriesService

Constructors

Properties

httpRequest: BaseHttpRequest

Methods

  • Create a category

    Throws

    ApiError

    Parameters

    • options: {
          requestBody: {
              groupId?: string;
              name: string;
          };
          serverId: string;
      }
      • requestBody: {
            groupId?: string;
            name: string;
        }
        • Optional groupId?: string

          The ID of the group. If not provided, the category will be created in the "Server home" group from serverId.

        • name: string

          Name of the category

      • serverId: string

    Returns CancelablePromise<{
        category: CategoryPayload;
    }>

    any Success

Generated using TypeDoc