publish_linkedin_post
Composes a LinkedIn post from a published DevSpeak article. Requires DevSpeak administrator privileges — a standard API key receives 403. Defaults to a preview; pass dryRun:false to publish, which is irreversible.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The article slug, e.g. why-technical-specs-fail | |
| dryRun | No | Compose and return the post without publishing. Default true — always preview before publishing | |
| locale | No | Post language (default 'en') | |
| category | No | Tutorial category. Required when contentType is 'tutorial' | |
| guidance | No | Optional steer on the angle or emphasis | |
| postText | No | Replaces the generated copy. Only honoured when dryRun is false | |
| contentType | Yes | Which published content collection the article belongs to |