Update iModel Creation Endpoint.#146
Conversation
|
I do not understand this PR. |
These properties are required by the iModel creation endpoint to send additional information along with iModel creations. Please go through the iModel Endpoint documentation.
These will be used in consuming application, When a consumer needs to add relevant property, he needs to send those in the component via props. |
What? |
This component has UI to use the API. |
These properties are not required at all. Old way of creating imodel is still supported (and will be till new major version API). Can you share full picture what is going to happen with this component in use in your application? |
|
The main objective of this PR is to enable the consuming side to pass additional attributes — such as These properties are utilized within the The UI for these inputs exists on the consuming side and is passed as children to the Here, we are simply using the CreateIModel component to accept additional props, which can then be included in the body of the request sent to the iModel Creation API (in the example above, we’re sending geographicCoordinateSystem). I understand your concern that these props aren't directly used within the component itself. The challenge we're facing is that currently there's no way to include extra attributes in the request body that the If this approach feels confusing, we can alternatively expose a single prop— |
|
Had a discussion with Vykintas, will raise a separate PR with extending http request body for only the required properties. |
The iModel Creation Endpoint have added the following attributes:
The default
Create an empty instantly initialized iModelis deprecated.With the new Endpoint changes, While Creation client must send
creationMode: 'empty'in the body of request.Changes:
creationMode,template,baselineFile&geographicCoordinateSystem.creationModeto empty , allowing backward compatibility for already consuming app.