forked from enpitut2022/A_plus_Tsukuba
GET api get_repilies 指定された親レスの子レス一覧を取得する
Takumi TAMURA edited this page Aug 13, 2022
·
2 revisions
post_id
: 取得したい親レスのpost_id
新しいものが下に来ます
{
"data": [
{
"reply_id": "dc77b54f-d515-4af2-b7c0-621ac63c08b0",
"sender_name": "a",
"text": "aaaaa",
"created_at": "2022-08-13T03:53:13+09:00",
"emotion": 0
},
{
"reply_id": "632b49e5-362f-46a3-8e3b-254b4395e82c",
"sender_name": "a",
"text": "aaaaaaaaaaaaaaaaaaaa",
"created_at": "2022-08-13T03:53:17+09:00",
"emotion": 0
}
],
"status": 200,
"statusText": "OK",
"headers": {
"allow": "GET, HEAD, OPTIONS",
"content-length": "290",
"content-type": "application/json",
"date": "Sat, 13 Aug 2022 04:23:04 GMT",
"referrer-policy": "same-origin",
"server": "WSGIServer/0.2 CPython/3.9.10",
"vary": "Accept, Cookie",
"x-content-type-options": "nosniff",
"x-frame-options": "DENY"
},
"config": {
"transitional": {
"silentJSONParsing": true,
"forcedJSONParsing": true,
"clarifyTimeoutError": false
},
"transformRequest": [
null
],
"transformResponse": [
null
],
"timeout": 0,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"maxBodyLength": -1,
"env": {
"FormData": null
},
"headers": {
"Accept": "application/json, text/plain, */*"
},
"method": "get",
"url": "/api"
},
"request": {}
}