署名付き埋め込みの設定方法
外部サービスにノートブックをシームレスに統合
設定方法
署名付き埋め込みの準備
サーバーからトークンを発行する
post
本文
api_keystring · 最小: 24 · 最大: 24必須Example:
API Key. Can be issued from 'Workspace settings > API Keys'
6729a28bc7100424ad4e2e5dapi_secretstring · 最小: 32 · 最大: 32必須Example:
API Secret. Generated when issuing 'API Key'
c711defdff5f4e3e8e53d4f408579b9aintegration_idstring · 最小: 24 · 最大: 24必須Example:
Integration ID. Can be obtained from the signed embed settings
671ef14b0d08cf6c657df7dapage_idstring · 最小: 24 · 最大: 24必須Example:
Page ID to be displayed in the notebook. Can be obtained from the signed embed settings
671ecbbf2990c63fea3b3a26token_user_idstring · 最小: 1必須
Specify the user ID within the application where the notebook is embedded. Ensure that the token can uniquely identify the token user for security reason.
expires_ininteger · 最小: 1 · 最大: 86400オプションExample:
Token expiration time in seconds. Default is 3600 seconds (1 hour)
3600cache_max_ageinteger · 最大: 86400オプションExample:
Cache max age in seconds. Default is 86400 (24 hours)
86400レスポンス
200
Generated token
application/json
400
Bad request
application/json
401
Unauthorized
application/json
post
/api/notebook/issueTokeniframeの埋め込み
[推奨] パターン1. トークンを postMessage で渡す
パターン2. トークンをURLパラメータで渡す
付録
クライアントサイドオプション
key
description
メッセージ一覧
iframeへのメッセージ
type
description
iframeからのメッセージ
type
description
よくある質問
トークン発行時に "Missing param: xxx" エラーが出る場合
SET_TOKENメッセージの送信時に "The following parameters must be set by the server" エラーが出る
SET_TOKENメッセージを送信してもパラメータが変更されない場合
最終更新
役に立ちましたか?

