Admin Appearance: Sections
Copy a section
Changed onCopies a section and its content into the same theme and channel. The copy is created switched off. Read the copy back with the section endpoint.
post/appearance/sections/{id}/duplicate
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Section ID to copy
Request body
object required
Response
Section copied.
Changes
- breaking
removed the media type
text/htmlfrom the request body - warning
removed the request property
- info
request body became optional
- breaking
- info
endpoint added
- info