接口:博客详情
接口:博客详情
接口详情
博客详情
zodram api
GET
接口地址
| 正式环境(prod) | https://zodream.cn/open/blog |
|
| 本地环境(dev) | http://zodream.localhost/open/blog |
Header参数
| 字段键 | 字段值 | 备注说明 |
|---|
请求参数
| 字段别名 | 字段含义 | 字段类型 | 是否必填 | 默认值 | 备注说明 |
|---|---|---|---|---|---|
| id | id | 数字(number) | 是 | 8 |
响应参数
| 字段别名 | 字段含义 | 字段类型 | MOCK规则 | 备注说明 |
|---|---|---|---|---|
| id | id | 数字(number) | ||
| title | title | 字符串(string) | ||
| description | description | 字符串(string) | ||
| keywords | keywords | 字符串(string) | ||
| programming_language | programming_language | 字符串(string) | ||
| language | language | 字符串(string) | ||
| parent_id | parent_id | 数字(number) | ||
| thumb | thumb | 字符串(string) | ||
| edit_type | edit_type | 数字(number) | ||
| content | content | 字符串(string) | ||
| user_id | user_id | 数字(number) | ||
| term_id | term_id | 数字(number) | ||
| type | type | 数字(number) | ||
| source_url | source_url | 字符串(string) | ||
| recommend | recommend | 数字(number) | ||
| comment_count | comment_count | 数字(number) | ||
| click_count | click_count | 数字(number) | ||
| comment_status | comment_status | 数字(number) | ||
| deleted_at | deleted_at | 数字(number) | ||
| created_at | created_at | 字符串(string) | ||
| updated_at | updated_at | 字符串(string) | ||
| url | url | 字符串(string) | ||
| term | term | 对象(object) | ||
| ᅡ id | id | 数字(number) | ||
| ᅡ name | name | 字符串(string) | ||
| user | user | 对象(object) | ||
| ᅡ id | id | 数字(number) | ||
| ᅡ name | name | 字符串(string) | ||
| ᅡ avatar | avatar | 字符串(string) | ||
| is_recommended | 是否已推荐 | 布尔型(boolean) | boolean |
返回示例