2024-11-18
Changes to the Response Structure of Topics::draft_list
Previously, the Topics::draft_list response output draft data in a list format, with all items output by default. To handle cases where the amount of draft data increases, the default response will now be limited to 20 items, and pageInfo information will be added.
Please set the cnt parameter as needed, or implement pagination using pageInfo.
Changes
- When cnt is not specified, the draft response will return 20 items.
- pageInfo will be added to the response.
If You Want to Continue Using the Same Response Structure
If you want to keep using the same response as before, please set the cnt=0 parameter for the relevant endpoint.
Response example when cnt=0 is specified:
{
"errors": [],
"messages": [],
"list": [
{
"topics_id": 823,
"topics_group_id": 61,
"data_draft_id": 412,
"lang": "ja",
"member_id": 22,
"update_comment": "",
"prev_data_waiting_id": 0,
"title": "draft test 1"
},
・
・
・
],
"pageInfo": {
"totalCnt": 22
}
}
Note: The pageInfo response will be added.
When cnt=0 is set, loading times may increase if there is a large amount of intermediate saved data. If intermediate saves become numerous, please implement pagination or use pageInfo to retrieve data in separate chunks.
Planned Date for Endpoint Addition
Stable: Mid-January 2024
The specific date and time for the official version cannot be chosen by the user.
By switching to the RC version, you can verify the functionality at any desired timing.
Contact
If you have any further questions regarding this matter, please feel free to contact Kuroco Support.
Support
If you have any other questions, please contact us or check out Our Slack Community.