Docs
link_post_to_channel_post
Mark that post published, linked to the live post picked from find_post_on_channel (id, link and time re-read from the platform). Never retries. Needs publish permission.
Mark that post published, linked to the live post picked from find_post_on_channel (id, link and time re-read from the platform). Never retries. Needs publish permission.
Access and cost
- Kind: mutation
- Scope: workspace
- Actors: member, agent
- Credits: Free
- Requires confirmation: false
- Accepts idempotency key: false
Input schema
{
"properties": {
"workspaceId": {
"format": "uuid",
"type": "string"
},
"postId": {
"format": "uuid",
"type": "string"
},
"platformPostId": {
"maxLength": 512,
"minLength": 1,
"type": "string"
}
},
"required": [
"workspaceId",
"postId",
"platformPostId"
],
"type": "object"
}Output schema
{
"additionalProperties": false,
"properties": {
"postId": {
"format": "uuid",
"type": "string"
},
"platformPostId": {
"type": "string"
},
"permalink": {
"type": [
"string",
"null"
]
},
"publishedAt": {
"format": "date-time",
"type": "string"
},
"readCost": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"estimatedUsd": {
"minimum": 0,
"type": "number"
},
"postsRead": {
"minimum": 0,
"type": "integer"
},
"note": {
"type": "string"
}
},
"required": [
"estimatedUsd",
"postsRead",
"note"
],
"type": "object"
},
{
"type": "null"
}
]
}
},
"required": [
"postId",
"platformPostId",
"permalink",
"publishedAt",
"readCost"
],
"type": "object"
}Errors
[
"not_findable",
"channel_needs_reconnect",
"not_configured",
"platform_unavailable",
"connection_refreshing",
"not_on_channel",
"already_linked"
]Annotations
{
"destructiveHint": false,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Link a post to its live post"
}