Create a StorageConnection that describes files from Storage to synchronize to the iModel.
Authorization header with valid Bearer token for scope
For more documentation on authorization and how to get access token visit OAUTH2 Authorization page.
A connection is linked with an iModel. An iModel ID is required to be set when creating a StorageConnection.
OAuth access token with scope
application/vnd.bentley.itwin-platform.v1+json is recommended.
Response 201 Created
Connection successfully created.
Response 401 Unauthorized
This response indicates that request lacks valid authentication credentials. Access token might not been provided, issued by the wrong issuer, does not have required scopes or request headers were malformed.
Response 409 Conflict
One or more SourceFiles are already mapped to the iModel.
Response 422 Unprocessable Entity
Invalid request to create connection. Request payload might be missing some of the required properties.
Response 429 Too many requests
This response indicates that the user has sent too many requests in a given amount of time.
The number of requests exceeds the rate-limit for the client subscription.