Package-level declarations

Types

Link copied to clipboard
@Serializable
data class JobCreateRequest(val type: String, val force: Boolean = false, val skipIntegrity: Boolean = false)

ジョブ受付(POST /jobs)のリクエストボディ

Link copied to clipboard
@Serializable
data class JobProgressEntryResponse(val timestamp: String, val text: String, val raw: String)

進捗ログ1行のレスポンス

Link copied to clipboard
@Serializable
data class JobResponse(val id: String, val type: String, val state: String, val createdAt: String, val finishedAt: String?, val progress: List<JobProgressEntryResponse>, val updateResults: List<UpdateResult>?, val errorMessage: String?)

ジョブ詳細(GET /jobs/{id}、POST /jobs)のレスポンス

Link copied to clipboard
@Serializable
data class JobSummaryResponse(val id: String, val type: String, val state: String, val createdAt: String, val finishedAt: String?)

ジョブ一覧(GET /jobs)の各エントリ