メインコンテンツへスキップ
POST
/
metadata_taxonomies
/
{namespace}
/
{taxonomy_key}
/
levels
cURL
curl -i -X POST "https://api.box.com/2.0/metadata_taxonomies/enterprise_123456/geography/levels" \
     -H "authorization: Bearer <ACCESS_TOKEN>" \
     -H "content-type: application/json" \
     -d '[
       {
         "displayName": "Continent",
         "description": "Continent Level"
       },
       {
         "displayName": "Country",
         "description": "Country Level"
       }
     ]'
{
  "entries": [
    {
      "displayName": "Continent",
      "description": "Continent",
      "level": 1
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://developer.box.com/llms.txt

Use this file to discover all available pages before exploring further.

このリソースは、バージョン2024.0のエンドポイントで使用されています。 詳細については、 Box APIのバージョン管理を参照してください。Box SDKのバージョニング戦略について詳しく学ぶ。」

承認

Authorization
string
header
必須

The access token received from the authorization server in the OAuth 2.0 flow.

パスパラメータ

namespace
string
必須

メタデータ階層の名前空間。

taxonomy_key
string
必須

メタデータ階層のキー。

ボディ

application/json
displayName
string

ユーザーに表示されるレベルの表示名。

:

"Continent"

description
string

レベルの説明。

:

"Continent"

level
integer<int32>

メタデータ階層内のレベルのインデックス。レベルのインデックスは1から始まります。

:

1

レスポンス

すべてのメタデータ階層レベルの配列を返します。

メタデータ階層のレベルは、メタデータ階層構造内の階層カテゴリを表します。

entries
メタデータ階層レベル · object[]

すべてのメタデータ階層レベルの配列。