删除回复接口[批量]

  • 接口说明: 删除主题[批量]
  • 接口地址: /api/posts/batch/{ids}
  • 请求方式: DELETE

请求参数

请求示例

  1. /api/posts/batch/11,12,13

返回说明

  • http 状态码 200

返回结果

  1. data 被删除的回复列表
  2. meta 出现异常的回复列表

返回示例

  1. {
  2. "data": [
  3. {
  4. "type": "posts",
  5. "id": "6",
  6. "attributes": {
  7. "content": "bandwidth Checking Account Personal Loan Account == lavender == Corner Supervisor Rapids",
  8. "ip": "127.0.0.1",
  9. "replyCount": 0,
  10. "likeCount": 0,
  11. "createdAt": "2019-11-12T17:10:42+08:00",
  12. "updatedAt": "2019-11-12T17:10:42+08:00",
  13. "isFirst": true,
  14. "isApproved": true,
  15. "isLiked": false
  16. }
  17. }
  18. ],
  19. "meta": [
  20. {
  21. "id": "4",
  22. "message": "model_not_found"
  23. },
  24. {
  25. "id": "5",
  26. "message": "model_not_found"
  27. }
  28. ]
  29. }