メインコンテンツへスキップ
POST
/
metadata_taxonomies
/
{namespace}
/
{taxonomy_key}
/
levels
Python
client.metadata_taxonomies.create_metadata_taxonomy_level(
    namespace,
    taxonomy_key,
    [
        MetadataTaxonomyLevel(display_name="Continent", description="Continent Level"),
        MetadataTaxonomyLevel(display_name="Country", description="Country Level"),
    ],
)
{
  "entries": [
    {
      "displayName": "Continent",
      "description": "Continent",
      "level": 1
    }
  ]
}
このリソースは、バージョン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[]

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