update_content_by_path
Update website content by specifying its URL path instead of ID. Modify titles, text, metadata, and publish status when you know the page URL but not its database identifier.
Instructions
Update content identified by its URL path instead of its ID. Useful when you know the page URL but not the MongoDB ID.
Example: {"path": "/about", "title": "About Us", "data": {"body": "Updated content"}}
Only the fields you provide are changed. Always include a version_comment describing what changed.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Content category | |
| data | No | Field values to update | |
| meta_description | No | SEO meta description | |
| og_image | No | Open Graph image URL | |
| path | Yes | URL path of the content to update (e.g. /about or /blog/my-post),required | |
| published | No | Publish state | |
| tags | No | Tags for lc:query index pages | |
| title | No | New title | |
| version_comment | No | Version comment |