Everything attached to an item that is not one of its fields: comments, old URLs, relations to other items, and translations.
The comments examples install plone.app.discussion, and the translations examples install plone.app.multilingual, which is what your site needs too.
Comments, aliases, relations, and translations#
Everything attached to an item that is not one of its fields: comments, old URLs, relations to other items, and translations. The comments examples install
plone.app.discussion, and the translations examples installplone.app.multilingual, which is what your site needs too.Each example uses the
clientfrom How to read these pages.client.comments#CommentsManager.Comments on an item (
@comments).client.comments.create#Add a comment, or a reply to a comment.
See
create().Calls
POST /news/release-6-2/@comments(plone.restapidocumentation).The site answers
204, and the method returnsNone.client.comments.list#Comments of an item.
See
list().Calls
GET /news/release-6-2/@comments(plone.restapidocumentation).This shows only
author_username,textof each entry.client.comments.update#Change the text of a comment.
See
update().Calls
GET /news/release-6-2/@comments,PATCH /news/release-6-2/@comments/1793728542687396(plone.restapidocumentation).The site answers
204, and the method returnsNone.client.comments.delete#Delete a comment.
See
delete().Calls
GET /news/release-6-2/@comments,DELETE /news/release-6-2/@comments/1793728542687396(plone.restapidocumentation).The site answers
204, and the method returnsNone.client.aliases#AliasesManager.URL aliases and redirections (
@aliases).client.aliases.create#Add aliases to an item.
See
create().Calls
POST /news/release-6-2/@aliases(plone.restapidocumentation).The site answers
204, and the method returnsNone.client.aliases.list#Aliases of an item, or every redirection of the site.
See
list().Calls
GET /news/release-6-2/@aliases(plone.restapidocumentation).This shows only
items,items_total. This shows onlypathof each entry.client.aliases.delete#Remove aliases.
See
delete().Calls
DELETE /news/release-6-2/@aliases(plone.restapidocumentation).The site answers
204, and the method returnsNone.client.aliases.create_redirects#Add redirections on the site root.
See
create_redirects().Calls
POST /@aliases(plone.restapidocumentation).The site answers
204, and the method returnsNone.client.relations#RelationsManager.Relations between items (
@relations).client.relations.create#Create relations.
See
create().Calls
POST /@relations(plone.restapidocumentation).The site answers
204, and the method returnsNone.client.relations.stats#Number of relations of each kind.
See
stats().Calls
GET /@relations(plone.restapidocumentation).This shows only
stats,broken.client.relations.list#Relations matching a filter.
See
list().Calls
GET /@relations(plone.restapidocumentation).This shows only
items_total.client.relations.delete#Delete relations, listed one by one or by filter.
See
delete().Calls
DELETE /@relations(plone.restapidocumentation).The site answers
204, and the method returnsNone.client.relations.rebuild#Rebuild the relation catalog.
See
rebuild().Calls
POST /@relations/rebuild(plone.restapidocumentation).The site answers
204, and the method returnsNone.client.translations#TranslationsManager.Translations of an item (
@translations).client.translations.link#Link an existing item as a translation.
See
link().Calls
POST /en/about-us/@translations(plone.restapidocumentation).{}client.translations.get#Translations linked to an item.
See
get().Calls
GET /en/about-us/@translations(plone.restapidocumentation).This shows only
@id,items. This shows only@id,languageof each entry.client.translations.locate#Where a translation into a language should be created.
See
locate().Calls
GET /en/about-us/@translation-locator(plone.restapidocumentation).client.translations.unlink#Remove the link to the translation in a language.
See
unlink().Calls
DELETE /en/about-us/@translations(plone.restapidocumentation).The site answers
204, and the method returnsNone.