For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get a section by SLUG

curl https://mburger.cloud/api/sections/<slug>?use_slug=true
-H "Accept: application/json" 
-H "X-MBurger-Token: <token>" 
-H "X-MBurger-Version: 3"
MBClient.getSection(withSlug: "SLUG_OF_THE_SECTION",
                    success: { section in
                                
                    },
                    failure: { error in
                                
                    })
val sectionWSlugListener = object: MBSectionWithSlugResultListener{
            override fun onSectionApiError(error: String) {
            }

            override fun onSectionApiResult(section: MBSection, 
                                            slug: String) {
            }
        }
        
MBurgerTasks.askForSectionWithSlug(context = applicationContext, 
                         slug = SECITON_SLUG,
                         getElements = true,
                         listener = sectionWSlugListener)

Last updated