Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

INSIGHT import schema by REST API

Wojciech Korpula
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 17, 2019

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

1 answer

1 accepted

0 votes
Answer accepted
Nader Nassif
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 17, 2019

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

Wojciech Korpula
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 20, 2019

Thank you for clarification.

I will take a look at the proposed links. 

Suggest an answer

Log in or Sign up to answer