Forum Discussion
Am I looking in the wrong place for sharepoint API documentation?
I'm looking for a straight-forward list of Sharepoint REST API endpoints and methods.
So far I've found little tid-bits of information scattered throughout the official documentation.
For example I can't find any documentation about this URI: _api/web/siteusers
Every API I've dealt with has a full list of every possible endpoint and clear examples of how to use them. SharePoint's documentation is all over the place. There doesn't seem to be any clear structure to the documentation.
I mean look at this: Big Commerce API
And then try to figure out how to get a list of brands from a big commerce store.
Answer: https://api.bigcommerce.com/stores/{store_hash}/v3/catalog/brands
And then look at this: SharePoint API
And then try to find a specific site's user by their email address through an HTTP Request.
Answer: https://{TENAT NAME}/.sharepoint.com/sites/{SITE NAME}/_api/web/siteusers/GetByEmail('{EMAIL})
I got that answer from the Power Automate form btw, 90% of everything I've found about sharepoint's API I've gotten from peoples blogs.
Is there some secret documentation that I don't know about? (if its right in my face the whole time, POINT IT OUT PLEASE!)
Is there a way to search Microsoft documentation which doesn't bombard me with 2,000,000 hits that have nothing to do with my query?
I just want clear docs about the various methods: e.g. "getByTitle('{Title of sharepoint list}')
And the end points for http requests.
Am I forever doomed to search endless blogs and support forums?
Someone please, throw me a bone.
Texas_Technician Check these links:
- Complete basic operations using SharePoint REST endpoints
- Work with lists and list items
- Work with folders and files
- REST API reference and samples - I think this is what you need. From this link, you can find more documentations in left navigation:
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Texas_Technician Check these links:
- Complete basic operations using SharePoint REST endpoints
- Work with lists and list items
- Work with folders and files
- REST API reference and samples - I think this is what you need. From this link, you can find more documentations in left navigation:
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
- Texas_TechnicianCopper Contributor
Wow, thank you. This: https://learn.microsoft.com/en-us/previous-versions/office/developer/sharepoint-rest-reference/jj860569(v=office.15)
Is exactly what I was looking for. And I don't understand why it was so difficult to find.
I was operating off of this: https://learn.microsoft.com/en-us/sharepoint/dev/
And could not locate the reference.
I think my biggest confusion spawned from the fact that there is no clear structure to their docs. And every other article has a disclaimer at the top saying this article applies to SharePoint 2013, but doesn't say it also applies to SPO or SP 2019 etc.
- traywolfCopper Contributor
Texas_Technician
The post and replies to this point to the 2015 version of the REST API and documentation says "no longer being maintained". A more current link would be appreciated.