{
"code": 10000,
"message": "成功",
"data": {
"id": 1,
"name": "API鉴权中间件",
"description": "一个轻量级的Django API鉴权中间件",
"category": "Django中间件",
"author": "小影",
"homepage": "https://github.com/xiaoying/auth-middleware",
"tags": "django,中间件,鉴权,JWT",
"tags_list": ["django","中间件","鉴权","JWT"],
"cover_url": "/media/uploads/cover1.jpg",
"created_at": "2026-06-05 12:15:39",
"updated_at": "2026-06-05 12:15:39",
"tutorial_content": "# 使用教程\n\n## 安装\npip install django-api-auth",
"versions": [
{
"id": 1,
"plugin_id": 1,
"version": "1.0.0",
"file_url": "http://127.0.0.1:8000/media/uploads/abc123.zip",
"file_size": 2048576,
"file_size_display": "1.95 MB",
"changelog": "初始发布版本",
"created_at": "2026-06-05 12:15:49"
}
],
"latest_version": "1.0.0",
"images": [
{
"id": 1,
"image_url": "/media/uploads/screenshot1.jpg",
"title": "首页截图",
"sort_order": 1
}
],
"videos": [
{
"id": 1,
"video_url": "https://www.bilibili.com/video/BV1xxxx",
"title": "安装配置教程",
"is_external": true,
"sort_order": 1
}
]
}
}