244 lines
6.5 KiB
YAML
244 lines
6.5 KiB
YAML
interactions:
|
|
- request:
|
|
body: "--0e26cc5ea1ada7c3725080067973ef53\r\nContent-Disposition: form-data; name=\"to_formats\"\r\n\r\njson\r\n--0e26cc5ea1ada7c3725080067973ef53\r\nContent-Disposition:
|
|
form-data; name=\"do_ocr\"\r\n\r\ntrue\r\n--0e26cc5ea1ada7c3725080067973ef53\r\nContent-Disposition: form-data; name=\"force_ocr\"\r\n\r\nfalse\r\n--0e26cc5ea1ada7c3725080067973ef53\r\nContent-Disposition:
|
|
form-data; name=\"do_table_structure\"\r\n\r\ntrue\r\n--0e26cc5ea1ada7c3725080067973ef53\r\nContent-Disposition: form-data;
|
|
name=\"table_mode\"\r\n\r\naccurate\r\n--0e26cc5ea1ada7c3725080067973ef53\r\nContent-Disposition: form-data; name=\"table_cell_matching\"\r\n\r\ntrue\r\n--0e26cc5ea1ada7c3725080067973ef53\r\nContent-Disposition:
|
|
form-data; name=\"images_scale\"\r\n\r\n2.0\r\n--0e26cc5ea1ada7c3725080067973ef53\r\nContent-Disposition: form-data;
|
|
name=\"generate_picture_images\"\r\n\r\nfalse\r\n--0e26cc5ea1ada7c3725080067973ef53\r\nContent-Disposition: form-data;
|
|
name=\"do_picture_description\"\r\n\r\nfalse\r\n--0e26cc5ea1ada7c3725080067973ef53\r\nContent-Disposition: form-data;
|
|
name=\"files\"; filename=\"content.md\"\r\nContent-Type: text/markdown\r\n\r\n# Test Document\n\nThis is a test.\r\n--0e26cc5ea1ada7c3725080067973ef53--\r\n"
|
|
headers:
|
|
accept:
|
|
- '*/*'
|
|
accept-encoding:
|
|
- gzip, deflate, zstd
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1108'
|
|
content-type:
|
|
- multipart/form-data; boundary=0e26cc5ea1ada7c3725080067973ef53
|
|
host:
|
|
- localhost:5001
|
|
method: POST
|
|
uri: http://localhost:5001/v1/convert/file/async
|
|
response:
|
|
headers:
|
|
content-length:
|
|
- '131'
|
|
content-type:
|
|
- application/json
|
|
parsed_body:
|
|
task_id: d9b46213-a4a6-4465-bd22-b98a5d2285c0
|
|
task_meta: null
|
|
task_position: 1
|
|
task_status: pending
|
|
task_type: convert
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: ''
|
|
headers:
|
|
accept:
|
|
- '*/*'
|
|
accept-encoding:
|
|
- gzip, deflate, zstd
|
|
connection:
|
|
- keep-alive
|
|
host:
|
|
- localhost:5001
|
|
method: GET
|
|
uri: http://localhost:5001/v1/status/poll/d9b46213-a4a6-4465-bd22-b98a5d2285c0
|
|
response:
|
|
headers:
|
|
content-length:
|
|
- '134'
|
|
content-type:
|
|
- application/json
|
|
parsed_body:
|
|
task_id: d9b46213-a4a6-4465-bd22-b98a5d2285c0
|
|
task_meta: null
|
|
task_position: null
|
|
task_status: started
|
|
task_type: convert
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: ''
|
|
headers:
|
|
accept:
|
|
- '*/*'
|
|
accept-encoding:
|
|
- gzip, deflate, zstd
|
|
connection:
|
|
- keep-alive
|
|
host:
|
|
- localhost:5001
|
|
method: GET
|
|
uri: http://localhost:5001/v1/status/poll/d9b46213-a4a6-4465-bd22-b98a5d2285c0
|
|
response:
|
|
headers:
|
|
content-length:
|
|
- '134'
|
|
content-type:
|
|
- application/json
|
|
parsed_body:
|
|
task_id: d9b46213-a4a6-4465-bd22-b98a5d2285c0
|
|
task_meta: null
|
|
task_position: null
|
|
task_status: started
|
|
task_type: convert
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: ''
|
|
headers:
|
|
accept:
|
|
- '*/*'
|
|
accept-encoding:
|
|
- gzip, deflate, zstd
|
|
connection:
|
|
- keep-alive
|
|
host:
|
|
- localhost:5001
|
|
method: GET
|
|
uri: http://localhost:5001/v1/status/poll/d9b46213-a4a6-4465-bd22-b98a5d2285c0
|
|
response:
|
|
headers:
|
|
content-length:
|
|
- '134'
|
|
content-type:
|
|
- application/json
|
|
parsed_body:
|
|
task_id: d9b46213-a4a6-4465-bd22-b98a5d2285c0
|
|
task_meta: null
|
|
task_position: null
|
|
task_status: started
|
|
task_type: convert
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: ''
|
|
headers:
|
|
accept:
|
|
- '*/*'
|
|
accept-encoding:
|
|
- gzip, deflate, zstd
|
|
connection:
|
|
- keep-alive
|
|
host:
|
|
- localhost:5001
|
|
method: GET
|
|
uri: http://localhost:5001/v1/status/poll/d9b46213-a4a6-4465-bd22-b98a5d2285c0
|
|
response:
|
|
headers:
|
|
content-length:
|
|
- '134'
|
|
content-type:
|
|
- application/json
|
|
parsed_body:
|
|
task_id: d9b46213-a4a6-4465-bd22-b98a5d2285c0
|
|
task_meta: null
|
|
task_position: null
|
|
task_status: success
|
|
task_type: convert
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: ''
|
|
headers:
|
|
accept:
|
|
- '*/*'
|
|
accept-encoding:
|
|
- gzip, deflate, zstd
|
|
connection:
|
|
- keep-alive
|
|
host:
|
|
- localhost:5001
|
|
method: GET
|
|
uri: http://localhost:5001/v1/result/d9b46213-a4a6-4465-bd22-b98a5d2285c0
|
|
response:
|
|
headers:
|
|
content-length:
|
|
- '1225'
|
|
content-type:
|
|
- application/json
|
|
parsed_body:
|
|
document:
|
|
doctags_content: null
|
|
filename: content.md
|
|
html_content: null
|
|
json_content:
|
|
body:
|
|
children:
|
|
- $ref: '#/texts/0'
|
|
- $ref: '#/texts/1'
|
|
content_layer: body
|
|
label: unspecified
|
|
meta: null
|
|
name: _root_
|
|
parent: null
|
|
self_ref: '#/body'
|
|
form_items: []
|
|
furniture:
|
|
children: []
|
|
content_layer: furniture
|
|
label: unspecified
|
|
meta: null
|
|
name: _root_
|
|
parent: null
|
|
self_ref: '#/furniture'
|
|
groups: []
|
|
key_value_items: []
|
|
name: content
|
|
origin:
|
|
binary_hash: 18149311266811077188
|
|
filename: content.md
|
|
mimetype: text/markdown
|
|
uri: null
|
|
pages: {}
|
|
pictures: []
|
|
schema_name: DoclingDocument
|
|
tables: []
|
|
texts:
|
|
- children: []
|
|
content_layer: body
|
|
formatting: null
|
|
hyperlink: null
|
|
label: title
|
|
meta: null
|
|
orig: Test Document
|
|
parent:
|
|
$ref: '#/body'
|
|
prov: []
|
|
self_ref: '#/texts/0'
|
|
text: Test Document
|
|
- children: []
|
|
content_layer: body
|
|
formatting: null
|
|
hyperlink: null
|
|
label: text
|
|
meta: null
|
|
orig: This is a test.
|
|
parent:
|
|
$ref: '#/body'
|
|
prov: []
|
|
self_ref: '#/texts/1'
|
|
text: This is a test.
|
|
version: 1.9.0
|
|
md_content: null
|
|
text_content: null
|
|
errors: []
|
|
processing_time: 0.003054707995033823
|
|
status: success
|
|
timings: {}
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
version: 1
|