URLs
GET api/v1/related/{id}.xml (or .json)
LIST related content.
GET api/v1/search.xml (or .json)
LIST search results.
请求参数
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
Query |
string |
Query is not required but you should use either Query or Filters otherwise you'll get all documents in the search index. |
否 |
||
Filters |
string |
Filters is not required but you should use either Query or Filters otherwise you'll get all documents in the search index. |
否 |
||
Sort |
string |
Two options for sort are titlesort and date and it also supports asc and desc. To sort by title ascending use sort=titlesort+asc, to sort by date descending use sort=date+desc. |
否 |
||
StartDate |
DateTime? |
Start Date |
否 |
||
EndDate |
DateTime? |
End Date |
否 |
||
Collapse |
bool? |
Result collapsing will default to false if not specified. |
否 |
||
FieldFacets |
string |
Field Facets |
否 |
||
DateRangeFacets |
string |
Date Range Facets |
否 |
||
FieldFilters |
string |
Field Filters |
否 |
||
DateRangeFilters |
string |
Date Range Filters |
否 |
||
Tags |
string |
Comma delimited list of tags. |
否 |
||
LogicallyOrTags |
bool? |
Whether to AND or OR tags specified in the Tags parameter. Default is False, logically AND tags. |
否 |
||
Mlt |
bool? |
More Like This. Can be used in conjunction with Filters. If using MLT, Id should be set. |
否 |
||
Id |
string |
Used when using MLT. |
否 |
||
GuidId |
Guid? |
The GUID representing the content. |
否 |
||
ApplicationId |
Guid? |
The GUID representing the application. |
否 |
||
ContainerId |
Guid? |
The GUID representing the container. |
否 |
||
Category |
string |
Category |
否 |
||
IsContent |
bool? |
Is Content |
否 |
||
IsApplication |
bool? |
Is Application |
否 |
||
IsContainer |
bool? |
Is Container |
否 |
||
PageSize |
int? |
Specify the number of results to return per page. If not set the default is 20. The max is 100. |
否 |
||
PageIndex |
int? |
Specify the page number of paged results to return. Zero-based index. If not specified the default is 0. |
否 |