Nephila RiskStore

<back to all web services

RefreshSeedTable

Seed
Requires Authentication
Requires the role:Riskstore.Admin
The following routes are available for this service:
POST/api/riskstore/seed/refresh/{TableName}Refresh seed parquet for a single tableStreams data from the DataHub SQL source into a parquet file at the configured seed location. Runs asynchronously via the message queue. Admin only.
RefreshSeedTable Parameters:
NameParameterData TypeRequiredDescription
TableNamepathstringYesName of the seed table to refresh (MetaRisk, Perspective, EventSet, DealModelLink)
RequestIdbodystringNoOptional client supplied request id; one is generated when omitted
RefreshSeedTableResponse Parameters:
NameParameterData TypeRequiredDescription
RequestIdformGuidNo
TableNameformstringNo
StatusformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

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/jsonl
Content-Type: text/jsonl
Content-Length: length

{"tableName":"String","requestId":"00000000000000000000000000000000"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"requestId":"00000000000000000000000000000000","tableName":"String","status":"String"}