Hi,
I'm looking for the way how to import a new schema to the Insight by REST.
I found this info:
https://documentation.riada.io/insight/latest/import-rest-29324706.html
I will be appreciated for any advice on how to use it and load objects from CSV (exported from the Insight).
Thank you
Hi Wojciech,
To clarify, the link you posted explains that you can trigger an import within Insight using the REST API. So if you have a CSV import that is already setup for a specific schema , you can trigger that import to start and check its status using the commands from the link you posted.
Currently, we don't have an option from REST to "import" a whole schema. But, you can create a new one using REST if you specify the data in JSON format as explained here and you can create objects on a that same schema as explained here .
What you can do is write a powerful script that can create a schema and it's objects from a JSON file directly into Insight. This would work as an equivalent to the import action.
Cheers!
Nader
Thank you for clarification.
I will take a look at the proposed links.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.