/** * The Confluence Cloud REST API * This document describes the REST API and resources provided by Confluence. The REST APIs are for developers who want to integrate Confluence into their application and for administrators who want to script interactions with the Confluence server.Confluence\'s REST APIs provide access to resources (data entities) via URI paths. To use a REST API, your application will make an HTTP request and parse the response. The response format is JSON. Your methods will be the standard HTTP methods like GET, PUT, POST and DELETE. Because the REST API is based on open standards, you can use any web development language to access the API. * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import { SpaceProperty, SpacePropertyArray, SpacePropertyCreate, SpacePropertyCreateNoKey, SpacePropertyUpdate } from '../models'; export interface CreateSpacePropertyRequest { spaceKey: string; SpacePropertyCreate: SpacePropertyCreate; } export interface CreateSpacePropertyForKeyRequest { spaceKey: string; key: string; SpacePropertyCreateNoKey: SpacePropertyCreateNoKey; } export interface DeleteSpacePropertyRequest { spaceKey: string; key: string; } export interface GetSpacePropertiesRequest { spaceKey: string; expand?: Array; start?: number; limit?: number; } export interface GetSpacePropertyRequest { spaceKey: string; key: string; expand?: Array; } export interface UpdateSpacePropertyRequest { spaceKey: string; key: string; SpacePropertyUpdate: SpacePropertyUpdate; } /** * no description */ export declare class SpaceSpaceKeyPropertyApi extends runtime.BaseAPI { /** * Creates a new space property. **[Permissions required](https://confluence.atlassian.com/x/_AozKw)**: ‘Admin’ permission for the space. * Create space property */ createSpacePropertyRaw(requestParameters: CreateSpacePropertyRequest): Promise>; /** * Creates a new space property. **[Permissions required](https://confluence.atlassian.com/x/_AozKw)**: ‘Admin’ permission for the space. * Create space property */ createSpaceProperty(requestParameters: CreateSpacePropertyRequest): Promise; /** * Creates a new space property. This is the same as `POST /space/{spaceKey}/property` but the key for the property is passed as a path parameter, rather than in the request body. **[Permissions required](https://confluence.atlassian.com/x/_AozKw)**: ‘Admin’ permission for the space. * Create space property for key */ createSpacePropertyForKeyRaw(requestParameters: CreateSpacePropertyForKeyRequest): Promise>; /** * Creates a new space property. This is the same as `POST /space/{spaceKey}/property` but the key for the property is passed as a path parameter, rather than in the request body. **[Permissions required](https://confluence.atlassian.com/x/_AozKw)**: ‘Admin’ permission for the space. * Create space property for key */ createSpacePropertyForKey(requestParameters: CreateSpacePropertyForKeyRequest): Promise; /** * Deletes a space property. **[Permissions required](https://confluence.atlassian.com/x/_AozKw)**: ‘Admin’ permission for the space. * Delete space property */ deleteSpacePropertyRaw(requestParameters: DeleteSpacePropertyRequest): Promise>; /** * Deletes a space property. **[Permissions required](https://confluence.atlassian.com/x/_AozKw)**: ‘Admin’ permission for the space. * Delete space property */ deleteSpaceProperty(requestParameters: DeleteSpacePropertyRequest): Promise; /** * Returns all properties for the given space. Space properties are a key-value storage associated with a space. **[Permissions required](https://confluence.atlassian.com/x/_AozKw)**: ‘View’ permission for the space. * Get space properties */ getSpacePropertiesRaw(requestParameters: GetSpacePropertiesRequest): Promise>; /** * Returns all properties for the given space. Space properties are a key-value storage associated with a space. **[Permissions required](https://confluence.atlassian.com/x/_AozKw)**: ‘View’ permission for the space. * Get space properties */ getSpaceProperties(requestParameters: GetSpacePropertiesRequest): Promise; /** * Returns a space property. **[Permissions required](https://confluence.atlassian.com/x/_AozKw)**: ‘View’ permission for the space. * Get space property */ getSpacePropertyRaw(requestParameters: GetSpacePropertyRequest): Promise>; /** * Returns a space property. **[Permissions required](https://confluence.atlassian.com/x/_AozKw)**: ‘View’ permission for the space. * Get space property */ getSpaceProperty(requestParameters: GetSpacePropertyRequest): Promise; /** * Updates a space property. Note, you cannot update the key of a space property, only the value. **[Permissions required](https://confluence.atlassian.com/x/_AozKw)**: ‘Admin’ permission for the space. * Update space property */ updateSpacePropertyRaw(requestParameters: UpdateSpacePropertyRequest): Promise>; /** * Updates a space property. Note, you cannot update the key of a space property, only the value. **[Permissions required](https://confluence.atlassian.com/x/_AozKw)**: ‘Admin’ permission for the space. * Update space property */ updateSpaceProperty(requestParameters: UpdateSpacePropertyRequest): Promise; } /** * @export * @enum {string} */ export declare enum GetSpacePropertiesExpandEnum { Version = "version", Space = "space" } /** * @export * @enum {string} */ export declare enum GetSpacePropertyExpandEnum { Version = "version", Space = "space" }