-
-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add query param to search registry records.
- Loading branch information
Showing
7 changed files
with
95 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add search param to querystring for registry listing. @Faakhir30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
src/plone/restapi/tests/http-examples/registry_get_list_filtered.req
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
GET /plone/@registry?q=Products.CMFPlone HTTP/1.1 | ||
Accept: application/json | ||
Authorization: Basic YWRtaW46c2VjcmV0 |
57 changes: 57 additions & 0 deletions
57
src/plone/restapi/tests/http-examples/registry_get_list_filtered.resp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
HTTP/1.1 200 OK | ||
Content-Type: application/json | ||
|
||
{ | ||
"@id": "http://localhost:55001/plone/@registry?q=Products.CMFPlone", | ||
"items": [ | ||
{ | ||
"name": "Products.CMFPlone.i18nl10n.override_dateformat.Enabled", | ||
"schema": { | ||
"properties": { | ||
"description": "Override the translation machinery", | ||
"factory": "Yes/No", | ||
"title": "Enabled", | ||
"type": "boolean" | ||
} | ||
}, | ||
"value": false | ||
}, | ||
{ | ||
"name": "Products.CMFPlone.i18nl10n.override_dateformat.date_format_long", | ||
"schema": { | ||
"properties": { | ||
"description": "Default value: %Y-%m-%d %H:%M (2038-01-19 03:14)", | ||
"factory": "Text line (String)", | ||
"title": "old ZMI property: localLongTimeFormat", | ||
"type": "string" | ||
} | ||
}, | ||
"value": "%Y-%m-%d %H:%M" | ||
}, | ||
{ | ||
"name": "Products.CMFPlone.i18nl10n.override_dateformat.date_format_short", | ||
"schema": { | ||
"properties": { | ||
"description": "Default value: %Y-%m-%d (2038-01-19)", | ||
"factory": "Text line (String)", | ||
"title": "old ZMI property: localTimeFormat", | ||
"type": "string" | ||
} | ||
}, | ||
"value": "%Y-%m-%d" | ||
}, | ||
{ | ||
"name": "Products.CMFPlone.i18nl10n.override_dateformat.time_format", | ||
"schema": { | ||
"properties": { | ||
"description": "Default value: %H:%M (03:14)", | ||
"factory": "Text line (String)", | ||
"title": "old ZMI property: localTimeOnlyFormat", | ||
"type": "string" | ||
} | ||
}, | ||
"value": "%H:%M" | ||
} | ||
], | ||
"items_total": 4 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters