-
-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add type title to content serializer * Add portal_type title to serializers * Update tests to include the new 'type' field * Translate type * Add changelog * ref #1322: add portal_type id as '@type' to types GET api * Renamed type to type_name * Rename type to type_name in tests * also support portal_type in parent field in dx contents, fix tests * fix(): rename method get_portal_type, remove type_name explicit assignment * refactor(summarySerializer): set type_name in defaultSummarySerializer * refactor(utils): use lookup_fti for getting DX fti efficiently * fix(): remove unused imports * fix: unused import * Update news/1355.feature Co-authored-by: David Glick <[email protected]> * fix(code-analysis): re-format to add whitespace * rename(type_name) -> type-title * Update src/plone/restapi/services/types/get.py Co-authored-by: David Glick <[email protected]> * change(types): @type -> id, fix tests * Refactor get_portal_type_title request getter * Cleanup --------- Co-authored-by: Alin Voinea <[email protected]> Co-authored-by: Nilesh <[email protected]> Co-authored-by: David Glick <[email protected]>
- Loading branch information
1 parent
d40e0bf
commit 04e6982
Showing
50 changed files
with
290 additions
and
106 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 portal_type title (`type_title`) to content response [razvanMiu][nileshgulia1] |
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
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
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
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
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
Oops, something went wrong.