Skip to main content

2024-02-19

Fixing behavior when specifying items not in the source data

In the post-processing of the endpoint, specifying a non-existent item in the field (source data) of the convert list resulted in an empty item being added to the response. This unintended behavior will be corrected.

Please note that the response content will change.

Changes

Example setting

Image from Gyazo

Response Example (Before Change)

{
"errors": [],
"messages": [],
"details": {
"topics_id": 24,
"ymd": "2024-02-19",
"contents_type": 25,
"subject": "example content",
"inst_ymdhi": "2024-02-19T13:55:24+09:00",
"update_ymdhi": "2024-02-19T13:55:24+09:00",
"topics_group_id": 13,
"slug": "",
"contents_type_list": [
25
],
"unused_item": ""
}
}

Response Example (After Change)

{
"errors": [],
"messages": [],
"details": {
"topics_id": 24,
"ymd": "2024-02-19",
"contents_type": 25,
"subject": "example content",
"inst_ymdhi": "2024-02-19T13:55:24+09:00",
"update_ymdhi": "2024-02-19T13:55:24+09:00",
"topics_group_id": 13,
"slug": "",
"contents_type_list": [
25
]
}
}

Planned Date for Endpoint Addition

RC: February 27, 2024 (Tuesday)
Stable: Mid-April 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.