준비 작업
Last updated
Was this helpful?
Last updated
Was this helpful?
Preparation ID or name
GET /api/preparation/{id} HTTP/1.1
Host: localhost:9090
Accept: */*
[
{
"attachmentId": 1,
"jobs": [
{
"attachmentId": 1,
"errorMessage": "text",
"errorStackTrace": "text",
"id": 1,
"state": "created",
"type": "scan",
"workerId": "text"
}
],
"output": [
{
"clientConfig": {
"caCert": [
"text"
],
"clientCert": "text",
"clientKey": "text",
"connectTimeout": 1,
"disableHttp2": true,
"disableHttpKeepAlives": true,
"expectContinueTimeout": 1,
"headers": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"insecureSkipVerify": true,
"lowlevelRetries": 1,
"noGzip": true,
"retryBackoff": 1,
"retryBackoffExponential": 1,
"retryDelay": 1,
"retryMaxCount": 1,
"scanConcurrency": 1,
"skipInaccessibleFile": true,
"timeout": 1,
"useServerModTime": true,
"userAgent": "text"
},
"config": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"createdAt": "text",
"id": 1,
"name": "text",
"path": "text",
"preparationsAsOutput": [
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": "[Circular Reference]",
"pieceSize": 1,
"sourceStorages": "[Circular Reference]",
"updatedAt": "text"
}
],
"preparationsAsSource": [
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": "[Circular Reference]",
"pieceSize": 1,
"sourceStorages": "[Circular Reference]",
"updatedAt": "text"
}
],
"type": "text",
"updatedAt": "text"
}
],
"source": {
"clientConfig": {
"caCert": [
"text"
],
"clientCert": "text",
"clientKey": "text",
"connectTimeout": 1,
"disableHttp2": true,
"disableHttpKeepAlives": true,
"expectContinueTimeout": 1,
"headers": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"insecureSkipVerify": true,
"lowlevelRetries": 1,
"noGzip": true,
"retryBackoff": 1,
"retryBackoffExponential": 1,
"retryDelay": 1,
"retryMaxCount": 1,
"scanConcurrency": 1,
"skipInaccessibleFile": true,
"timeout": 1,
"useServerModTime": true,
"userAgent": "text"
},
"config": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"createdAt": "text",
"id": 1,
"name": "text",
"path": "text",
"preparationsAsOutput": [
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": "[Circular Reference]",
"pieceSize": 1,
"sourceStorages": "[Circular Reference]",
"updatedAt": "text"
}
],
"preparationsAsSource": [
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": "[Circular Reference]",
"pieceSize": 1,
"sourceStorages": "[Circular Reference]",
"updatedAt": "text"
}
],
"type": "text",
"updatedAt": "text"
},
"storageId": 1
}
]
Preparation ID or name
Output storage ID or name
DELETE /api/preparation/{id}/output/{name} HTTP/1.1
Host: localhost:9090
Accept: */*
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": [
{
"clientConfig": {
"caCert": [
"text"
],
"clientCert": "text",
"clientKey": "text",
"connectTimeout": 1,
"disableHttp2": true,
"disableHttpKeepAlives": true,
"expectContinueTimeout": 1,
"headers": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"insecureSkipVerify": true,
"lowlevelRetries": 1,
"noGzip": true,
"retryBackoff": 1,
"retryBackoffExponential": 1,
"retryDelay": 1,
"retryMaxCount": 1,
"scanConcurrency": 1,
"skipInaccessibleFile": true,
"timeout": 1,
"useServerModTime": true,
"userAgent": "text"
},
"config": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"createdAt": "text",
"id": 1,
"name": "text",
"path": "text",
"preparationsAsOutput": [
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": [
"[Circular Reference]"
],
"pieceSize": 1,
"sourceStorages": [
"[Circular Reference]"
],
"updatedAt": "text"
}
],
"preparationsAsSource": [
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": [
"[Circular Reference]"
],
"pieceSize": 1,
"sourceStorages": [
"[Circular Reference]"
],
"updatedAt": "text"
}
],
"type": "text",
"updatedAt": "text"
}
],
"pieceSize": 1,
"sourceStorages": [
{
"clientConfig": {
"caCert": [
"text"
],
"clientCert": "text",
"clientKey": "text",
"connectTimeout": 1,
"disableHttp2": true,
"disableHttpKeepAlives": true,
"expectContinueTimeout": 1,
"headers": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"insecureSkipVerify": true,
"lowlevelRetries": 1,
"noGzip": true,
"retryBackoff": 1,
"retryBackoffExponential": 1,
"retryDelay": 1,
"retryMaxCount": 1,
"scanConcurrency": 1,
"skipInaccessibleFile": true,
"timeout": 1,
"useServerModTime": true,
"userAgent": "text"
},
"config": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"createdAt": "text",
"id": 1,
"name": "text",
"path": "text",
"preparationsAsOutput": [
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": [
"[Circular Reference]"
],
"pieceSize": 1,
"sourceStorages": [
"[Circular Reference]"
],
"updatedAt": "text"
}
],
"preparationsAsSource": [
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": [
"[Circular Reference]"
],
"pieceSize": 1,
"sourceStorages": [
"[Circular Reference]"
],
"updatedAt": "text"
}
],
"type": "text",
"updatedAt": "text"
}
],
"updatedAt": "text"
}
Preparation ID or name
Output storage ID or name
POST /api/preparation/{id}/output/{name} HTTP/1.1
Host: localhost:9090
Accept: */*
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": [
{
"clientConfig": {
"caCert": [
"text"
],
"clientCert": "text",
"clientKey": "text",
"connectTimeout": 1,
"disableHttp2": true,
"disableHttpKeepAlives": true,
"expectContinueTimeout": 1,
"headers": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"insecureSkipVerify": true,
"lowlevelRetries": 1,
"noGzip": true,
"retryBackoff": 1,
"retryBackoffExponential": 1,
"retryDelay": 1,
"retryMaxCount": 1,
"scanConcurrency": 1,
"skipInaccessibleFile": true,
"timeout": 1,
"useServerModTime": true,
"userAgent": "text"
},
"config": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"createdAt": "text",
"id": 1,
"name": "text",
"path": "text",
"preparationsAsOutput": [
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": [
"[Circular Reference]"
],
"pieceSize": 1,
"sourceStorages": [
"[Circular Reference]"
],
"updatedAt": "text"
}
],
"preparationsAsSource": [
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": [
"[Circular Reference]"
],
"pieceSize": 1,
"sourceStorages": [
"[Circular Reference]"
],
"updatedAt": "text"
}
],
"type": "text",
"updatedAt": "text"
}
],
"pieceSize": 1,
"sourceStorages": [
{
"clientConfig": {
"caCert": [
"text"
],
"clientCert": "text",
"clientKey": "text",
"connectTimeout": 1,
"disableHttp2": true,
"disableHttpKeepAlives": true,
"expectContinueTimeout": 1,
"headers": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"insecureSkipVerify": true,
"lowlevelRetries": 1,
"noGzip": true,
"retryBackoff": 1,
"retryBackoffExponential": 1,
"retryDelay": 1,
"retryMaxCount": 1,
"scanConcurrency": 1,
"skipInaccessibleFile": true,
"timeout": 1,
"useServerModTime": true,
"userAgent": "text"
},
"config": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"createdAt": "text",
"id": 1,
"name": "text",
"path": "text",
"preparationsAsOutput": [
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": [
"[Circular Reference]"
],
"pieceSize": 1,
"sourceStorages": [
"[Circular Reference]"
],
"updatedAt": "text"
}
],
"preparationsAsSource": [
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": [
"[Circular Reference]"
],
"pieceSize": 1,
"sourceStorages": [
"[Circular Reference]"
],
"updatedAt": "text"
}
],
"type": "text",
"updatedAt": "text"
}
],
"updatedAt": "text"
}
Preparation ID or name
Source storage ID or name
POST /api/preparation/{id}/source/{name} HTTP/1.1
Host: localhost:9090
Accept: */*
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": [
{
"clientConfig": {
"caCert": [
"text"
],
"clientCert": "text",
"clientKey": "text",
"connectTimeout": 1,
"disableHttp2": true,
"disableHttpKeepAlives": true,
"expectContinueTimeout": 1,
"headers": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"insecureSkipVerify": true,
"lowlevelRetries": 1,
"noGzip": true,
"retryBackoff": 1,
"retryBackoffExponential": 1,
"retryDelay": 1,
"retryMaxCount": 1,
"scanConcurrency": 1,
"skipInaccessibleFile": true,
"timeout": 1,
"useServerModTime": true,
"userAgent": "text"
},
"config": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"createdAt": "text",
"id": 1,
"name": "text",
"path": "text",
"preparationsAsOutput": [
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": [
"[Circular Reference]"
],
"pieceSize": 1,
"sourceStorages": [
"[Circular Reference]"
],
"updatedAt": "text"
}
],
"preparationsAsSource": [
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": [
"[Circular Reference]"
],
"pieceSize": 1,
"sourceStorages": [
"[Circular Reference]"
],
"updatedAt": "text"
}
],
"type": "text",
"updatedAt": "text"
}
],
"pieceSize": 1,
"sourceStorages": [
{
"clientConfig": {
"caCert": [
"text"
],
"clientCert": "text",
"clientKey": "text",
"connectTimeout": 1,
"disableHttp2": true,
"disableHttpKeepAlives": true,
"expectContinueTimeout": 1,
"headers": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"insecureSkipVerify": true,
"lowlevelRetries": 1,
"noGzip": true,
"retryBackoff": 1,
"retryBackoffExponential": 1,
"retryDelay": 1,
"retryMaxCount": 1,
"scanConcurrency": 1,
"skipInaccessibleFile": true,
"timeout": 1,
"useServerModTime": true,
"userAgent": "text"
},
"config": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"createdAt": "text",
"id": 1,
"name": "text",
"path": "text",
"preparationsAsOutput": [
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": [
"[Circular Reference]"
],
"pieceSize": 1,
"sourceStorages": [
"[Circular Reference]"
],
"updatedAt": "text"
}
],
"preparationsAsSource": [
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": [
"[Circular Reference]"
],
"pieceSize": 1,
"sourceStorages": [
"[Circular Reference]"
],
"updatedAt": "text"
}
],
"type": "text",
"updatedAt": "text"
}
],
"updatedAt": "text"
}
Preparation ID or name
Source storage ID or name
Directory path
GET /api/preparation/{id}/source/{name}/explore/{path} HTTP/1.1
Host: localhost:9090
Accept: */*
{
"cid": "text",
"path": "text",
"subEntries": [
{
"cid": "text",
"fileVersions": [
{
"cid": "text",
"hash": "text",
"id": 1,
"lastModified": "text",
"size": 1
}
],
"isDir": true,
"path": "text"
}
]
}
GET /api/preparation HTTP/1.1
Host: localhost:9090
Accept: */*
[
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": [
{
"clientConfig": {
"caCert": [
"text"
],
"clientCert": "text",
"clientKey": "text",
"connectTimeout": 1,
"disableHttp2": true,
"disableHttpKeepAlives": true,
"expectContinueTimeout": 1,
"headers": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"insecureSkipVerify": true,
"lowlevelRetries": 1,
"noGzip": true,
"retryBackoff": 1,
"retryBackoffExponential": 1,
"retryDelay": 1,
"retryMaxCount": 1,
"scanConcurrency": 1,
"skipInaccessibleFile": true,
"timeout": 1,
"useServerModTime": true,
"userAgent": "text"
},
"config": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"createdAt": "text",
"id": 1,
"name": "text",
"path": "text",
"preparationsAsOutput": [
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": "[Circular Reference]",
"pieceSize": 1,
"sourceStorages": "[Circular Reference]",
"updatedAt": "text"
}
],
"preparationsAsSource": [
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": "[Circular Reference]",
"pieceSize": 1,
"sourceStorages": "[Circular Reference]",
"updatedAt": "text"
}
],
"type": "text",
"updatedAt": "text"
}
],
"pieceSize": 1,
"sourceStorages": [
{
"clientConfig": {
"caCert": [
"text"
],
"clientCert": "text",
"clientKey": "text",
"connectTimeout": 1,
"disableHttp2": true,
"disableHttpKeepAlives": true,
"expectContinueTimeout": 1,
"headers": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"insecureSkipVerify": true,
"lowlevelRetries": 1,
"noGzip": true,
"retryBackoff": 1,
"retryBackoffExponential": 1,
"retryDelay": 1,
"retryMaxCount": 1,
"scanConcurrency": 1,
"skipInaccessibleFile": true,
"timeout": 1,
"useServerModTime": true,
"userAgent": "text"
},
"config": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"createdAt": "text",
"id": 1,
"name": "text",
"path": "text",
"preparationsAsOutput": [
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": "[Circular Reference]",
"pieceSize": 1,
"sourceStorages": "[Circular Reference]",
"updatedAt": "text"
}
],
"preparationsAsSource": [
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": "[Circular Reference]",
"pieceSize": 1,
"sourceStorages": "[Circular Reference]",
"updatedAt": "text"
}
],
"type": "text",
"updatedAt": "text"
}
],
"updatedAt": "text"
}
]
Whether to delete the source files after export
false
Maximum size of the CAR files to be created
31.5GiB
Name of the preparation
Whether to disable maintaining folder dag structure for the sources. If disabled, DagGen will not be possible and folders will not have an associated CID.
false
Whether to disable inline storage for the preparation. Can save database space but requires at least one output storage.
false
Name of Output storage systems to be used for the output
Target piece size of the CAR files used for piece commitment calculation
Name of Source storage systems to be used for the source
POST /api/preparation HTTP/1.1
Host: localhost:9090
Content-Type: application/json
Accept: */*
Content-Length: 157
{
"deleteAfterExport": true,
"maxSize": "text",
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": [
"text"
],
"pieceSize": "text",
"sourceStorages": [
"text"
]
}
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": [
{
"clientConfig": {
"caCert": [
"text"
],
"clientCert": "text",
"clientKey": "text",
"connectTimeout": 1,
"disableHttp2": true,
"disableHttpKeepAlives": true,
"expectContinueTimeout": 1,
"headers": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"insecureSkipVerify": true,
"lowlevelRetries": 1,
"noGzip": true,
"retryBackoff": 1,
"retryBackoffExponential": 1,
"retryDelay": 1,
"retryMaxCount": 1,
"scanConcurrency": 1,
"skipInaccessibleFile": true,
"timeout": 1,
"useServerModTime": true,
"userAgent": "text"
},
"config": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"createdAt": "text",
"id": 1,
"name": "text",
"path": "text",
"preparationsAsOutput": [
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": [
"[Circular Reference]"
],
"pieceSize": 1,
"sourceStorages": [
"[Circular Reference]"
],
"updatedAt": "text"
}
],
"preparationsAsSource": [
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": [
"[Circular Reference]"
],
"pieceSize": 1,
"sourceStorages": [
"[Circular Reference]"
],
"updatedAt": "text"
}
],
"type": "text",
"updatedAt": "text"
}
],
"pieceSize": 1,
"sourceStorages": [
{
"clientConfig": {
"caCert": [
"text"
],
"clientCert": "text",
"clientKey": "text",
"connectTimeout": 1,
"disableHttp2": true,
"disableHttpKeepAlives": true,
"expectContinueTimeout": 1,
"headers": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"insecureSkipVerify": true,
"lowlevelRetries": 1,
"noGzip": true,
"retryBackoff": 1,
"retryBackoffExponential": 1,
"retryDelay": 1,
"retryMaxCount": 1,
"scanConcurrency": 1,
"skipInaccessibleFile": true,
"timeout": 1,
"useServerModTime": true,
"userAgent": "text"
},
"config": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"createdAt": "text",
"id": 1,
"name": "text",
"path": "text",
"preparationsAsOutput": [
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": [
"[Circular Reference]"
],
"pieceSize": 1,
"sourceStorages": [
"[Circular Reference]"
],
"updatedAt": "text"
}
],
"preparationsAsSource": [
{
"createdAt": "text",
"deleteAfterExport": true,
"id": 1,
"maxSize": 1,
"name": "text",
"noDag": true,
"noInline": true,
"outputStorages": [
"[Circular Reference]"
],
"pieceSize": 1,
"sourceStorages": [
"[Circular Reference]"
],
"updatedAt": "text"
}
],
"type": "text",
"updatedAt": "text"
}
],
"updatedAt": "text"
}