fix(docs): correct workflow API parameter name from workflow_id to workflow_run_id

This commit fixes the parameter name in the workflow API documentation for both Japanese and English versions.
The parameter name was incorrectly documented as 'workflow_id' but the actual API implementation uses 'workflow_run_id'.
This change aligns the documentation with the actual API implementation and prevents developer confusion.
pull/22587/head
kawabata-mcl 10 months ago
parent 7a69b57823
commit 1ed34a7dd4

@ -333,7 +333,7 @@ Workflow applications offers non-session support and is ideal for translation, a
---
<Heading
url='/workflows/run/:workflow_id'
url='/workflows/run/:workflow_run_id'
method='GET'
title='Get Workflow Run Detail'
name='#get-workflow-run-detail'
@ -342,7 +342,7 @@ Workflow applications offers non-session support and is ideal for translation, a
<Col>
Retrieve the current execution results of a workflow task based on the workflow execution ID.
### Path
- `workflow_id` (string) Workflow ID, can be obtained from the streaming chunk return
- `workflow_run_id` (string) Workflow run ID, can be obtained from the streaming chunk return
### Response
- `id` (string) ID of workflow execution
- `workflow_id` (string) ID of related workflow
@ -358,9 +358,9 @@ Workflow applications offers non-session support and is ideal for translation, a
</Col>
<Col sticky>
### Request Example
<CodeGroup title="Request" tag="GET" label="/workflows/run/:workflow_id" targetCode={`curl -X GET '${props.appDetail.api_base_url}/workflows/run/:workflow_id' \\\n-H 'Authorization: Bearer {api_key}' \\\n-H 'Content-Type: application/json'`}>
<CodeGroup title="Request" tag="GET" label="/workflows/run/:workflow_run_id" targetCode={`curl -X GET '${props.appDetail.api_base_url}/workflows/run/:workflow_run_id' \\\n-H 'Authorization: Bearer {api_key}' \\\n-H 'Content-Type: application/json'`}>
```bash {{ title: 'cURL' }}
curl -X GET '${props.appDetail.api_base_url}/workflows/run/:workflow_id' \
curl -X GET '${props.appDetail.api_base_url}/workflows/run/:workflow_run_id' \
-H 'Authorization: Bearer {api_key}' \
-H 'Content-Type: application/json'
```

@ -334,7 +334,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
---
<Heading
url='/workflows/run/:workflow_id'
url='/workflows/run/:workflow_run_id'
method='GET'
title='ワークフロー実行詳細を取得'
name='#get-workflow-run-detail'
@ -343,7 +343,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
<Col>
ワークフロー実行 ID に基づいて、ワークフロータスクの現在の実行結果を取得します。
### パス
- `workflow_id` (string) ワークフローID、ストリーミングチャンクの返り値から取得可能
- `workflow_run_id` (string) ワークフロー実行ID、ストリーミングチャンクの返り値から取得可能
### 応答
- `id` (string) ワークフロー実行の ID
- `workflow_id` (string) 関連するワークフローの ID
@ -359,9 +359,9 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
</Col>
<Col sticky>
### リクエスト例
<CodeGroup title="リクエスト" tag="GET" label="/workflows/run/:workflow_id" targetCode={`curl -X GET '${props.appDetail.api_base_url}/workflows/run/:workflow_id' \\\n-H 'Authorization: Bearer {api_key}' \\\n-H 'Content-Type: application/json'`}>
<CodeGroup title="リクエスト" tag="GET" label="/workflows/run/:workflow_run_id" targetCode={`curl -X GET '${props.appDetail.api_base_url}/workflows/run/:workflow_run_id' \\\n-H 'Authorization: Bearer {api_key}' \\\n-H 'Content-Type: application/json'`}>
```bash {{ title: 'cURL' }}
curl -X GET '${props.appDetail.api_base_url}/workflows/run/:workflow_id' \
curl -X GET '${props.appDetail.api_base_url}/workflows/run/:workflow_run_id' \
-H 'Authorization: Bearer {api_key}' \
-H 'Content-Type: application/json'
```

Loading…
Cancel
Save