From f5a447669ba79fe2e56accc8d1f05aa141905423 Mon Sep 17 00:00:00 2001 From: Will Eastcott Date: Fri, 20 Feb 2026 16:54:10 +0000 Subject: [PATCH] docs: Fix project export API parameter name to match route URL Co-authored-by: Cursor --- docs/user-manual/api/project-export.md | 4 ++-- .../current/user-manual/api/project-export.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/user-manual/api/project-export.md b/docs/user-manual/api/project-export.md index 93b8a93b477..13f54a3f948 100644 --- a/docs/user-manual/api/project-export.md +++ b/docs/user-manual/api/project-export.md @@ -17,14 +17,14 @@ The request will start an export job and the job details will be returned in the ## Example ```none -curl -H "Authorization: Bearer {accessToken}" -H "Content-Type: application/json" -X POST -d '{"branch_id": "99999999-9999-9999-9999-999999999999"}' "https://playcanvas.com/api/projects/{projectId}/export" +curl -H "Authorization: Bearer {accessToken}" -H "Content-Type: application/json" -X POST -d '{"branch_id": "99999999-9999-9999-9999-999999999999"}' "https://playcanvas.com/api/projects/{id}/export" ``` ## Parameters | Name | Type | Required | Description | | ----------- | -------- | :------: | -------------------------------------------------------------------------- | -| `projectId` | `number` | ✔️ | The id of the project. | +| `id` | `number` | ✔️ | The id of the project. | | `branch_id` | `string` | | The id of the branch. If no id is specified, the main branch will be used. | ## Response Schema diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/user-manual/api/project-export.md b/i18n/ja/docusaurus-plugin-content-docs/current/user-manual/api/project-export.md index 781fa1ae45f..4ac60c5fe34 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/user-manual/api/project-export.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/user-manual/api/project-export.md @@ -17,14 +17,14 @@ POST https://playcanvas.com/api/projects/:id/export ## 例 ```none -curl -H "Authorization: Bearer {accessToken}" -H "Content-Type: application/json" -X POST -d '{"branch_id": "99999999-9999-9999-9999-999999999999"}' "https://playcanvas.com/api/projects/{projectId}/export" +curl -H "Authorization: Bearer {accessToken}" -H "Content-Type: application/json" -X POST -d '{"branch_id": "99999999-9999-9999-9999-999999999999"}' "https://playcanvas.com/api/projects/{id}/export" ``` ## パラメーター | 名前 | タイプ | Required | 説明 | | ----------- | -------- | :------: | -------------------------------------------------------------------------- | -| `projectId` | `number` | ✔️ | The id of the project. | +| `id` | `number` | ✔️ | The id of the project. | | `branch_id` | `string` | | The id of the branch. If no id is specified, the main branch will be used. | ## レスポンススキーマ