MBurger Headless CMS
User GuideCMS HeadlessEngagement Platform
  • ๐Ÿ”MBurger Documentation๐Ÿ”
  • ๐Ÿ”‘ API
    • Introduction
      • Getting Started
      • Structure
    • Common Path
      • Basics
      • POST Bodies
      • POST Relations
      • Evaluating Responses
    • API Authentication
    • Project
    • Blocks
      • Get Blocks
      • Get Block
    • Sections
      • Get Sections
      • Get Section
      • Create Section
      • Update Section
      • Delete Section
    • Media
      • Get All Media
      • Upload Media
      • Get Media
      • Delete Media
    • Integrations / Extensions
      • Authentication Provider
        • Registration
        • Login
        • Logout
        • Get Profile
        • Update Profile
        • Delete Profile
        • Change Password
        • Forgot Password
      • Live Messages
        • Get All Live Messages
        • Send Live Message
        • Delete Live Message
      • In-App Subscriptions
        • InApp Subscription
        • Resume InApp Subscription
      • Shopify
        • Create a Shopify private app
        • Enable Shopify in MBurger
        • Collections Editor
      • Stripe
        • Create Customer
        • Get Cards
        • Create Card
        • Make Default
        • Delete Card
        • Subscription
        • Cancel Subscription
        • Resume Subscription
        • Payment
    • Going Deeper
      • Available Data Types (Elements)
  • ๐Ÿ“ฑ Android SDK
    • Introduction
    • Installation
    • Initialization
    • Fetch for blocks
    • Fetch sections from blocks
    • Mapping to custom objects
    • Admin
      • Delete a Section/Media
      • Create a new Section
      • Update an existing Section
    • Auth
      • Register a new user
      • Authenticate a user
      • User profile
      • Edit profile
      • Other features
    • Proguard Rules
    • Plugins
    • Sample Apps
      • MBurger Explorer
      • MBurger Radio
    • MBurger Apps
  • ๐Ÿ iOS SDK
    • Introduction
    • Installation
    • Initialization
    • Fetch the project
    • Fetch blocks
    • Fetch sections
    • Media
    • Encoding & Decoding
    • Serialization & Equality
    • Admin
      • Add/Edit a section
      • Delete a section
      • Upload media
      • Delete a media
    • Auth
      • Register a user
      • Authenticate a user
      • Retrieve user information
      • Update user profile
    • Plugins
    • Sample Apps
      • MBurger Explorer
      • MBurger Radio
    • MBurger Apps
  • ๐Ÿ’ป PHP SDK
    • Installation & Configuration
    • How to use
    • Support & Feedback
    • License
  • โ˜• JavaScript SDK
    • Introduction
    • Installation
    • Configuration
    • Methods Reference
    • Support & Feedback
    • License
  • ๐Ÿ”ทFlutter SDK
    • Installation
    • Initialization
    • Fetch the project
    • Fetch blocks
    • Fetch sections
    • Media
    • Admin
      • Add/Edit a section
      • Delete a section
      • Upload a media
      • Delete a media
    • Auth
      • Register a user
      • Authenticate a user
      • Retrieve user information
      • Update user profile
  • โ“How to?
    • Basic interactions
      • Blocks
        • Get a Single Block
        • Get multiple Blocks
      • Sections
        • Get a single Section
        • Get Multiple Sections
        • Create a Section
        • Update a Section
        • Delete a Section
    • Advanced section retrieval
      • Filter sections
      • Obtain distance from a section
      • Manage locales and the fallback language
      • Get a section by SLUG
      • Obtain only sections with a defined relation
    • Advanced section creation
      • Create a section with a relation
      • Set the value of a checkbox element
      • Create a section with a multiple or dropdown element
      • Create a section with a SLUG
      • Create a section with SEO
      • Send or schedule a push when creating a section
    • Set the visibility of a section
    • Get images with various format
  • ๐Ÿ‘ป Sample App
    • Introduction
    • Create an MBurger project
    • Create Home, News and Gallery blocks
    • Create the project
    • Setup the SDK
    • Query the API for items
    • Map your objects from MBurger objects
    • Implement push notifications
    • Take a bite
Powered by GitBook
On this page
  • SEO
  • Slug

Was this helpful?

  1. API
  2. Going Deeper

Available Data Types (Elements)

The following table contains all available elements.

Element

Description

Text

Simple text field like a title.

Textarea

Longer multiline text field like a content or a description.

Markdown

It's like a textarea but supports all markdown features.

Checkbox

Checkbox that can assume 2 states.

Image

An image file.

Audio

An audio file.

Video

A video file.

Document

A readable document file like .txt, .docx, .pptx etc.

File

A generic file like .zip, .ipa, .apk etc.

Datetime

Field containing a datetime.

Address

Text field containing an address with automatic reverse geocoding to retrieve the coordinates.

Dropdown

Dropdown with multiple choices, of which only one is selectable.

Multiple

Similar to Dropdown but you can select multiple values.

Relation

With this element you can create relations between your data.

SEO

For every section, it is possible to specify SEO meta fields.

Multiple

With multiple select element you can easily set multiple choices. This component is ideal for add categories inside a blog or segment the clients where you want to spread out your contents.

Color

With color picker element you can easily choose a color in hex format.

Custom

With Custom element you can easily add any data to your sections.

SEO

With the SEO element, it is possible to specify several meta fields such as title, description, keywords and image.

In this way, you can take advantage of SEO optimizations performed by search engines to better index your content.

An API response example:

"value": {
    "title": "SEO Title",
    "keywords": ["Some", "SEO", "keywords"],
    "description": "SEO Description",
    "image": {
        "id": 1,
        "url": "https://cdn.mburger.cloud/storage/1/conversions/image-medium.jpg",
        "size": 45166,
        "mime_type": "image/jpeg"
    }
}

Slug

Slug element is present by default and allows a specification of a textual ID for sections.

It can be used to request sections instead of a classic numeric ID.

An API response example:

"value": "slug-of-your-section"
PreviousGoing DeeperNext Android SDK

Last updated 3 years ago

Was this helpful?

๐Ÿ”‘