Hi,
I can see the new json api endpoint when I know the correct path but the endpoint doesn't seem discoverable.
For example I can't see the menu_items link in http://example.com/jsonapi.
I'm using the gatsby drupal source plugin and I think that crawls through the jsonapi link to get content.
Cheers Dan
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | Screen Shot 2021-04-15 at 9.35.18 am.png | 281.68 KB | deciphered |
Issue fork jsonapi_menu_items-3205065
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
larowlanPlease use https://github.com/larowlan/gatsby-source-drupal-menu-links/ with Gatsby
Comment #3
decipheredPatches welcomed, see the related issue for some context.
Comment #4
danharper commentedI can provide a patch but that would mean this module has a dependency on an another module so two in total.
Is that ok?
Comment #5
decipheredIdeally it shouldn’t be a dependency, but rather an optional feature; e.g., if the module is present then the link is added.
Comment #7
decipheredAdded support for the JSON:API Hypermedia module:
Comment #8
larowlanLooks good to me, nice test coverage
Comment #10
decipheredCommitted, will be in the next release.