Content Publishing

Create, edit, and publish content entries through the Meshbase admin interface or API. Manage your content lifecycle from draft to published.

Creating Content

Step 1: Select Content Type

Navigate to Content Manager and select the content type you want to create an entry for (e.g., Blog Posts, Products).

Step 2: Create New Entry

Click "Create new entry" and fill in the fields according to your content type schema.

Step 3: Save or Publish

Save as draft to continue editing later, or publish immediately to make it available via the API.

Draft vs Published Status

Draft

Content saved as draft is only visible in the admin interface and not returned by the public API.

  • Visible only to team members
  • Can be edited freely
  • Perfect for work in progress

Published

Published content is available via the API and can be consumed by your frontend applications.

  • Visible to end users
  • Can still be edited
  • Can be unpublished anytime

Editing Content

Edit existing content entries at any time, whether they're in draft or published status.

Via Admin Interface

Click on any entry in the Content Manager to open the editor. Make your changes and save or publish.

Via API

Update content programmatically using PUT requests:

PUT https://api.meshbase.io/v1/blog-posts/123
Content-Type: application/json

{
  "title": "Updated Title",
  "content": "Updated content...",
  "published": true
}

Recommended Workflow

  1. Create content entry and save as draft
  2. Review and edit content as needed
  3. Add media and configure all fields
  4. Preview content (if preview feature is available)
  5. Publish when ready to go live
  6. Monitor and update as needed
  7. Unpublish or delete when content is no longer relevant

Best Practices

  • Use drafts for content that's not ready to be published
  • Fill in all required fields before publishing
  • Add SEO-friendly slugs and meta descriptions
  • Review content before publishing to catch errors
  • Use scheduled publishing for time-sensitive content (if available)
  • Regularly audit and update published content
  • Archive or delete outdated content to keep your CMS clean