メインコンテンツへスキップ
GET
/
metadata_taxonomies
/
{namespace}
/
{taxonomy_key}
/
nodes
/
{node_id}
cURL
curl --request GET \
  --url https://api.box.com/2.0/metadata_taxonomies/{namespace}/{taxonomy_key}/nodes/{node_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "14d3d433-c77f-49c5-b146-9dea370f6e32",
  "displayName": "France",
  "level": 2,
  "parentId": "99df4513-7102-4896-8228-94635ee9d330",
  "nodePath": [
    "99df4513-7102-4896-8228-94635ee9d330"
  ],
  "ancestors": [
    {
      "id": "14d3d433-c77f-49c5-b146-9dea370f6e32",
      "displayName": "France",
      "level": 2
    }
  ]
}
This endpoint is in the version 2024.0. No changes are required to continue using it. For more details, see Box API versioning.Learn more about Box SDK versioning strategy.

認証

Authorization
string
header
必須

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

パスパラメータ

namespace
string
必須

The namespace of the metadata taxonomy.

taxonomy_key
string
必須

The key of the metadata taxonomy.

node_id
string
必須

The identifier of the metadata taxonomy node.

レスポンス

Returns the metadata taxonomy node that matches the identifier.

A node object for metadata taxonomy that can be used in metadata templates.

id
string
必須

A unique identifier of the metadata taxonomy node.

:

"14d3d433-c77f-49c5-b146-9dea370f6e32"

displayName
string
必須

The display name of the metadata taxonomy node.

:

"France"

level
integer
必須

An index of the level to which the node belongs.

:

2

parentId
string

The identifier of the parent node.

:

"99df4513-7102-4896-8228-94635ee9d330"

nodePath
string[]

An array of identifiers for all ancestor nodes.
Not returned for root-level nodes.

:
["99df4513-7102-4896-8228-94635ee9d330"]
ancestors
Metadata taxonomy ancestor · object[]

An array of objects for all ancestor nodes.
Not returned for root-level nodes.