Share
Retrieves the details of a Share.
iModels Share API provides a way to publicly share an iModel. Each Share instance has a shareKey
property which allows anonymous access to the shared iModel using iModels API.
To use the shareKey
to access the iModel one has to provide shareKey
via Authorization
header: Authorization: Basic {shareKey}
, when calling iModels API.
All Share operations interact only with the Share instances that the calling user has created. E.g. querying iModel Shares will not return all the Shares iModel has, but only the Shares which were created by the user who is calling the API.
Authentication
Requires Authorization
header with valid Bearer token for scope imodels:read
.
For more documentation on authorization and how to get access token visit OAUTH2 Authorization page.
Authorization
User must have imodels_webview
permission assigned at the iModel level and at least imodels_webview
permission assigned at the iTwin level. If permissions at the iModel level are not configured, then user must have imodels_webview
permission assigned at the iTwin level.
Alternatively the user should be an Organization Administrator for the Organization that owns a given iTwin the iModel belongs to.
An Organization Administrator must have at least one of the following roles assigned in User Management: Account Administrator, Co-Administrator, or CONNECT Services Administrator. For more information about User Management please visit our Bentley Communities Licensing, Cloud, and Web Services wiki page.
Important: Share operations are in closed preview mode currently. Hence only selected applications can utilize the Share API.
Rate limits
All iTwin Platform API operations have a rate limit. For more documentation on that visit Rate limits and quotas page.