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! 😀
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
CODE
{
"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
CODE
You do not have permission to view this.
|
412 - Quota setup not completed
CODE
The Space Quota is not viewable yet. Please look for your Confluence Administrator to complete the initial setup.
|
Permission | Available for: |
---|
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
CODE
{
"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
CODE
You do not have permission to view this.
|
412 - Quota setup not completed
CODE
The Space Quota is not viewable yet. Please look for your Confluence Administrator to complete the initial setup.
|
Permission | Available for: |
---|
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
CODE
{
"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
CODE
You do not have permission to edit this Space Quota.
|
412 - Quota setup not completed
CODE
The Space Quota is not viewable yet. Please look for your Confluence Administrator to complete the initial setup.
|
Permission | Available for: |
---|
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.
Fixed file size limit extension without '.'
When adding/updating file size limit extensions, '.' is now auto prepended.
Before | |
---|
After | |
---|
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.
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 |