curtisp
curtisp

Reputation: 2325

OneDrive API - Sharepoint - Make calls against a URL root

Referring to OneDrive API documentation here, the section Make calls against a URL root has table that references to the SharePoint Online Service noting its url is:

https://{tenant}.sharepoint.com/{site-relative-path}/_api/v2.0

What does the {site-relative-path} refers to?

Upvotes: 2

Views: 143

Answers (1)

user3862271
user3862271

Reputation: 44

Not sure how familiar you are with SharePoint but {site-relative-path} is the relative path to the Team Site. So if you have a Team site called "Contoso" and it is located at https://testTenant.sharepoint.com/sites/contoso then the relative path would be /sites/contoso

Upvotes: 2

Related Questions