Scope
Let the user choose which LinkedIn destinations a post goes to, instead of a single on/off toggle.
API
GET /api/linkedin/targets — available destinations (live-verified 200 {"targets":[]}).
GET/PUT /api/linkedin/posting-targets — the user's saved default selection.
POST /api/messages takes linkedInTargets: [{kind: "personal"} | {kind: "orgPage", pageId}].
Prefer linkedInTargets (plural). The spec marks linkedInTarget as "superseded singular form, still accepted for older clients" — do not build on it.
Acceptance criteria
Scope
Let the user choose which LinkedIn destinations a post goes to, instead of a single on/off toggle.
API
GET /api/linkedin/targets— available destinations (live-verified200 {"targets":[]}).GET/PUT /api/linkedin/posting-targets— the user's saved default selection.POST /api/messagestakeslinkedInTargets: [{kind: "personal"} | {kind: "orgPage", pageId}].Prefer
linkedInTargets(plural). The spec markslinkedInTargetas "superseded singular form, still accepted for older clients" — do not build on it.Acceptance criteria
linkedInTargets; the legacy singular is never sent.GET /api/linkedin/posting-targetspre-select, andPUTpersists a change.