| Requires any of the roles: | Riskstore.Read, Riskstore.Write, Riskstore.Admin |
| GET | /api/riskstore/seed/status | List recent seed refresh requests | Returns all seed refresh entries known to the running host process, newest first. Entries are lost on restart. |
|---|
namespace Nephila.RiskStore.ServiceModel.Requests
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type SeedRefreshStatusResponse() =
member val RequestId:Guid = new Guid() with get,set
member val TableName:String = null with get,set
member val Status:String = null with get,set
member val CreatedUtc:DateTime = new DateTime() with get,set
member val UpdatedUtc:DateTime = new DateTime() with get,set
member val StartedUtc:Nullable<DateTime> = new Nullable<DateTime>() with get,set
member val CompletedUtc:Nullable<DateTime> = new Nullable<DateTime>() with get,set
member val RowCount:Nullable<Int64> = new Nullable<Int64>() with get,set
member val ErrorMessage:String = null with get,set
member val OutputPath:String = null with get,set
member val TotalCount:Nullable<Int32> = new Nullable<Int32>() with get,set
member val ProcessedCount:Nullable<Int32> = new Nullable<Int32>() with get,set
member val SkippedCount:Nullable<Int32> = new Nullable<Int32>() with get,set
member val FailedCount:Nullable<Int32> = new Nullable<Int32>() with get,set
[<AllowNullLiteral>]
type ListSeedRefreshStatusResponse() =
member val Entries:ResizeArray<SeedRefreshStatusResponse> = null with get,set
[<AllowNullLiteral>]
type ListSeedRefreshStatus() =
interface IGet
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/riskstore/seed/status HTTP/1.1 Host: riskstoreng-dev.nephila.com Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"entries":[{"requestId":"00000000000000000000000000000000","tableName":"String","status":"String","createdUtc":"0001-01-01T00:00:00.0000000Z","updatedUtc":"0001-01-01T00:00:00.0000000Z","startedUtc":"0001-01-01T00:00:00.0000000Z","completedUtc":"0001-01-01T00:00:00.0000000Z","rowCount":0,"errorMessage":"String","outputPath":"String","totalCount":0,"processedCount":0,"skippedCount":0,"failedCount":0}]}