Skip to content

Commit db49357

Browse files
committed
Moji: Update translations
1 parent 108ff5d commit db49357

30 files changed

+375
-42
lines changed

guides/applications/web-app-integrations/configure.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -69,32 +69,33 @@ fullyTranslated: true
6969
| フィールド | 説明 |
7070
| ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
7171
| クライアントコールバックのURL | [ポップアップ統合][pu]での最初のリクエストの後に、Boxからの追加のコールバックリクエストを処理します。アプリケーションがRESTメソッドでファイルパラメータを指定した場合、事前コールバックのURLはクライアントから発信できません。そのため、必要なインターフェースをサーバーがユーザーに送信できるように、2番目のリクエストがクライアントからサーバーに送信される必要があります。 |
72+
| Prompt Message | Specifies the message that users see when they initiate the integration. Use this field to provide context about what happens next. The message is limited to 500 characters. |
7273
| ユーザーエクスペリエンス | 統合が新しいウィンドウで開くことを通知します。 |
7374
| 新しいウィンドウの設定 | アプリケーションを新しいタブで開くかどうかを決定します。 |
7475

7576
### コールバックパラメータ
7677

77-
\[**コールバックパラメータ**] セクションでは、ユーザーが確認プロンプトを受け入れるとBoxからコールバックURLに送信されるパラメータを構成します。この設定が構成されていない場合、BoxからコールバックURLにパラメータが送信されません。パラメータを追加するには、\[**メソッド**] を選択し、\[**パラメータ名**] を指定して、\[**パラメータ値**] を追加します。使用可能なメソッドは**Get****Post**です。
78+
The **Callback Parameters** section configures the parameters that Box sends to the callback URL when a user accepts a confirmation prompt. If this setting is not configured, Box does not send any parameters to the callback URL. To add a parameter, select the **Method** (GET or POST), specify the **Parameter name** and add a **Parameter value**.
7879

7980
<message type="warning">
8081

81-
**File**メソッドのサポートは終了しました。すでにこのメソッドを使用している場合は、その値を編集できません。**File**メソッドを**Get**または**Post**に変更することはできますが、この操作を元に戻すことはできません。
82+
The **File** method is no longer supported. If you already used this method, you cannot edit its values. You can change the **File** method to **GET** or **POST**, but you can't undo this action.
8283

8384
</message>
8485

85-
: **Get - `userid` - `#user_id#`**
86+
For example: **GET - `userid` - `#user_id#`**.
8687

8788
以下のパラメータ値が使用可能です。
8889

89-
| パラメータ | 説明 |
90-
| --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
91-
| `user_id` | Box[ユーザーID][uid]。この情報は、アクションを完了するためにユーザー認証が必要なポップアップ統合で使用されます。Box IDをアプリケーションに保存すると、統合からの後続の認証リクエストを有効にできます。 |
92-
| `user_name` | Boxユーザーのフルネームまたはメールアドレス。Boxユーザーが常に自分の名前を指定しているとは限りません。 |
93-
| `file_id` | Box[ファイルID][fid]。このIDを使用すると、ファイルを操作するBox APIコールを実行できます。 |
94-
| `file_name` | ファイルの名前。 |
95-
| `file_extension` | ファイルの拡張子。 |
96-
| `auth_code` | OAuth 2.0[承認コード][code]。これは、認証の成功時にBoxによって生成されます。その後、アプリケーションは、この承認コードをOAuth 2.0アクセストークンの代わりにBoxに指定する必要があります。有効なアクセストークンが含まれた承認ヘッダーをすべてのBox APIリクエストに含める必要があります。 |
97-
| `redirect_to_box_url` | ポップアップ統合で、確認プロンプトによるリクエストの送信先となるURL。このURLを使用すると、ユーザーは \[すべてのファイル] ページにリダイレクトされます。このパラメータにより、ポップアップパネルが閉じ、\[すべてのファイル] ページは、統合による変更をすべて反映するよう更新されます。このパラメータをアプリケーションに追加しない場合は、URL全体を指定できます。**成功**: `#redirect_to_box_url#&status=success&message=Your%20action%20was%20successful%2E`**失敗**: `#redirect_to_box_url#&status=failure&message=Your%20action%20was%20unsuccessful%2E` |
90+
| パラメータ | メソッド | 説明 |
91+
| --------------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
92+
| `user_id` | GET, POST | Box[ユーザーID][uid]。この情報は、アクションを完了するためにユーザー認証が必要なポップアップ統合で使用されます。Box IDをアプリケーションに保存すると、統合からの後続の認証リクエストを有効にできます。 |
93+
| `user_name` | POST | Boxユーザーのフルネームまたはメールアドレス。Boxユーザーが常に自分の名前を指定しているとは限りません。 |
94+
| `file_id` | GET, POST | Box[ファイルID][fid]。このIDを使用すると、ファイルを操作するBox APIコールを実行できます。 |
95+
| `file_name` | POST | ファイルの名前。 |
96+
| `file_extension` | GET, POST | ファイルの拡張子。 |
97+
| `auth_code` | GET, POST | OAuth 2.0[承認コード][code]。これは、認証の成功時にBoxによって生成されます。その後、アプリケーションは、この承認コードをOAuth 2.0アクセストークンの代わりにBoxに指定する必要があります。有効なアクセストークンが含まれた承認ヘッダーをすべてのBox APIリクエストに含める必要があります。 |
98+
| `redirect_to_box_url` | GET, POST | ポップアップ統合で、確認プロンプトによるリクエストの送信先となるURL。このURLを使用すると、ユーザーは \[すべてのファイル] ページにリダイレクトされます。このパラメータにより、ポップアップパネルが閉じ、\[すべてのファイル] ページは、統合による変更をすべて反映するよう更新されます。このパラメータをアプリケーションに追加しない場合は、URL全体を指定できます。**成功**: `#redirect_to_box_url#&status=success&message=Your%20action%20was%20successful%2E`**失敗**: `#redirect_to_box_url#&status=failure&message=Your%20action%20was%20unsuccessful%2E` |
9899

99100
### 統合ステータス
100101

guides/archives/add-content.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
rank: 1
3+
related_endpoints:
4+
- post-archives
5+
- put-files-id
6+
- put-folders-id
7+
related_resources:
8+
- archive
9+
related_guides:
10+
- archives/restore-content
11+
required_guides: []
12+
alias_paths: []
13+
category_id: archives
14+
subcategory_id: null
15+
is_index: false
16+
id: archives/add-content
17+
type: guide
18+
total_steps: 3
19+
sibling_id: archives
20+
parent_id: archives
21+
next_page_id: archives/restore-content
22+
previous_page_id: ''
23+
source_url: >-
24+
https://github.com/box/developer.box.com/blob/main/content/guides/archives/add-content.md
25+
fullyTranslated: true
26+
---
27+
# Add content to Box Archive
28+
29+
To add content to an archive, you need to create it first. If you have not done this yet, use the [Create Archive][Create Archive] endpoint.
30+
31+
## Add file or folder to archive
32+
33+
Use the [`PUT /files/:id`][Update file] API endpoint to add a file to an archive, or the [`PUT /folders/:id`][Update folder] endpoint to add a folder. The `id` parameter is the ID of the file/folder you want to add to the archive. To specify the destination, use the `parent.id` [parameter][Update parent id of folder] in the request body. This can be either an ID of an archive or the ID of a folder that is inside an archive.
34+
35+
[Create Archive]: https://developer.box.com/reference/v2025.0/post-archives/
36+
37+
[Update file]: e://put-files-id
38+
39+
[Update parent id of file]: https://developer.box.com/reference/put-files-id/#param-parent-id
40+
41+
[Update folder]: e://put-folders-id
42+
43+
[Update parent id of folder]: https://developer.box.com/reference/put-folders-id/#param-parent-id

guides/archives/index.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
rank: 1
3+
related_endpoints:
4+
- post-archives
5+
- get-archives
6+
- delete-archives-id
7+
- put-files-id
8+
- put-folders-id
9+
related_resources:
10+
- archive
11+
related_guides:
12+
- archives/add-content
13+
- archives/restore-content
14+
- archives/supported-apis
15+
required_guides: []
16+
alias_paths: []
17+
category_id: archives
18+
subcategory_id: null
19+
is_index: true
20+
id: archives
21+
type: guide
22+
total_steps: 3
23+
sibling_id: guides
24+
parent_id: guides
25+
next_page_id: archives/restore-content
26+
previous_page_id: ''
27+
source_url: >-
28+
https://github.com/box/developer.box.com/blob/main/content/guides/archives/index.md
29+
fullyTranslated: true
30+
---
31+
# Box Archive
32+
33+
<Message type="notice">
34+
35+
Box Archive is available only for Enterprise Advanced accounts.
36+
37+
</Message>
38+
39+
Box Archive allows you to create and manage archives. An archive is a folder dedicated to storing content that is redundant, outdated, or trivial. Content in an archive is owned by the enterprise, and it is not accessible to previous owner and collaborators.
40+
41+
## Archives are folders
42+
43+
Archives are a special type of folders. Box Archive APIs allow you to create, list and delete archives. However, there are other APIs that also work with archives or with content within archives. For a full list of supported APIs, see the [Supported APIs][Supported APIs] guide.
44+
45+
## 必須のスコープ
46+
47+
Before using any of the Box Archive APIs, make sure you can access [Box Archive in Admin Console][Box Archive in Admin Console]. Your Box Platform app must have the `GCM` and `Read and write all files and folders` [scopes][Scopes] enabled. If you plan to only view archives and not modify them, use the `Read all files and folders` instead of the `Read and write all files and folders` scope.
48+
49+
<Message type="notice">
50+
51+
The `GCM` scope is not available in the Developer Console and needs to be enabled by contacting customer support.
52+
53+
</Message>
54+
55+
[Supported APIs]: g://archives/supported-apis
56+
57+
[Box Archive in Admin Console]: https://support.box.com/hc/en-us/p/Product_Page_2023?section-id=40168863437843
58+
59+
[Scopes]: https://developer.box.com/guides/api-calls/permissions-and-errors/scopes/

guides/archives/restore-content.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
rank: 2
3+
related_endpoints:
4+
- put-files-id
5+
- put-folders-id
6+
related_resources:
7+
- archive
8+
related_guides:
9+
- archives/add-content
10+
required_guides: []
11+
alias_paths: []
12+
category_id: archives
13+
subcategory_id: null
14+
is_index: false
15+
id: archives/restore-content
16+
type: guide
17+
total_steps: 3
18+
sibling_id: archives
19+
parent_id: archives
20+
next_page_id: archives/supported-apis
21+
previous_page_id: archives/add-content
22+
source_url: >-
23+
https://github.com/box/developer.box.com/blob/main/content/guides/archives/restore-content.md
24+
fullyTranslated: true
25+
---
26+
# Restore content from Box Archive
27+
28+
This guide describes how to restore content that you archived by mistake.
29+
30+
## Restore file or folder from archive
31+
32+
Use the [`PUT /files/:id`][Update file] API endpoint to restore a file from an archive, or the [`PUT /folders/:id`][Update folder] endpoint to restore a folder from an archive. The `id` parameter is the ID of the file/folder you want to restore from an archive. To specify the destination, use the `parent.id` [parameter][Update parent id of folder] in the request body. This is the ID of a folder (can be owned by any user) where you want to restore the file/folder.
33+
34+
To restore a file/folder to user's root folder, use `0` as the `parent.id` value. Additionally, pass the ID of the user in the `parent.user_id` [parameter][Update parent user id of folder] in the request body.
35+
36+
[Update file]: e://put-files-id
37+
38+
[Update parent id of file]: https://developer.box.com/reference/put-files-id/#param-parent-id
39+
40+
[Update parent user id of file]: https://developer.box.com/reference/put-files-id/#param-parent-user_id
41+
42+
[Update folder]: e://put-folders-id
43+
44+
[Update parent id of folder]: https://developer.box.com/reference/put-folders-id/#param-parent-id
45+
46+
[Update parent user id of folder]: https://developer.box.com/reference/put-folders-id/#param-parent-user_id

0 commit comments

Comments
 (0)