让内容项
获得/ api / ContentItems
得到所有内容项匹配指定的标准。
HTTP请求
在URL中,
https://dnnapi.com/content/ api / ContentItems吗?查询
- 查询
-
可以包括以下键及其关联值:
- query.published
- (布尔)(可选)如果这是真的,只有发表内容项包含在结果中。
- query.tags
- (字符串)(可选)标签搜索。pipe-separated和url编码。例如:标签=我% 20标签|标签2 | lastTag
- query.contentTypeId
- (字符串)(可选)
- query.searchText
- (字符串)(可选)
- query.startIndex
- (整数)(可选)
- query.maxItems
- (整数)(可选)
- query.fieldOrder
- (字符串)(可选)
- query.orderAsc
- (布尔)(可选)
- query.createdFrom
- (字符串)(可选)
- query.createdTo
- (字符串)(可选)
HTTP响应
状态:200年
{“文件”:“数组”“totalResultCount”:“整数”}
- 文档
- (数组)
- totalResultCount
- (整数)