/* 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 LabelService { /** * Get list of labels matching the given label name, namespace, space (via space key) or owner. * Returns a paginated list of labels matching the given label name, namespace, space (via space key) or owner. * Leave query params empty to ignore. * * Example request URI(s): * `http://example.com/confluence/rest/api/label/labels?spaceKey=MYS&namespace=global&limit=3` * @param spaceKey The spaceKey to restrict by. * @param owner The owner of the labels. * @param start The start point of the collection to return. * @param limit The limit of the number of labels to return, this may be restricted by fixed system limit. * @param namespace The namespace of the labels. * @param labelName The name of the label (excluding any prefix) * @returns any Return a list of labels matching the given request. * @throws ApiError */ public static labels1( spaceKey?: string, owner?: string, start?: string, limit?: string, namespace?: string, labelName?: string, ): CancelablePromise<{ results?: Array