Breaking changes
Attachments limits
We added hard attachment limit of 20 per document. Total size is now also limited to5*dropZoneMaxSize (by default this is 5*40 => 200MB) or 1GB whichever value is smaller.
Owner
In documents there is now property called owner. Owner has ability to do addition actions with document (e.g. send share reminder). There is also possibility to transfer this ownership if this feature is enabled (PUT /documents/owner). This mechanism will be further improved in future version(s).
Reminders
We have added an option to send reminder using SMS. SMS reminders can only be sent manually (no auto-remind using SMS) and it required a change to reminder endpoint (POST /share/reminder). First you can only use SMS when you have SMS addon. Also you have to call endpoint using shares and not just document ID because we need phone numbers to associate to shares to send those notifications.
Request
Stamps
Stamps resources were added. We used to handle stamps as part of users resources. Now we have introduced organization stamps, so as a part of this new feature stamps were separated to their own resources. Added endpoints:GET /stamps/{id}- get stamp by its IDPOST /stamps- create new stampPOST /stamps/search- search in stamps (fetch multiple)PUT /stamps/{id}- edit stampDELETE /stamps/{id}- delete stamp
POST /share/upload/stamp- you still provide image, but returned value is no longer a file hash but stamp ID, you can use it to get stamp image using endpoint belowGET /share/stamp/{id}- returns image uploaded as stamp using endpoint above
Login
- The endpoint
GET /loginnow returns status 200 with an object{ logged: false }when no token is sent.
WOPI
- Updated endpoint
GET /wopi/extensionsto return an object with propertiesclient(string WOPI client type) andextensions(array with string extensions supported by the WOPI client).
Non-breaking changes
Minified API
To remove some clutter and make API more accessible we have created minified version of our API. URLs are always the same but minified API contains less properties and it only includes most used endpoints so you can easily find what is important for you. It also comes with greatly improved documentation so its even easier to integrate Circularo into your app. You still have possibility to access “full” API but we believe that minified API will be sufficient for most use-cases.Optionally return token in the content body
Added optional parameterreturnToken (default true) to the endpoints GET /login, POST /login and PUT /users/activate. When set to false, the endpoint won’t return the token in the content body.
After two versions, we will change the default value to false to prevent token exposure without a request. Make sure you implement this change if you haven’t already started using cookies.
DSS validation
We added optional DSS (Digital Signature Services) validation to our verify resources. They all now contain query parameter dss (false by default). If you enable this in addition to existing data you will also get new validation data. Each of these properties is string containing XML.Separated lite and regular users in group info
When searching for groups (POST /groups/search) with includeUserCount flag set we have separated user counts of “regular” and lite users:
userCount contains only admins and members and liteUserCount includes rest (read, prepare, sign).