@webitel/api-services
    Preparing search index...

    Function getSpaces

    • Parameters

      • axiosInstance: AxiosInstance = axios

      Returns {
          createSpace: (
              knowledgebaseInputSpace: KnowledgebaseInputSpace[],
              params?: CreateSpaceParams,
              options?: AxiosRequestConfig,
          ) => Promise<AxiosResponse<KnowledgebaseSpace, any, {}>>;
          deleteSpace: (
              etag: string,
              params?: DeleteSpaceParams,
              options?: AxiosRequestConfig,
          ) => Promise<AxiosResponse<KnowledgebaseSpace, any, {}>>;
          listSpaces: (
              params?: ListSpacesParams,
              options?: AxiosRequestConfig,
          ) => Promise<AxiosResponse<KnowledgebaseSpaceList, any, {}>>;
          locateSpace: (
              etag: string,
              params?: LocateSpaceParams,
              options?: AxiosRequestConfig,
          ) => Promise<AxiosResponse<KnowledgebaseSpace, any, {}>>;
          updateSpace: (
              etag: string,
              updateSpaceBody: UpdateSpaceBody,
              params?: UpdateSpaceParams,
              options?: AxiosRequestConfig,
          ) => Promise<AxiosResponse<KnowledgebaseSpace, any, {}>>;
      }

      • createSpace: (
            knowledgebaseInputSpace: KnowledgebaseInputSpace[],
            params?: CreateSpaceParams,
            options?: AxiosRequestConfig,
        ) => Promise<AxiosResponse<KnowledgebaseSpace, any, {}>>
      • deleteSpace: (
            etag: string,
            params?: DeleteSpaceParams,
            options?: AxiosRequestConfig,
        ) => Promise<AxiosResponse<KnowledgebaseSpace, any, {}>>
      • listSpaces: (
            params?: ListSpacesParams,
            options?: AxiosRequestConfig,
        ) => Promise<AxiosResponse<KnowledgebaseSpaceList, any, {}>>
        Field Type
        ----------- READ-ONLY -----------
        id int64
        ver int32
        etag string
        ---------- OPERATIONAL ----------
        created_at int64(epoch:milli)
        created_by lookup(user)
        updated_at int64(epoch:milli)
        updated_by lookup(user)
        ---------- ATTRIBUTES -----------
        name name!
        home_page string (home_page)
        state bool
        has_children bool
      • locateSpace: (
            etag: string,
            params?: LocateSpaceParams,
            options?: AxiosRequestConfig,
        ) => Promise<AxiosResponse<KnowledgebaseSpace, any, {}>>
      • updateSpace: (
            etag: string,
            updateSpaceBody: UpdateSpaceBody,
            params?: UpdateSpaceParams,
            options?: AxiosRequestConfig,
        ) => Promise<AxiosResponse<KnowledgebaseSpace, any, {}>>