Box Developerドキュメント
最新バージョン

Find app item for shared link

get
https://api.box.com/2.0
/shared_items

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

Returns the app item represented by a shared link.

The link can originate from the current enterprise or another.

リクエスト

bearer [ACCESS_TOKEN]
application/json

リクエストヘッダー

stringヘッダー内必須
shared_link=[example.com]&shared_link_password=[xyz123]

共有リンクとその共有リンクの省略可能なパスワードを含むヘッダー。

The format for this header is shared_link=[link]&shared_link_password=[password]

レスポンス

application/jsonアプリ項目

Returns a full app item resource if the shared link is valid and the user has access to it.

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

get
Find app item for shared link
このドキュメント内で一部のAPIを試せるようになりました。
ログイン

リクエストの例

TypeScript Gen
await client.sharedLinksAppItems.findAppItemForSharedLink({
  boxapi: ''.concat('shared_link=', appItemSharedLink) as string,
} satisfies FindAppItemForSharedLinkHeadersInput);
Python Gen
client.shared_links_app_items.find_app_item_for_shared_link(
    "".join(["shared_link=", app_item_shared_link])
)
.NET Gen
await client.SharedLinksAppItems.FindAppItemForSharedLinkAsync(headers: new FindAppItemForSharedLinkHeaders(boxapi: string.Concat("shared_link=", appItemSharedLink)));

レスポンスの例

{
  "id": "12345678",
  "type": "app_item",
  "application_type": "hubs"
}