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

Get multiple Blocks

curl https://mburger.cloud/api/blocks
-H "Accept: application/json" 
-H "X-MBurger-Token: <token>" 
-H "X-MBurger-Version: 3"
MBClient.getBlocks(success: { (blocks, paginationInfo) in
            
                   }, 
                   failure: { error in
            
                   })
val blocksListener = object: MBBlocksResultListener{
            override fun onBlocksApiError(error: String) {
            }

            override fun onBlocksApiResult(blocks: ArrayList<MBBlock>, 
                                           paginationInfos: MBPaginationInfo) {
            }
        }
        
MBurgerTasks.askForBlocks(context = applicationContext, 
                         filters = null,
                         getSections = true,
                         listener = blockListener)

Last updated