Authorization: Bearer ********************
curl --location --request GET 'http://dev-cn.your-api-server.com/api///sub_entries.json?filepath=' \
--header 'Cookie: autologin_trustie=3acc38c27d61a347f5c16fbca2c4964b181a2f79'
{
"entries": {
"name": "1",
"sha": "56a6051ca2b02b04ef92d5150c9ef600403cb1de",
"path": "1",
"type": "file",
"submodule_git_url": null,
"size": 1,
"content": "1",
"target": null,
"download_url": "http://localhost:3000/api/yystopf/ceshi_doc/raw/1?ref=main",
"direct_download": false,
"image_type": false,
"is_readme_file": null,
"commit": {
"message": "Add 1\n",
"sha": "9d8fc7952c7646feb15a2995bf4b58f77edd6953",
"created_at": "2023-11-28 11:47",
"time_from_now": "5小时前",
"created_at_unix": 1701143246
}
}
}