Sha256: ffa484c0793f1aa2c77a513b7e2888e3275c9f5ec026012c25919b24ea79d19f

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents


#GET /navigation/main:
{
 links: {
   self: "/navigation/main"
  },
  data: [

    # a top-level menu item
    {
      links : {}
      data : {
        name: "Services",
        url: 'services',
        type: [ 'page' | 'raw_url' ]
        children: [

          # a sub-menu item under "Services"
          {
            links: {},
            data: {
              name: "Startup MVPs",
              url: '/startup-mvps',
              type: [ 'page' | 'raw_url' ],
              # no children - key omitted
            }
          },
          {
            links: {},
            data: {
              name: "Code Rescue",
              url: '/code-rescue'
              type: [ 'page' | 'raw_url' ]
              # no children - key omitted
            }
          },

        ]
      }
    },

    # a top-level menu item with an external link
    {
      links : {}
      data : {
        name: "About Web Security",
        url: 'https://www.owasp.org/index.php/Main_Page',
        type: 'raw_url',
        # no children - key ommitted
      }
    }
  ]
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xing-framework-0.0.2 default_configuration/base_app/API_DOC/navigation