OBJECT

SocialPost

A post of a TDO to a social Destination, from the moment it is submitted and accepted.

A publish that is still queued, or that failed before it could be submitted, has no SocialPost and appears only in Processing Center. A SocialPost is not proof of publication — read publishStatus.

link GraphQL Schema definition

1type SocialPost {
2
3id: ID!
4
5# The distributed TDO.
6tdoId: ID!
7
8temporalDataObject: TemporalDataObject
9
10destinationId: ID!
11
12destination: Destination
13
14# Whether the post is live: POSTED means it is, and `destinationUrl` is set. Use
15# this, not
16# `publishingTask.status`, to decide whether to link to the post.
17publishStatus: SocialPostStatus!
18
19# The task that published the post, as Processing Center shows it. Null when the
20# task is no longer
21# available.
22#
23# Its status can read `failed`, with a failure reason, while `publishStatus` is
24# PENDING: a slow publish may
25# still go live after its task has stopped waiting for it. Read `publishStatus` to
26# learn whether the post
27# failed.
28publishingTask: Task
29
30# Public URL of the post; set once POSTED. Null while PENDING and on a post that
31# never went live.
32destinationUrl: String
33
34# When the post was confirmed live, not when it was submitted. Null until POSTED.
35publishedAt: DateTime
36
37# When the post was submitted and accepted.
38createdDateTime: DateTime!
39
40modifiedDateTime: DateTime!
41
42# A post that has not synced yet reports `syncStatus: NEVER_SYNCED`. Null only
43# when the analytics could
44# not be read, with the cause in `errors`; the rest of the post is still returned.
45analytics: SocialPostAnalytics
46
47}

link Required by

This element is not required by anyone