Box Developerドキュメント

Box Developerドキュメントの新しいベータ版サイトがまもなくリリースされる予定です。最新の開発者向けガイド、APIリファレンス、AI搭載の検索により、Boxを使用した迅速な開発をサポートします。更新情報については今しばらくお待ちください。

最新バージョン

Get metadata taxonomy node by ID

get
https://api.box.com/2.0
/metadata_taxonomies/:namespace/:taxonomy_key/nodes/:node_id

このエンドポイントはバージョン2024.0です。引き続き使用するために 変更は必要ありません。詳細については、 **Box APIのバージョン管理**を参照してください。

Retrieves a metadata taxonomy node by its identifier.

リクエスト

bearer [ACCESS_TOKEN]
application/json

パスパラメータ

stringパス内必須
enterprise_123456

The namespace of the metadata taxonomy.

stringパス内必須
14d3d433-c77f-49c5-b146-9dea370f6e32

The identifier of the metadata taxonomy node.

stringパス内必須
geography

The key of the metadata taxonomy.

レスポンス

Returns the metadata taxonomy node that matches the identifier.

リクエストパラメータのいずれかが無効な場合に返されます。

Returned if the taxonomy node with the given node_id cannot be found.

予期しないクライアントエラー。

get
Get metadata taxonomy node by ID
このドキュメント内で一部のAPIを試せるようになりました。
ログイン

リクエストの例

Box SDKのバージョン戦略の詳細については、 **こちら**を確認してください。


.NET v6
await client.MetadataTaxonomies.GetMetadataTaxonomyNodeByIdAsync(namespaceParam: namespaceParam, taxonomyKey: taxonomyKey, nodeId: countryNode.Id);
Node v4
await client.metadataTaxonomies.getMetadataTaxonomyNodeById(
  namespace,
  taxonomyKey,
  countryNode.id,
);

レスポンスの例

{
  "id": "14d3d433-c77f-49c5-b146-9dea370f6e32",
  "ancestors": [
    {
      "displayName": "France",
      "id": "14d3d433-c77f-49c5-b146-9dea370f6e32",
      "level": 2
    }
  ],
  "displayName": "France",
  "level": 2,
  "nodePath": [
    "99df4513-7102-4896-8228-94635ee9d330"
  ],
  "parentId": "99df4513-7102-4896-8228-94635ee9d330"
}