This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Microsoft Fabric REST APIs allow users and developers to automate common actions and programmatically interact with Fabric. This allows teams and organizations to develop solutions that can scale and integrate with other parts of their systems.
Before today, OneLake shortcuts could only be created using the Fabric web experience. This meant that our users were limited to interactively creating and managing shortcuts through the web. We’ve heard from Fabric and OneLake users and developers that you need a way to work with shortcuts programmatically.
Today, Microsoft OneLake is introducing new REST APIs that allow programmatic creation and management of shortcuts!
With this initial Preview release of the OneLake shortcuts REST APIs, we’ve introduced three new operations:
The reference material for the new OneLake REST API operations can be found here, and a walkthrough with examples can be found here.
POST https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/items/{itemId}/shortcuts
{
"path": "Files/landingZone", //path to shortcut parent directory
"name": "Contoso_Products ", //shortcut directory name
"target": {
"adlsGen2": {
"location": "https://contosoadlsaccount.dfs.core.windows.net", //ADLS Gen2 account endpoint
"subpath": "/mycontainer/data/ProductsLatest", //path to target directory (including container)
"connectionId": "91324db9-8dc4-4730-a1e5-bafabf1fb91e" //cloud connection ID for the ADLS Gen2 account with the same location
}
}
}
We expect these APIs will help you programmatically interact with OneLake and Fabric. As always, we appreciate your feedback and ideas for future improvements. Please submit any feedback or suggestions at Microsoft Fabric Ideas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.