INPUT_OBJECT

RecordSocialPostInput

Engine-only. Records one Ayrshare publish against a TDO + Destination.

The TDO and the network are NOT accepted here — they are read from the calling task's payload, which is the only authorized source for them. Supply the destination and the vendor's result.

link GraphQL Schema definition

1input RecordSocialPostInput {
3
2destinationId: ID!
8
4# Top-level Ayrshare post id from POST /api/post — NOT a per-platform
5# postIds[].id. The
6# idempotency key: the same id reported twice updates one record.
7vendorPostId: String!
10
9status: SocialPostStatus!
15
11# Public URL of the published post. Set at terminal success; ignored when null, so
12# a later
13# report cannot blank a URL already recorded.
14destinationUrl: String
18
16# When the vendor confirmed publication. Set at terminal success only.
17publishedAt: DateTime
19}

link Required by

This element is not required by anyone