Skip to main content
Refer to the Data Repositories Help Center article for in-depth information about the functionality and permissions needed. Obtain your API Access Token to get started.

High-level overview

A Data Repository contains Item Fields. For example:
  • Data Repository: Risk Cloud Ingredients
  • Item Fields created on that Data Repository: Name, Description
A Data Repository also contains Items, which are mapped to that Item Field structure:

Step 1: Create and update a Data Repository

1.1 Check if a Data Repository name already exists

Response: boolean — true if the name already exists, false otherwise.

1.2 Create a Data Repository

Request body is a DataWarehouseIn object. DataWarehouseIn (request) DataWarehouseOut (response) ItemFieldOut (response)

1.3 Update a Data Repository

Request body is a DataWarehouseIn object; response is DataWarehouseOut (same as 1.2).

Step 2: Create and update an Item Field on a Data Repository

2.1 Check if an Item Field name already exists

Response: boolean — true if the name already exists on the specified Data Repository, false otherwise.

2.2 Create an Item Field on a Data Repository

ItemFieldIn (request) Response: ItemFieldOut (same as 1.2).

2.3 Update an Item Field on a Data Repository

Request body is an ItemFieldIn object; response is ItemFieldOut (same as 1.2).

Step 3: Import Items into a Data Repository

3.1 Download the import data template

Response: a StreamingResponseBody — the import data template file in CSV format.

3.2 Upload the import data template

Response: 200 with an empty body.

3.3 Search all Items

ItemSearchFilter (request) ItemOut (response) Response: Page<ItemOut>.
Response: 200 with an empty body.
Response: 200 with an empty body.

Step 5: Other operations

Next steps

For bulk-linking multiple Items or records at once, see Risk Cloud API: Bulk Link Records.