我可以通过创建新的"视图"并设置以 JSON 格式返回的响应来获取自定义内容的记录列表
现在我想发送一个包含 1 个或多个参数的 get 请求,并且只返回字段与我的参数匹配的记录子集
例如 : www.exmample.com/rest/view/customcontent?city=paris
我该怎么做?
您可以在视图中创建筛选器(添加筛选条件)。使其公开,并根据您希望在 URL 中包含的内容更改"筛选器标识符"字段。