文档
测试

申请协议

POST
http://{{address}}/api/hjd/blog/post

请求参数

参数名
类型
描述
必填
slug
string
示例:sqxy
必填

响应参数

参数名
类型
描述
必填
status
int
示例:1
必填
msg
string
示例:操作成功
必填
data
object
数据字典
必填
info
object
数据字典
必填
id
int
示例:1
必填
user_id
int
示例:1
必填
title
string
示例:墙主申请协议
必填
slug
string
示例:sqxy
必填
excerpt
string
示例:The first ever blog post is here. It might be a good idea to update this post with some more relevant content.
必填
content
string
示例:这是墙主申请协议,别名不要改。
必填
content_html
string
示例:<p>这是墙主申请协议,别名不要改。</p>
必填
published_at
string
示例:2021-12-30 22:06:50
必填
published
int
示例:1
必填
created_at
string
示例:2021-12-30 22:06:50
必填
updated_at
string
示例:2021-12-30 22:16:51
必填
metadata
object
示例:null
必填
type
object
示例:null
必填
read_num
int
示例:1
必填
summary
string
示例:The first ever blog post is here. It might be a good idea to update this post with some more relevant content.
必填
has_summary
boolean
示例:true
必填
video
object
示例:null
必填
voice
object
示例:null
必填
user
object
数据字典
必填
id
int
示例:1
必填
first_name
string
示例:Admin
必填
last_name
string
示例:Person
必填
login
string
示例:admin
必填
email
string
示例:admin@example.com
必填
permissions
string
示例:
必填
is_activated
boolean
示例:true
必填
role_id
int
示例:2
必填
activated_at
object
示例:null
必填
last_login
string
示例:2021-12-04 12:16:04
必填
created_at
string
示例:2021-11-15 12:48:10
必填
updated_at
string
示例:2021-12-04 12:16:04
必填
deleted_at
object
示例:null
必填
is_superuser
int
示例:1
必填