| Requires the role: | Riskstore.Admin |
| POST | /api/riskstore/seed/event-set-losses | Seed all EventSetLoss data to parquet files on disk | Queries all distinct EventSetIds from EventSetLoss, streams each to a parquet file in the configured event-set-losses directory. Runs asynchronously via the message queue. Admin only. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| OverwriteExisting | body | boolean | No | When true, overwrites existing parquet files. When false (default), skips eventsets that already have a parquet file on disk. |
| RequestId | body | string | No | Optional client supplied request id; one is generated when omitted |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RequestId | form | Guid | No | |
| Status | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/riskstore/seed/event-set-losses HTTP/1.1
Host: riskstoreng-dev.nephila.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
overwriteExisting: False,
requestId: 00000000000000000000000000000000
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
requestId: 00000000000000000000000000000000,
status: String
}