Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Improvements

Compatibility with Confluence 9

This update includes changes for compatibility with Confluence 9.

Please let us know if you encounter any issues. Thank you! (big grin)

REST API for space quota

The following REST API is now available:

 Get list of space quota (max 50 spaces)

Method

GET

URL

/rest/attachment-checker/1.0/space/quota

Query params

startIndex - The start index e.g. start=0

Response

200

{
  "total": 45,
  "spaceQuotaList": [
    {
      "spaceKey": "ACC",
      "quotaUnit": "MB",
      "quotaAllocated": "5.00",
      "quotaUsed": "0.99",
      "quotaAvailable": "4.01",
      "quotaUsage": "19.8",
      "quotaUsageColour": "green",
      "isQuotaDefault": true,
      "isQuotaUnlimited": false,
      "allVersionsCount": 19,
      "currentVersionsCount": 12,
      "lastUpdateTime": "Aug 01, 2024 05:00",
      "nextUpdateTime": "Aug 16, 2024 05:00",
      "isAddedToQueue": false
    },
    ...
  ]
}

403 - No view permission

You do not have permission to view this.

412 - Quota setup not completed

The Space Quota is not viewable yet. Please look for your Confluence Administrator to complete the initial setup.

Permission

Available for:

  • Confluence admins

 Get space quota for specific space

Method

GET

URL

/rest/attachment-checker/1.0/space/{spaceKey}/quota

Path params

spaceKey - The space key

Response

200

{
  "spaceKey": "ACC",
  "quotaUnit": "MB",
  "quotaAllocated": "5.00",
  "quotaUsed": "0.99",
  "quotaAvailable": "4.01",
  "quotaUsage": "19.8",
  "quotaUsageColour": "green",
  "isQuotaDefault": false,
  "isQuotaUnlimited": false,
  "allVersionsCount": 19,
  "currentVersionsCount": 12,
  "lastUpdateTime": "Aug 01, 2024 05:00",
  "nextUpdateTime": "Aug 16, 2024 05:00",
  "isAddedToQueue": false
}

403 - No view permission

You do not have permission to view this.

412 - Quota setup not completed

The Space Quota is not viewable yet. Please look for your Confluence Administrator to complete the initial setup.

Permission

Available for:

  • Confluence admins

  • Space admins

  • Space users if Allow users to view space quota permission is enabled

 Set space quota for specific space

Method

POST

URL

/rest/attachment-checker/1.0/space/{spaceKey}/quota?quotaAllocated=

Path params

spaceKey - The space key

Query param

quotaAllocated - The new quota to set for the space e.g. quotaAllocated=5.00

Response

200

{
  "spaceKey": "ACC",
  "quotaUnit": "MB",
  "quotaAllocated": "5.00",
  "quotaUsed": "0.99",
  "quotaAvailable": "4.01",
  "quotaUsage": "19.8",
  "quotaUsageColour": "green",
  "isQuotaDefault": false,
  "isQuotaUnlimited": false,
  "allVersionsCount": 19,
  "currentVersionsCount": 12,
  "lastUpdateTime": "Aug 01, 2024 05:00",
  "nextUpdateTime": "Aug 16, 2024 05:00",
  "isAddedToQueue": false
}

403 - No edit permission

You do not have permission to edit this Space Quota.

412 - Quota setup not completed

The Space Quota is not viewable yet. Please look for your Confluence Administrator to complete the initial setup.

Permission

Available for:

  • Confluence admins


Bug fixes

Fixed long processing time for user and group pickers in Attachment Permissions

Fixed long processing time if there is a large number of users/groups.

Fixed space admins unable to purge attachment logs

Attachment download logs in the space are now purged when space admins click on the Purge button.

acc attachment logs purge.png

Fixed file size limit extension without '.'

When adding/updating file size limit extensions, '.' is now auto prepended.

Before

acc file size limit without dot.png

After

acc file size limit with dot.png

Fixed issue uploading Table Spreadsheet Macro .render file

The .render files generated by Table Spreadsheet Macro can now be uploaded if the exception is checked.

acc table spreadsheet macro exception.png

Issues resolved

Issue Type

Issue Key

Summary

Improvement

ACC-105

Compatibility with Confluence 9

Bug

ACC-106

Space admins unable to purge attachment download logs

Bug

ACC-107

Long processing time for user and group pickers in Attachment Permissions

Bug

ACC-108

File size limit extension does not have '.' prepended

Bug

ACC-109

Unable to upload Table Spreadsheet Macro .render file

Improvement

ACC-110

To provide REST API for space quota

  • No labels