equal
deleted
inserted
replaced
189 `title`: new title of the text<br /> |
189 `title`: new title of the text<br /> |
190 `format`: new format content ('markdown', 'html')<br /> |
190 `format`: new format content ('markdown', 'html')<br /> |
191 `content`: new content (in specified format)<br /> |
191 `content`: new content (in specified format)<br /> |
192 `note`: note to add to edit<br /> |
192 `note`: note to add to edit<br /> |
193 `new_version`: boolean: should a new version of the text be created?<br /> |
193 `new_version`: boolean: should a new version of the text be created?<br /> |
194 `keep_comments`: boolean: should existing comments be keep (if possible)?<br /> |
194 `keep_comments`: boolean: should existing comments be kept (if possible)?<br /> |
|
195 `cancel_modified_scopes`: if set to 1, existing comments without scope in a new version are detached, otherwise they are deleted<br /> |
195 """ |
196 """ |
196 |
197 |
197 @staticmethod |
198 @staticmethod |
198 def endpoint(): |
199 def endpoint(): |
199 return URL_PREFIX + '/text/{key}/edit/' |
200 return URL_PREFIX + '/text/{key}/edit/' |