博客专辑
属性
属性名 | 说明 | 必填 | 类型 |
---|---|---|---|
id | 是 | number | |
title | 标题 | 是 | string |
description | 描述 | 是 | string |
seo_title | seo标题 | 是 | string |
seo_description | seo描述 | 是 | string |
seo_slug | seo slug | 是 | string |
created_at | 是 | string | |
updated_at | 是 | string | |
blogs_count | 博客数量 | 是 | number |
public_url | 预览url | 是 | string |
path | 路径 | 是 | string |
专辑下的博客批量操作
POST
/openapi/2021-08/blog_collections/{id}/batch
权限:write_content
Query Parameters
Name | Type | Description |
---|---|---|
id | String |
专辑下的博客
GET
/openapi/2021-08/blog_collections/{id}/blogs
权限:read_content,write_content
Query Parameters
Name | Type | Description |
---|---|---|
id | String | 专辑id |
更新专辑
PUT
/openapi/2021-08/blog_collections/{id}
权限:read_content,write_content
Query Parameters
Name | Type | Description |
---|---|---|
id | String | 博客专辑id |
Request Body
Name | Type | Description |
---|---|---|
title | String | 标题 |
description | String | 描述 |
seo_title | String | seo标题 |
seo_description | String | seo描述 |
seo_slug | String | seo slug |
sort_type | String | 排序方式 |
添加专辑
POST
/openapi/2021-08/blog_collections
权限:write_content
Request Body
Name | Type | Description |
---|---|---|
title | String | 标题 |
description | String | 描述 |
seo_title | String | seo标题 |
seo_description | String | seo描述 |
seo_slug | String | seo slug |
blog_ids | Array | 博客集合id |
sort_type | String | 排序方式 |
专辑列表
GET
/openapi/2021-08/blog_collections
权限:read_content,write_content
Query Parameters
Name | Type | Description |
---|---|---|
filter[key] | String | 关键字 |
include | String | 包含关联 |
sort | String | 排序 |
专辑详情
GET
/openapi/2021-08/blog_collections/{id}
权限:read_content,write_content
Query Parameters
Name | Type | Description |
---|---|---|
id | String | 博客专辑id |
删除专辑
DELETE
/openapi/2021-08/blog_collections/{id}
权限:write_content
Query Parameters
Name | Type | Description |
---|---|---|
id | String | 博客专辑id |
Last updated