| Requires the role: | Riskstore.Admin |
| POST | /api/riskstore/seed/refresh/{TableName} | Refresh seed parquet for a single table | Streams data from the DataHub SQL source into a parquet file at the configured seed location. Runs asynchronously via the message queue. Admin only. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| TableName | path | string | Yes | Name of the seed table to refresh (MetaRisk, Perspective, EventSet, DealModelLink) |
| RequestId | body | string | No | Optional client supplied request id; one is generated when omitted |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RequestId | form | Guid | No | |
| TableName | form | string | No | |
| Status | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/riskstore/seed/refresh/{TableName} HTTP/1.1
Host: riskstoreng-dev.nephila.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"tableName":"String","requestId":"00000000000000000000000000000000"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"requestId":"00000000000000000000000000000000","tableName":"String","status":"String"}