/* 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 ContentLabelsService { /** * Get labels * Returns the list of labels on a piece of Content. Example request URI(s): * * - `http://example.com/confluence/rest/api/content/1234/label` * - `http://example.com/confluence/rest/api/content/1234/label?prefix=global&start=0&limit=200` * @param id the id of the content to get the labels for * @param prefix the prefixes to filter the labels with. * @param limit the limit of the number of labels to return, this may be restricted by fixed system limits * @param start he start point of the collection to return. * @returns any returns a JSON representation of the existing labels on the content with the given id * @throws ApiError */ public static labels( id: string, prefix?: string, limit?: string, start?: string, ): CancelablePromise<{ results?: Array