links
GET /v1/link-targets/{targetId}/placements
Every link to this target, in every post, with its occurrence count.
認証
ベアラー トークンとして API キーを送信します。このエンドポイントでは仕様に特定の権限が記載されていないため、キーに必要な最小限の権限を付与し、推測するのではなくレスポンスを確認してください。
このエンドポイントは組織IDを受け付けません。お使いのキーによって所属する組織がすでに特定されており、レスポンスはその組織にスコープされます。
試してみる
アングルブラケット内のすべてをご自身の値に置き換え、キーのプレースホルダーをご利用中のダッシュボードのキーに置き換えてください。
curl -X GET https://api.zinndigital.com/v1/link-targets/{targetId}/placements \
-H "Authorization: Bearer zdk_live_…"ログインしていますか?ダッシュボード内のAPIコンソールでは、実際の組織IDやお客様ご自身のキーが自動入力され、ライブAPIに対してリクエストが実行されるため、実際のレスポンスを確認することができます。 API コンソールでこのエンドポイントを開く
詳細
The deepest drill-down, and the input the bulk editor will act on. ⭐ Each row carries the **whole `<a>` tag**, not just the href and the text. That is deliberate and it is what makes *"edit the links in full"* safe: an edit rewrites the href and the text **inside the existing tag**, so `rel`, `target` and the theme's classes survive instead of being flattened.
パラメータ
| 名前 | タイプ | 必須 | これがその内容です |
|---|---|---|---|
targetId (path) | Uuid | はい | Link target ID (UUIDv7). |
site_id (query) | string | いいえ | Only the links on this one site. |
limit (query) | integer | いいえ | — |
offset (query) | integer | いいえ | — |
返信
| 名前 | タイプ | 必須 | これがその内容です |
|---|---|---|---|
items | LinkPlacement[] | はい | — |
total | integer | はい | — |
offset | integer | はい | — |
limit | integer | はい | — |
has_more | boolean | はい | — |
このエンドポイントが返すエラー
401 · 403 · 404