Microsoft 365 : SharePoint Online – Frequently used REST APIs – Part 3

Hi All,
Greetings for the day!!!
While doing SharePoint / Power Platform / Teams development we most of the time need to use REST APIs and then need to google. This is the reason – birth of these series of articles. Thought to keep all REST APIs together so that whenever need can find quickly.
This is part 3 in series. First part is here – Frequently used REST APIs – Part 1
Second part – Frequently used REST APIs – Part 2
Get the respective SharePoint site details
https://{site_url}/_api/site
Example : https://knowledgejunction1.sharepoint.com/_api/site

To get the Title of the web
web/title
Example : https://knowledgejunction1.sharepoint.com/_api/web/title

Get current user details – user profile properties
https://{site_url}/_api/SP.UserProfiles.PeopleManager
Example : https://knowledgejunction1.sharepoint.com/_api/SP.UserProfiles.PeopleManager/GetMyProperties


Search REST APIs
https://{site_url}/_api/search
Example :
https://knowledgejunction1.sharepoint.com/_api/search/query?querytext='sharepoint'


Get the details of specific list field details from field title
https://{site_url}/_api/web/lists/getByTitle('{List Title}')/fields/getByTitle('FieldTitle')
Example :
https://knowledgejunction1.sharepoint.com/_api/web/lists/getByTitle('KJPeoplePickerDemo')/fields/getByTitle('Title')

Get the details of specific list field details from field guid
https://{site_url}/_api/web/lists('{list_guid}')/fields/getById('{guid}')
Example :
https://knowledgejunction1.sharepoint.com/_api/web/lists('16d6068a-13e6-4b5d-8978-0b3980536e81')/fields/getById('fa564e0f-0c70-4ab9-b863-0177e6ddd247')

Get all available templates for the respective WEB
https://{site_url}/_api/web/getAvailableWebTemplates(lcid=1033, includeCrossLanguage=true)
Example :
https://knowledgejunction1.sharepoint.com/_api/web/getAvailableWebTemplates(lcid=1033)

Thanks for reading !!! If its worth at least reading once, kindly please like, subscribe and share !! SHARING IS CARING 🙂
Enjoy the beautiful life !!! Have a FUN !!! HAVE A SAFE LIFE !!! TAKE CARE 🙂
You must be logged in to post a comment.