作业
Last updated
Was this helpful?
Last updated
Was this helpful?
Pack job ID
POST /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"
}
Preparation ID or name
Storage ID or name
POST /api/preparation/{id}/source/{name}/finalize HTTP/1.1
Host: localhost:9090
Accept: */*
No content
Preparation ID or name
Storage ID or name
POST /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"
}
Preparation ID or name
Storage ID or name
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"
}
]
Preparation ID or name
Storage ID or name
POST /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"
}
Preparation ID or name
Storage ID or name
POST /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"
}
Preparation ID or name
Storage ID or name
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"
}
]
Preparation ID or name
Storage ID or name
POST /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"
}