Last updated 1 year ago
Was this helpful?
Pack job ID
POST /api/job/{id}/pack HTTP/1.1 Host: localhost:9090 Accept: */*
OK
{ "attachmentId": 1, "createdAt": "text", "fileSize": 1, "id": 1, "jobId": 1, "numOfFiles": 1, "pieceCid": "text", "pieceSize": 1, "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
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" }
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" } ]
POST /api/preparation/{id}/source/{name}/pause-scan HTTP/1.1 Host: localhost:9090 Accept: */*
POST /api/preparation/{id}/source/{name}/start-daggen HTTP/1.1 Host: localhost:9090 Accept: */*
POST /api/preparation/{id}/source/{name}/start-pack/{job_id} HTTP/1.1 Host: localhost:9090 Accept: */*
POST /api/preparation/{id}/source/{name}/start-scan HTTP/1.1 Host: localhost:9090 Accept: */*