Skip to content

Commit 8a3b7f7

Browse files
committed
Moji: Update translations
1 parent f06207d commit 8a3b7f7

File tree

9 files changed

+77
-35
lines changed

9 files changed

+77
-35
lines changed

guides/metadata/queries/comparison.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ is_index: false
77
id: metadata/queries/comparison
88
rank: 7
99
type: guide
10-
total_steps: 6
10+
total_steps: 7
1111
sibling_id: metadata/queries
1212
parent_id: metadata/queries
1313
next_page_id: ''
14-
previous_page_id: metadata/queries
14+
previous_page_id: metadata/queries/pagination
1515
source_url: >-
1616
https://github.com/box/developer.box.com/blob/main/content/guides/metadata/5-queries/7-comparison.md
1717
fullyTranslated: true

guides/metadata/queries/create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ is_index: false
77
id: metadata/queries/create
88
rank: 1
99
type: guide
10-
total_steps: 6
10+
total_steps: 7
1111
sibling_id: metadata/queries
1212
parent_id: metadata/queries
1313
next_page_id: metadata/queries/syntax

guides/metadata/queries/errors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ is_index: false
77
id: metadata/queries/errors
88
rank: 4
99
type: guide
10-
total_steps: 6
10+
total_steps: 7
1111
sibling_id: metadata/queries
1212
parent_id: metadata/queries
1313
next_page_id: metadata/queries
14-
previous_page_id: metadata/queries/pagination
14+
previous_page_id: metadata/queries/item-fields
1515
source_url: >-
1616
https://github.com/box/developer.box.com/blob/main/content/guides/metadata/5-queries/4-errors.md
1717
fullyTranslated: true

guides/metadata/queries/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ is_index: true
77
id: metadata/queries
88
rank: 5
99
type: guide
10-
total_steps: 6
10+
total_steps: 7
1111
sibling_id: metadata
1212
parent_id: metadata
13-
next_page_id: metadata/queries/comparison
13+
next_page_id: metadata/queries/pagination
1414
previous_page_id: metadata/queries/errors
1515
source_url: >-
1616
https://github.com/box/developer.box.com/blob/main/content/guides/metadata/5-queries/0-index.md
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
related_endpoints: []
3+
required_guides: []
4+
category_id: metadata
5+
subcategory_id: metadata/5-queries
6+
is_index: false
7+
id: metadata/queries/item-fields
8+
rank: 3
9+
type: guide
10+
total_steps: 7
11+
sibling_id: metadata/queries
12+
parent_id: metadata/queries
13+
next_page_id: metadata/queries/errors
14+
previous_page_id: metadata/queries/syntax
15+
source_url: >-
16+
https://github.com/box/developer.box.com/blob/main/content/guides/metadata/5-queries/3-item-fields.md
17+
fullyTranslated: true
18+
---
19+
# Query item fields
20+
21+
Item fields are searchable metadata fields that describe items (files and folders) in Box. These fields expose built-in item properties such as name, type, owner, and timestamps with defined data types so you can filter, sort, and search Box content.
22+
23+
## Supported item fields
24+
25+
The following table lists the item fields you can use in metadata queries.
26+
27+
| フィールド名 | 説明 | Sorting |
28+
| --------------------------- | ------------------------------------------------------------------------------------------------ | ------- |
29+
| `item.type` | Type of the item: `file` or `folder` | はい |
30+
| `item.name` | Name of the item | はい |
31+
| `item.description` | Description of the item | はい |
32+
| `item.extension` | File extension, such as `pdf`, `jpeg`, `xlsx`, `txt`, `xls`, `png`, `log`, or `csv` | はい |
33+
| `item.owned_by` | Owner of the item, for example `user_123` | はい |
34+
| `item.owner_enterprise_id` | Enterprise ID of the item owner, for example `1234` | はい |
35+
| `item.created_at` | Date and time when the item was created in Box | はい |
36+
| `item.modified_at` | Date and time when the item was last updated in Box | はい |
37+
| `item.content_created_at` | Date and time when the item was originally created, which might be before it was uploaded to Box | はい |
38+
| `item.content_modified_at` | Date and time when the item was last updated, which might be before it was uploaded to Box | はい |
39+
| `item.quick_search_content` | Full-text search across item name, description, and metadata fields | いいえ |

guides/metadata/queries/limitations.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ is_index: false
77
id: metadata/queries/limitations
88
rank: 5
99
type: guide
10-
total_steps: 6
10+
total_steps: 7
1111
sibling_id: metadata/queries
1212
parent_id: metadata/queries
13-
next_page_id: metadata/queries/comparison
13+
next_page_id: metadata/queries/pagination
1414
previous_page_id: metadata/queries/errors
1515
source_url: >-
1616
https://github.com/box/developer.box.com/blob/main/content/guides/metadata/5-queries/5-limitations.md
@@ -36,14 +36,14 @@ Boxでは、メタデータテンプレートを使用してコンテンツの
3636

3737
## 推奨される結果セットのサイズ
3838

39-
可能であれば、結果セットの項目数が2,000未満になるリクエストのみを送信することをお勧めします。結果セットは、リクエストするユーザーの権限と`​ancestor_folder​`スコープが考慮される前に、`​from​``​query​`および`​query_params​`パラメータの評価だけに基づいてメタデータクエリに一致するファイルとフォルダのコレクション全体です。
39+
Where possible, it is recommended to only send requests for which the result set is less than 2,000 items.​ The ​result set​ is the entire collection of files and folders that match the metadata query exclusively based on evaluating the `​from​`, `​query​`, and `​query_params​` parameters — before the requesting user’s permissions and the `​ancestor_folder​` scope are considered.
4040

41-
結果セットの項目数が2,000を超えるメタデータクエリリクエストを送信した場合、APIは、以下の条件が両方とも満たされる場合に一致する結果をすべて返すことのみを保証できます。
41+
When sending a metadata query request for which the result set exceeds 2,000 items, the API can only guarantee that it returns all matching results if both the following conditions are met:
4242

4343
1. リクエストするユーザーが、結果セットに含まれるすべての項目に対して**プレビューアー**以上の権限を持っていること。
4444
2. 先祖フォルダに、結果セット内のすべてのファイルが含まれていること。
4545

46-
結果セットの項目数が2,000を超えており、上記の条件が当てはまらないメタデータクエリリクエストを送信すると、APIは、返される結果が少なくなるようクエリを制限する必要があることを示すレスポンスコード4XXとともにエラーを返す可能性があります。
46+
When sending a metadata query request for which the result set exceeds 2,000 items and for which these conditions are not true, the API might return an error with a 4XX response code indicating that the query will need to be restricted to return fewer results.
4747

4848
たとえば、次に示す、`catalogImages​`というメタデータテンプレートの簡略化したレプリゼンテーションを考えてみます。これには、`​photographer`という文字列フィールドが1つあります。
4949

@@ -62,7 +62,7 @@ Boxでは、メタデータテンプレートを使用してコンテンツの
6262

6363
この例では、10人のphotographer (写真家) がいて、それぞれが`catalogImages​`テンプレートが適用されている同じ数の画像を取り込むとします。
6464

65-
ここで、Box Enterpriseに、`catalogImages`テンプレートが適用され、2つのフォルダ`Parts​``Products`に均等に分けられている、4,000個のファイルがあると考えてみます。この2つのフォルダは、以下に示すように親フォルダ`​Catalog​`の子です。
65+
Now consider that there are 4,000 files in your Box enterprise which have the `catalogImages` template ​applied and which are split evenly between the two folders,​ `Parts​` and `Products`, ​which are children of the parent folder `​Catalog​` as shown below.
6666

6767
```sh
6868
Catalog/
@@ -82,7 +82,7 @@ Catalog/
8282

8383
以下の表に、考えられるいくつかのクエリの結果を示します。クエリについては、読みやすくするために平易な言葉で説明しています。
8484

85-
結果セットは、リクエストするユーザーの権限と`​ancestor_folder​`スコープが考慮される前に、`​from​``​query​`および`​query_params`パラメータの評価だけに基づいてメタデータクエリに一致する項目 (ファイルとフォルダ) のコレクションとして定義されることに注意してください。
85+
Remember that the ​result set ​is defined as a collection of items (files and folders) which match the metadata query exclusively based on evaluating the `​from​`, `​query​`, and `​query_params` parameters — before the requesting user’s permissions and the `​ancestor_folder​` scope are considered.
8686

8787
| クエリ | 結果セット | 結果 | メモ |
8888
| -------------------------------------------------------------------- | ------- | --------- | --------------------------------------------------------------------- |

guides/metadata/queries/pagination.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ category_id: metadata
55
subcategory_id: metadata/5-queries
66
is_index: false
77
id: metadata/queries/pagination
8-
rank: 3
8+
rank: 6
99
type: guide
10-
total_steps: 6
10+
total_steps: 7
1111
sibling_id: metadata/queries
1212
parent_id: metadata/queries
13-
next_page_id: metadata/queries/errors
14-
previous_page_id: metadata/queries/syntax
13+
next_page_id: metadata/queries/comparison
14+
previous_page_id: metadata/queries
1515
source_url: >-
16-
https://github.com/box/developer.box.com/blob/main/content/guides/metadata/5-queries/3-pagination.md
16+
https://github.com/box/developer.box.com/blob/main/content/guides/metadata/5-queries/6-pagination.md
1717
fullyTranslated: true
1818
---
1919
# ページ割りと並べ替え

guides/metadata/queries/syntax.md

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ is_index: false
77
id: metadata/queries/syntax
88
rank: 2
99
type: guide
10-
total_steps: 6
10+
total_steps: 7
1111
sibling_id: metadata/queries
1212
parent_id: metadata/queries
13-
next_page_id: metadata/queries/pagination
13+
next_page_id: metadata/queries/item-fields
1414
previous_page_id: metadata/queries/create
1515
source_url: >-
1616
https://github.com/box/developer.box.com/blob/main/content/guides/metadata/5-queries/2-syntax.md
@@ -77,19 +77,23 @@ fullyTranslated: true
7777

7878
<!-- i18n-enable localize-links -->
7979

80-
| 演算子 | |
81-
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
82-
| `AND` | `AND`で区切られたすべての条件が`TRUE`の場合に一致となります。 |
83-
| `OR` | `OR`で区切られた条件のいずれかが`TRUE`の場合に一致となります。 |
84-
| `NOT` | 先行する条件が`TRUE`**でない**場合に一致となります。 |
85-
| `LIKE` | テンプレートフィールドの値がパターンと一致する場合に一致となります。文字列値のみに対応します。詳細については、[パターン一致](#pattern-matching)を参照してください。その他の制限については以下を参照してください。 |
86-
| `NOT LIKE` | テンプレートフィールドの値がパターンと一致**しない**場合に一致となります。文字列値のみに対応します。詳細については、[パターン一致](#pattern-matching)を参照してください。その他の制限については以下を参照してください。 |
87-
| `ILIKE` | `LIKE`と同じですが、大文字と小文字が区別されません。その他の制限については以下を参照してください。 |
88-
| `NOT ILIKE` | `NOT LIKE`と同じですが、大文字と小文字が区別されません。その他の制限については以下を参照してください。 |
89-
| `IN` | テンプレートフィールドの値が指定されたリストの任意の値と等しい場合に一致となります。`amount IN (:arg1, :arg2, :arg3)`などの各リスト項目には、明示的に定義された`query_params`引数を使用します。仕様では、IN演算子はメタデータクエリの複数選択フィールドでサポートされていないため、400エラーが返されます。 |
90-
| `NOT IN` | `IN`に似ていますが、テンプレートフィールドの値は、リストに指定されたどの引数にも一致しません。 |
91-
| `IS NULL` | テンプレートフィールドの値が`null`の場合に一致となります。 |
92-
| `IS NOT NULL` | テンプレートフィールドの値が`null`でない場合に一致となります。 |
80+
| 演算子 | |
81+
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
82+
| `AND` | `AND`で区切られたすべての条件が`TRUE`の場合に一致となります。 |
83+
| `OR` | `OR`で区切られた条件のいずれかが`TRUE`の場合に一致となります。 |
84+
| `NOT` | 先行する条件が`TRUE`**でない**場合に一致となります。 |
85+
| `LIKE` | テンプレートフィールドの値がパターンと一致する場合に一致となります。文字列値のみに対応します。詳細については、[パターン一致](#pattern-matching)を参照してください。その他の制限については以下を参照してください。 |
86+
| `NOT LIKE` | テンプレートフィールドの値がパターンと一致**しない**場合に一致となります。文字列値のみに対応します。詳細については、[パターン一致](#pattern-matching)を参照してください。その他の制限については以下を参照してください。 |
87+
| `ILIKE` | `LIKE`と同じですが、大文字と小文字が区別されません。その他の制限については以下を参照してください。 |
88+
| `NOT ILIKE` | `NOT LIKE`と同じですが、大文字と小文字が区別されません。その他の制限については以下を参照してください。 |
89+
| `IN` | テンプレートフィールドの値が指定されたリストの任意の値と等しい場合に一致となります。`amount IN (:arg1, :arg2, :arg3)`などの各リスト項目には、明示的に定義された`query_params`引数を使用します。仕様では、IN演算子はメタデータクエリの複数選択フィールドでサポートされていないため、400エラーが返されます。 |
90+
| `NOT IN` | `IN`に似ていますが、テンプレートフィールドの値は、リストに指定されたどの引数にも一致しません。 |
91+
| `IS NULL` | テンプレートフィールドの値が`null`の場合に一致となります。 |
92+
| `IS NOT NULL` | テンプレートフィールドの値が`null`でない場合に一致となります。 |
93+
| `~` | Performs term-level search on the field against the provided terms. |
94+
| `HASANY` | Matches when the field value is equal to any of the arguments provided. The format requires each item in the list to be an explicitly defined `query_params` argument, for example, amount `HASANY (:arg1, :arg2, :arg3)`. |
95+
| `HASALL` | Matches when the field value has a match for all the arguments provided. The format requires each item in the list to be an explicitly defined `query_params` argument, for example, amount `HASALL (:arg1, :arg2, :arg3)`. |
96+
| `HASANCESTOR` | Matches when the field value is a descendant of any argument provided. The format requires each item in the list to be an explicitly defined `query_params` argument, for example, amount `HASANCESTOR (:arg1, :arg2, :arg3)`. Supported only for the taxonomy MD field. |
9397

9498
<!-- i18n-disable localize-links -->
9599

0 commit comments

Comments
 (0)