menus/{app}/items

POST {{base_url}}/{{base_path}}/menus/:app/items

Generated from a curl request: curl -X POST '{{baseurl}}/{{basepath}}/menus/{{app}}/items' -H 'X-Joomla-Token: {{authapikey}}' -H 'Content-Type: application/json' -d '{access:1,alias:,"associations":{"en-GB":,fr-FR:"},browserNav:0,componentid:20,home:0,language:*,link:index.php?option=comcontent&view=form&layout=edit,menutype:mainmenu,note:,params:{cancelredirectmenuitem:,catid:,customcancelredirect:0,enablecategory:0,menu-anchorcss:,menu-anchortitle:,menu-metadescription:,menu-metakeywords:,menuimage:,menuimagecss:,menushow:1,menutext:1,pageheading:,pagetitle:,pageclasssfx:,redirectmenuitem:,robots:,showpageheading:},parentid:1,publishdown:,publishup:,published:1,templatestyleid:0,title:title,togglemodulesassigned:1,togglemodulespublished:1,type:component"}'

Request Body

{"access"=>"1", "alias"=>"", "associations"=>{"en-GB"=>"", "fr-FR"=>""}, "browserNav"=>"0", "component_id"=>"20", "home"=>"0", "language"=>"*", "link"=>"index.php?option=com_content&view=form&layout=edit", "menutype"=>"mainmenu", "note"=>"", "params"=>{"cancel_redirect_menuitem"=>"", "catid"=>"", "custom_cancel_redirect"=>"0", "enable_category"=>"0", "menu-anchor_css"=>"", "menu-anchor_title"=>"", "menu-meta_description"=>"", "menu-meta_keywords"=>"", "menu_image"=>"", "menu_image_css"=>"", "menu_show"=>"1", "menu_text"=>"1", "page_heading"=>"", "page_title"=>"", "pageclass_sfx"=>"", "redirect_menuitem"=>"", "robots"=>"", "show_page_heading"=>""}, "parent_id"=>"1", "publish_down"=>"", "publish_up"=>"", "published"=>"1", "template_style_id"=>"0", "title"=>"title", "toggle_modules_assigned"=>"1", "toggle_modules_published"=>"1", "type"=>"component"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring