メインコンテンツへスキップ
GET
/
shield_lists
/
{shield_list_id}
cURL
curl --request GET \
  --url https://api.box.com/2.0/shield_lists/{shield_list_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'box-version: <box-version>'
{
  "id": "90fb0e17-c332-40ed-b4f9-fa8908fbbb24",
  "type": "shield_list",
  "name": "Shield List Name",
  "enterprise": {
    "id": "1910967",
    "type": "enterprise"
  },
  "created_at": "2025-01-13T15:31:01.896Z",
  "updated_at": "2025-01-13T15:31:01.896Z",
  "content": {
    "type": "country",
    "country_codes": [
      "US",
      "PL"
    ]
  },
  "description": "A list of things that are shielded"
}
Box SDKのバージョニング戦略について詳しく学ぶ。」

Authorizations

Authorization
string
header
required

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

Headers

box-version
enum<string>
required

Version header.

利用可能なオプション:
2025.0

Path Parameters

shield_list_id
string
required

Shieldリストを表す一意の識別子。ShieldリストのIDは、企業のShieldリストをすべて取得するエンドポイントからのレスポンスで確認できます。

Response

Shieldリストオブジェクトを返します。

ShieldリストのStandard版の表示。

id
string
required

Shieldリストの一意の識別子。

Example:

"90fb0e17-c332-40ed-b4f9-fa8908fbbb24"

type
string
required

オブジェクトのタイプ。

Example:

"shield_list"

name
string
required

Shieldリストの名前。

Example:

"Shield List Name"

enterprise
企業の参照 · object
required

このリストが属している企業。

created_at
string<date-time>
required

このShieldリストが作成された日時を示すISO日時文字列。

Example:

"2025-01-13T15:31:01.896Z"

updated_at
string<date-time>
required

このShieldリストが更新された日時を示すISO日時文字列。

Example:

"2025-01-13T15:31:01.896Z"

content
Shieldリストのコンテンツ · object
required

このShieldリストの要素のタイプを指定し、要素自体を含めます。

description
string

Shieldリストの説明。

Example:

"A list of things that are shielded"