作业
Path parameters
idintegerRequired
Pack job ID
Responses
200
OK
application/json
400
Bad Request
application/json
500
Internal Server Error
application/json
post
/job/{id}/packPOST /api/job/{id}/pack HTTP/1.1
Host: localhost:9090
Accept: */*
{
  "attachmentId": 1,
  "createdAt": "text",
  "fileSize": 1,
  "id": 1,
  "jobId": 1,
  "numOfFiles": 1,
  "pieceCid": "text",
  "pieceSize": 1,
  "pieceType": "text",
  "preparationId": 1,
  "rootCid": "text",
  "storageId": 1,
  "storagePath": "text"
}Path parameters
idstringRequired
Preparation ID or name
namestringRequired
Storage ID or name
Responses
204
No Content
No content
400
Bad Request
application/json
500
Internal Server Error
application/json
post
/preparation/{id}/source/{name}/finalizePOST /api/preparation/{id}/source/{name}/finalize HTTP/1.1
Host: localhost:9090
Accept: */*
No content
Path parameters
idstringRequired
Preparation ID or name
namestringRequired
Storage ID or name
Responses
200
OK
application/json
400
Bad Request
application/json
500
Internal Server Error
application/json
post
/preparation/{id}/source/{name}/pause-daggenPOST /api/preparation/{id}/source/{name}/pause-daggen HTTP/1.1
Host: localhost:9090
Accept: */*
{
  "attachmentId": 1,
  "errorMessage": "text",
  "errorStackTrace": "text",
  "id": 1,
  "state": "created",
  "type": "scan",
  "workerId": "text"
}Path parameters
idstringRequired
Preparation ID or name
namestringRequired
Storage ID or name
job_idintegerRequired
Pack Job ID
Responses
200
OK
application/json
400
Bad Request
application/json
500
Internal Server Error
application/json
post
/preparation/{id}/source/{name}/pause-pack/{job_id}POST /api/preparation/{id}/source/{name}/pause-pack/{job_id} HTTP/1.1
Host: localhost:9090
Accept: */*
[
  {
    "attachmentId": 1,
    "errorMessage": "text",
    "errorStackTrace": "text",
    "id": 1,
    "state": "created",
    "type": "scan",
    "workerId": "text"
  }
]Path parameters
idstringRequired
Preparation ID or name
namestringRequired
Storage ID or name
Responses
200
OK
application/json
400
Bad Request
application/json
500
Internal Server Error
application/json
post
/preparation/{id}/source/{name}/pause-scanPOST /api/preparation/{id}/source/{name}/pause-scan HTTP/1.1
Host: localhost:9090
Accept: */*
{
  "attachmentId": 1,
  "errorMessage": "text",
  "errorStackTrace": "text",
  "id": 1,
  "state": "created",
  "type": "scan",
  "workerId": "text"
}Path parameters
idstringRequired
Preparation ID or name
namestringRequired
Storage ID or name
Responses
200
OK
application/json
400
Bad Request
application/json
500
Internal Server Error
application/json
post
/preparation/{id}/source/{name}/start-daggenPOST /api/preparation/{id}/source/{name}/start-daggen HTTP/1.1
Host: localhost:9090
Accept: */*
{
  "attachmentId": 1,
  "errorMessage": "text",
  "errorStackTrace": "text",
  "id": 1,
  "state": "created",
  "type": "scan",
  "workerId": "text"
}Path parameters
idstringRequired
Preparation ID or name
namestringRequired
Storage ID or name
job_idintegerRequired
Pack Job ID
Responses
200
OK
application/json
400
Bad Request
application/json
500
Internal Server Error
application/json
post
/preparation/{id}/source/{name}/start-pack/{job_id}POST /api/preparation/{id}/source/{name}/start-pack/{job_id} HTTP/1.1
Host: localhost:9090
Accept: */*
[
  {
    "attachmentId": 1,
    "errorMessage": "text",
    "errorStackTrace": "text",
    "id": 1,
    "state": "created",
    "type": "scan",
    "workerId": "text"
  }
]Path parameters
idstringRequired
Preparation ID or name
namestringRequired
Storage ID or name
Responses
200
OK
application/json
400
Bad Request
application/json
500
Internal Server Error
application/json
post
/preparation/{id}/source/{name}/start-scanPOST /api/preparation/{id}/source/{name}/start-scan HTTP/1.1
Host: localhost:9090
Accept: */*
{
  "attachmentId": 1,
  "errorMessage": "text",
  "errorStackTrace": "text",
  "id": 1,
  "state": "created",
  "type": "scan",
  "workerId": "text"
}Last updated
Was this helpful?