Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-110427

Create, update and delete navigation menus through an API

    Details

      Description

      As a developer

      I want to create/update/delete navigations through a REST API

      so that I can automate my processes and create custom interfaces

       

      Acceptance criteria

       

      Given a site

      When a dev performs a POST query to http://localhost:8080/o/headless-delivery/v1.0/sites/Guest/navigation-menus

      Then a navigation menu is created

       

      Given a site

      When a dev performs a POST query to http://localhost:8080/o/headless-delivery/v1.0/sites/Guest/navigation-menus for a language different from the default one

      Then an error is returned (POST works only for the default language unless using the X-Accept-Language)

      Given a site

      When a dev performs a PUT query to an existing navigation menu

      Then the navigation menu is updated

       

      Given a site

      When a dev performs a PUT query with a new language to an existing navigation menu

      Then the navigation menu translation is added

       

      Given a site

      When a dev performs a DELETE query to an existing navigation menu

      Then the navigation menu is deleted

        Attachments

          Activity

            People

            Assignee:
            manoel.cyreno Manoel Cyreno
            Reporter:
            pablo.agulla Pablo Agulla
            Engineering Assignee:
            Luis Miguel Barcos
            Recent user:
            Kiyoshi Lee
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                Master