update doc

pull/18235/head
GuanMu 11 months ago
parent 51c76380d0
commit 49d939ac59

@ -1125,7 +1125,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, PropertyInstructi
<hr className='ml-0 mr-0' /> <hr className='ml-0 mr-0' />
<Heading <Heading
url='/datasets/{dataset_id}/documents/status/{action}/batch' url='/datasets/{dataset_id}/documents/status/{action}'
method='PATCH' method='PATCH'
title='Update Document Status' title='Update Document Status'
name='#batch_document_status' name='#batch_document_status'
@ -1156,11 +1156,11 @@ import { Row, Col, Properties, Property, Heading, SubProperty, PropertyInstructi
<CodeGroup <CodeGroup
title="Request" title="Request"
tag="PATCH" tag="PATCH"
label="/datasets/{dataset_id}/documents/status/{action}/batch" label="/datasets/{dataset_id}/documents/status/{action}"
targetCode={`curl --location --request PATCH '${props.apiBaseUrl}/datasets/{dataset_id}/documents/status/{action}/batch' \\\n--header 'Authorization: Bearer {api_key}' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n "document_ids": ["doc-id-1", "doc-id-2"]\n}'`} targetCode={`curl --location --request PATCH '${props.apiBaseUrl}/datasets/{dataset_id}/documents/status/{action}' \\\n--header 'Authorization: Bearer {api_key}' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n "document_ids": ["doc-id-1", "doc-id-2"]\n}'`}
> >
```bash {{ title: 'cURL' }} ```bash {{ title: 'cURL' }}
curl --location --request PATCH '${props.apiBaseUrl}/datasets/{dataset_id}/documents/status/{action}/batch' \ curl --location --request PATCH '${props.apiBaseUrl}/datasets/{dataset_id}/documents/status/{action}' \
--header 'Authorization: Bearer {api_key}' \ --header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: application/json' \ --header 'Content-Type: application/json' \
--data-raw '{ --data-raw '{

@ -882,7 +882,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, PropertyInstructi
<hr className='ml-0 mr-0' /> <hr className='ml-0 mr-0' />
<Heading <Heading
url='/datasets/{dataset_id}/documents/status/{action}/batch' url='/datasets/{dataset_id}/documents/status/{action}'
method='PATCH' method='PATCH'
title='ドキュメントステータスの更新' title='ドキュメントステータスの更新'
name='#batch_document_status' name='#batch_document_status'
@ -913,11 +913,11 @@ import { Row, Col, Properties, Property, Heading, SubProperty, PropertyInstructi
<CodeGroup <CodeGroup
title="リクエスト" title="リクエスト"
tag="PATCH" tag="PATCH"
label="/datasets/{dataset_id}/documents/status/{action}/batch" label="/datasets/{dataset_id}/documents/status/{action}"
targetCode={`curl --location --request PATCH '${props.apiBaseUrl}/datasets/{dataset_id}/documents/status/{action}/batch' \\\n--header 'Authorization: Bearer {api_key}' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n "document_ids": ["doc-id-1", "doc-id-2"]\n}'`} targetCode={`curl --location --request PATCH '${props.apiBaseUrl}/datasets/{dataset_id}/documents/status/{action}' \\\n--header 'Authorization: Bearer {api_key}' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n "document_ids": ["doc-id-1", "doc-id-2"]\n}'`}
> >
```bash {{ title: 'cURL' }} ```bash {{ title: 'cURL' }}
curl --location --request PATCH '${props.apiBaseUrl}/datasets/{dataset_id}/documents/status/{action}/batch' \ curl --location --request PATCH '${props.apiBaseUrl}/datasets/{dataset_id}/documents/status/{action}' \
--header 'Authorization: Bearer {api_key}' \ --header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: application/json' \ --header 'Content-Type: application/json' \
--data-raw '{ --data-raw '{

@ -1132,7 +1132,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, PropertyInstructi
<hr className='ml-0 mr-0' /> <hr className='ml-0 mr-0' />
<Heading <Heading
url='/datasets/{dataset_id}/documents/status/{action}/batch' url='/datasets/{dataset_id}/documents/status/{action}'
method='PATCH' method='PATCH'
title='更新文档状态' title='更新文档状态'
name='#batch_document_status' name='#batch_document_status'
@ -1163,11 +1163,11 @@ import { Row, Col, Properties, Property, Heading, SubProperty, PropertyInstructi
<CodeGroup <CodeGroup
title="Request" title="Request"
tag="PATCH" tag="PATCH"
label="/datasets/{dataset_id}/documents/status/{action}/batch" label="/datasets/{dataset_id}/documents/status/{action}"
targetCode={`curl --location --request PATCH '${props.apiBaseUrl}/datasets/{dataset_id}/documents/status/{action}/batch' \\\n--header 'Authorization: Bearer {api_key}' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n "document_ids": ["doc-id-1", "doc-id-2"]\n}'`} targetCode={`curl --location --request PATCH '${props.apiBaseUrl}/datasets/{dataset_id}/documents/status/{action}' \\\n--header 'Authorization: Bearer {api_key}' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n "document_ids": ["doc-id-1", "doc-id-2"]\n}'`}
> >
```bash {{ title: 'cURL' }} ```bash {{ title: 'cURL' }}
curl --location --request PATCH '${props.apiBaseUrl}/datasets/{dataset_id}/documents/status/{action}/batch' \ curl --location --request PATCH '${props.apiBaseUrl}/datasets/{dataset_id}/documents/status/{action}' \
--header 'Authorization: Bearer {api_key}' \ --header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: application/json' \ --header 'Content-Type: application/json' \
--data-raw '{ --data-raw '{

Loading…
Cancel
Save