Create site publicize connection
documentedCreate a new publicize connection for the site.
POST /sites/{site}/publicize-connections/newSharingno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://public-api.wordpress.com/rest/v1.1/sites/{{$site}}/publicize-connections/new" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Accept: application/json" \
--data-urlencode 'keyring_connection_ID={{$keyring_connection_ID}}' \
--data-urlencode 'shared={{$shared}}' \
--data-urlencode 'external_user_ID={{$external_user_ID}}'