안녕하세요!
저희 웹사이트에 호스팅된 Discourse 포럼을 조회하여 검색된 주제에 대한 정보를 표시하는 기능을 구현했습니다. 지난 주 배포했을 때는 잘 작동했는데, 주말에 갑자기 멈추기 시작했습니다. 조사해 보니 쿼리에서 반환되는 topic 객체의 구조가 상당히 변경되어 있었습니다.
개발 중 테스트 및 최신 문서와 일치했던 예상 응답 객체:
"topics": [
{
"id": 1099,
"title": "Build Error: ipykernel 4.8.2 for python 3.6.6 on Windows",
"fancy_title": "Build Error: ipykernel 4.8.2 for python 3.6.6 on Windows",
"slug": "build-error-ipykernel-4-8-2-for-python-3-6-6-on-windows",
"posts_count": 1,
"reply_count": 0,
"highest_post_number": 1,
"image_url": null,
"created_at": "2020-06-30T23:36:42.277Z",
"last_posted_at": "2020-06-30T23:36:42.357Z",
"bumped": true,
"bumped_at": "2020-06-30T23:36:42.357Z",
"archetype": "regular",
"unseen": false,
"pinned": false,
"unpinned": null,
"visible": true,
"closed": false,
"archived": false,
"bookmarked": null,
"liked": null,
"thumbnails": null,
"tags": [
"windows",
"builder"
],
"category_id": 1,
"has_accepted_answer": false
}
],
실제/현재 응답:
"topics": [
{
"id": 1494,
"fancy_title": "Build Error: python-magic 0.4.15 for Python 3.8.2 on Mac",
"slug": "build-error-python-magic-0-4-15-for-python-3-8-2-on-mac",
"posts_count": 1,
"archetype": "regular",
"pinned": false,
"unpinned": null,
"visible": true,
"closed": false,
"archived": false,
"bookmarked": null,
"liked": null,
"tags": [
"mac",
"builder"
],
"category_id": 1,
"has_accepted_answer": false
}
],
검색 API에서 응답을 변경하는 업데이트가 출시되었는지 궁금합니다. 아니면 이것이 원인이 될 수 있는 관리자 설정이 있는지 알고 계신 분이 있을까요?
최근 업데이트(6월 24일 출시된 2.5) 변경 이력을 살펴봤지만, API 변경 사항을 구체적으로 언급하는 내용은 찾지 못했습니다.
도움 주시면 감사하겠습니다.
- Carey