Find the OneDrive, SharePoint or Teams file behind a link
Changed onTurns a OneDrive, SharePoint or Teams file link the member can open into the item's driveId and id, for reading, pulling or saving it. Read-only; files outside the member's own OneDrive need the all-files permission.
Request
- Base URL: https://api.openworklabs.com
- URL: https://api.openworklabs.com/v1/capabilities/microsoft-365/drive-item-by-link
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
Query parameters
The file's OneDrive, SharePoint or Teams link.
Response
The linked item.
Changes
- breaking
for the
queryrequest parameterurl, the format changed fromuritostarts_with - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - info
response property
anyOf[InvalidRequestError]/details/items/path/items/list-of-types was narrowed by removing typesnumberfrom media typeapplication/jsonof response400 - info
response property
anyOf[subschema #2]/currentRevisionlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response409 - info
response property
anyOf[subschema #2]/modifiedTimelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response409 - info
response property
file/sizelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200
- breaking
- info
endpoint added
- info