Mar 05 2024 08:42 AM - edited Mar 05 2024 08:43 AM
Hi,
I am working with GRAPH and some SharePoint Pages.
I am running into a problem when trying to upload a page and it is that the endpoint for the creation of pages does not provide a way of placing my page inside a folder.
For example I would like to create a page inside a folder called /Test. Is there some place in the endpoint where I would need to write /test as a folder?
The endpoint that I am currently using is this one: POST /sites/{site-id}/pages
I have tried posting to /sites/{site-id}/pages/test but that does not work.
Reference to the documentation I am following: https://learn.microsoft.com/en-us/graph/api/sitepage-create?view=graph-rest-beta&tabs=http