-
-
Notifications
You must be signed in to change notification settings - Fork 570
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improved docs of Plone REST API JavaScript Client #5576
Open
Hrittik20
wants to merge
10
commits into
plone:main
Choose a base branch
from
Hrittik20:main
base: main
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
bd91362
Improved docs of Plone REST API JavaScript Client
Hrittik20 152fea7
Merge branch 'main' into main
Hrittik20 16bfa50
Merge branch 'plone:main' into main
Hrittik20 a14490d
Merge branch 'plone:main' into main
Hrittik20 d51e1fb
Converted unordered list to field list
Hrittik20 bd62fc0
Merge branch 'main' of https://github.com/Hrittik20/volto
Hrittik20 db488ed
Merge branch 'plone:main' into main
Hrittik20 037c45e
Updated unordered list to field list
Hrittik20 86e01ff
Merge branch 'plone:main' into main
Hrittik20 80bf229
Merge branch 'plone:main' into main
Hrittik20 File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
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
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -2,9 +2,10 @@ | |||||
|
||||||
A mechanism to redirect old URLs to new ones. | ||||||
|
||||||
When an object is moved (renamed or cut/pasted into a different location), the redirection storage will remember the old path. It is smart enough to deal with transitive references (if we have a -> b and then add b -> c, it is replaced by a reference a -> c) and circular references (attempting to add a -> a does nothing). | ||||||
When an object is moved (renamed or cut/pasted into a different location), the redirection storage will remember the old path. | ||||||
Handles transitive references (for example a -> b, b -> c becomes a -> c) and ignores circular ones (for example attempting a -> a has no effect). | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
## Get Aliases List | ||||||
## Get aliases list | ||||||
|
||||||
### Query function | ||||||
|
||||||
|
@@ -14,7 +15,7 @@ Use the `getAliasesListQuery` function to get the query for fetching the aliases | |||||
|
||||||
Use the `useGetAliasesList` hook to get the aliases list. | ||||||
|
||||||
## Get Aliases | ||||||
## Get aliases | ||||||
|
||||||
### Query function | ||||||
|
||||||
|
@@ -30,15 +31,15 @@ Use the `useGetAliases` hook to get the aliases for a page. | |||||
|
||||||
- **Required:** Yes | ||||||
|
||||||
## Add Aliases for Multiple Pages | ||||||
## Add aliases for many pages | ||||||
|
||||||
### Mutation function | ||||||
|
||||||
Use the `createAliasesMutation` function to get the mutation for adding aliases for multiple pages. | ||||||
Use the `createAliasesMutation` function to get the mutation for adding aliases for many pages. | ||||||
|
||||||
### Hook | ||||||
|
||||||
Use the `useCreateAliases` hook to add aliases for multiple pages. | ||||||
Use the `useCreateAliases` hook to add aliases for many pages. | ||||||
|
||||||
### Parameters | ||||||
|
||||||
|
@@ -64,7 +65,7 @@ Use the `useCreateAliases` hook to add aliases for multiple pages. | |||||
|
||||||
- **Required:** Yes | ||||||
|
||||||
## Add Aliases for a Page | ||||||
## Add aliases for a page | ||||||
|
||||||
### Mutation function | ||||||
|
||||||
|
@@ -94,7 +95,7 @@ Use the `useCreateAliases` hook to add aliases for a page. | |||||
|
||||||
- **Required:** Yes | ||||||
|
||||||
## Delete Aliases | ||||||
## Delete aliases | ||||||
|
||||||
### Mutation function | ||||||
|
||||||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Breadcrumbs | ||
|
||
## Get Breadcrumbs | ||
## Get breadcrumbs | ||
|
||
### Query function | ||
|
||
|
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.