/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ import type { Label } from '../models/Label.js'; import type { CancelablePromise } from '../core/CancelablePromise.js'; import { OpenAPI } from '../core/OpenAPI.js'; import { request as __request } from '../core/request.js'; export class SpaceLabelService { /** * Fetch all labels * Returns a paginated list of all Labels used by Content within the given Space. * This includes Labels used by Pages, Blog Posts, and other Content types. * * Example request URI: * `https://example.com/confluence/rest/api/space/TEST/labels` * @param spaceKey a string containing the key of the space * @param limit the limit of the number of labels to return, this may be restricted by fixed system limits * @param start the start point of the collection to return. * @returns any a JSON representation of the lists label, or an empty list if no labels are found. * @throws ApiError */ public static index3( spaceKey: string, limit?: string, start?: string, ): CancelablePromise<{ results?: Array