Problem/Motivation

Drupal needs to consider what other headless CMSs have done and why, when providing decoupled menus.

Proposed resolution

Get information on how menus are provided in various headless CMSs:

- CMS name
- Does it provide menus?
- Are the menus available via an API?
- What technology is used?
- What data is made available?
- Screenshots / Code example

Remaining tasks

1. Build a list of headless CMSs.
2. Evaluate CMSs.

Comments

Deciphered created an issue.

deciphered’s picture

Providers list from meeting notes:

- Strapi.io (OSS)
- Prismic
- Sanity.io
- Contentful
- WordPress (OSS)
- Netlify

deciphered’s picture

Name: Prismic

Does it provide menus: No, but there is a recommended workaround. https://user-guides.prismic.io/en/articles/1075048-creating-a-2-level-na...

Are the menus available via an API: Yes, as above.

What technology is used: Rest API: https://prismic.io/docs/technologies/the-rest-api-browser

What data is made available:
Each item has a link_type field, which determines the format of the object.

This is an example Document link type:

{
  "sub_nav_link_label": [
    {
      "type": "paragraph",
      "text": "Link",
      "spans": []
    }
  ],
  "sub_nav_link": {
    "id": "X9C9oxAAACEARWM0",
    "type": "test",
    "tags": [],
    "slug": "test",
    "lang": "en-us",
    "link_type": "Document",
    "isBroken": false
  }
}