Content API Collection #4334
Unanswered
tomlongo
asked this question in
Troubleshooting
Replies: 1 comment 3 replies
-
Have you enabled https://github.com/statamic/statamic/blob/master/config/statamic/api.php#L22 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to experiment with the Content API but the tree endpoints are not returning anything, eg:
Endpoints:
/api/collections/pages/tree
/api/navs/primary/tree
Response:
Some endpoints do work, however, for example:
/api/collections/pages/entries/xxxx-xxxx-xxxx
-- this one works ok/api/globals
-- works OKI may have configured things wrong. Is this the correct setup in
config/statamic/api.php
?Not sure if that is right?
Beta Was this translation helpful? Give feedback.
All reactions