Class ConfluenceRestClientSpaceSettingsConsumerApi

java.lang.Object
io.github.primelib.confluence4j.rest.v1.client.ConfluenceRestClientSpaceSettingsConsumerApi

@Generated("io.github.primelib.primecodegen") public class ConfluenceRestClientSpaceSettingsConsumerApi extends Object
ConfluenceRestClientSpaceSettingsConsumerApi
  • Constructor Details

  • Method Details

    • GetSpaceBySpaceKeySettingsV1

      public SpaceSettings GetSpaceBySpaceKeySettingsV1(Consumer<GetSpaceBySpaceKeySettingsV1OperationSpec> spec)
      GetSpaceBySpaceKeySettingsV1 Get space settings Returns the settings of a space. Currently only the `routeOverrideEnabled` setting can be returned. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View' permission for the space.
      Parameters:
      spec - a consumer that creates the payload for this operation. Supports the following properties:
      • spaceKey: The key of the space to be queried for its settings.
    • PutSpaceBySpaceKeySettingsV1

      public SpaceSettings PutSpaceBySpaceKeySettingsV1(Consumer<PutSpaceBySpaceKeySettingsV1OperationSpec> spec)
      PutSpaceBySpaceKeySettingsV1 Update space settings Updates the settings for a space. Currently only the `routeOverrideEnabled` setting can be updated. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Admin' permission for the space.
      Parameters:
      spec - a consumer that creates the payload for this operation. Supports the following properties:
      • spaceKey: The key of the space whose settings will be updated.
      • payload: The space settings to update.