Can't get a site's pages via API #31
Answered
by
sskylar
petealbertson
asked this question in
Community Support
|
I've been testing the Siteleaf API in my terminal using the sample requests provided in the v1 API documentation. All is well authenticating and getting a list of my sites. But when I went to hit the pages.json endpoint, it returns an error: When I then use the v2 path as it suggests, it returns another error: I couldn't find any v2 API documentation so I'm somewhat confused as to if it even exists or is structured the same as v1. What am I missing here? |
Answered by
sskylar
Feb 10, 2022
Replies: 1 comment
|
@petealbertson Here is the documentation for the v2 API: https://learn.siteleaf.com/api/ Specifically, here's how to get Pages: https://learn.siteleaf.com/api/pages/ |
0 replies
Answer selected by
sskylar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@petealbertson Here is the documentation for the v2 API: https://learn.siteleaf.com/api/
Specifically, here's how to get Pages: https://learn.siteleaf.com/api/pages/