Zum Inhalt springen

Resume a paused job (not yet implemented)

POST
/api/v1/jobs/{job_id}/resume
curl --request POST \
--url https://example.com/api/v1/jobs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/resume \
--header 'X-Label-Hub-Key: <X-Label-Hub-Key>'

Placeholder — returns 501 ProblemDetail. Resume will be implemented alongside pause in a later phase. This endpoint exists so the Phase 7 UI can wire to a stable URL.

job_id
required
Job Id
string format: uuid

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string

Example generated

{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}

Successful Response

Media typeapplication/json
ProblemDetail

RFC 7807 Problem Details object.

All fields are optional except type, title, and status. The extensions field carries additional problem-type-specific context (e.g. expected_mm / loaded_mm for tape mismatches).

object
detail
Detail

Human-readable explanation specific to this occurrence

Any of:
string
extensions
Extensions

Additional problem-type-specific fields

object
key
additional properties
any
instance
Instance

URI reference identifying this specific occurrence

Any of:
string
status
required
Status

HTTP status code

integer
title
required
Title

Short human-readable summary of the problem

string
type
Type

URI reference identifying the problem type

string
default: about:blank

Example

{
"type": "about:blank"
}