Skip to content

Commit 4696ef0

Browse files
docs: remove SOURCE field and include zero values in post enrichment responses
- Remove SOURCE field from Post Comments and Post Reactions response examples - Add zero values to reaction breakdown in Post Comments examples - Update numeric fields to show zero values (numReactions, numReplies) - Align main branch documentation with API signature changes from lix-services PR #1569 Co-Authored-By: Adil <[email protected]>
1 parent 2669877 commit 4696ef0

File tree

1 file changed

+38
-8
lines changed

1 file changed

+38
-8
lines changed

source/includes/_enrichment.md

Lines changed: 38 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -720,6 +720,22 @@ pagination_token | | Token for pagination continuation.
720720
{
721721
"reaction_type": "INSIGHTFUL",
722722
"count": 2
723+
},
724+
{
725+
"reaction_type": "CELEBRATE",
726+
"count": 0
727+
},
728+
{
729+
"reaction_type": "LOVE",
730+
"count": 0
731+
},
732+
{
733+
"reaction_type": "SUPPORT",
734+
"count": 0
735+
},
736+
{
737+
"reaction_type": "FUNNY",
738+
"count": 0
723739
}
724740
]
725741
},
@@ -729,8 +745,8 @@ pagination_token | | Token for pagination continuation.
729745
"permalink": "https://www.linkedin.com/feed/update/urn:li:activity:7123456789012345678?commentUrn=urn:li:comment:987654321",
730746
"created_at": "2024-01-14T16:30:00Z",
731747
"post_urn": "urn:li:activity:7123456789012345678",
732-
"num_reactions": 3,
733-
"num_replies": 1,
748+
"num_reactions": 0,
749+
"num_replies": 0,
734750
"author": {
735751
"name": "John Doe",
736752
"link": "https://www.linkedin.com/in/johndoe",
@@ -741,11 +757,27 @@ pagination_token | | Token for pagination continuation.
741757
"reaction_breakdown": [
742758
{
743759
"reaction_type": "LIKE",
744-
"count": 2
760+
"count": 0
745761
},
746762
{
747763
"reaction_type": "CELEBRATE",
748-
"count": 1
764+
"count": 0
765+
},
766+
{
767+
"reaction_type": "LOVE",
768+
"count": 0
769+
},
770+
{
771+
"reaction_type": "SUPPORT",
772+
"count": 0
773+
},
774+
{
775+
"reaction_type": "INSIGHTFUL",
776+
"count": 0
777+
},
778+
{
779+
"reaction_type": "FUNNY",
780+
"count": 0
749781
}
750782
]
751783
}
@@ -755,8 +787,7 @@ pagination_token | | Token for pagination continuation.
755787
"start": 0,
756788
"count": 10
757789
},
758-
"pagination_token": "AQEDAQEDARIAAAFnY2VkZWY...",
759-
"source": "LINKEDIN_API"
790+
"pagination_token": "AQEDAQEDARIAAAFnY2VkZWY..."
760791
}
761792
```
762793

@@ -824,8 +855,7 @@ curl "https://api.lix-it.com/v1/enrich/post/reactions?post_urn=urn%3Ali%3Aactivi
824855
"start": 0,
825856
"count": 10
826857
},
827-
"pagination_token": "AQEDAQEDARIAAAFnY2VkZWY...",
828-
"source": "LINKEDIN_API"
858+
"pagination_token": "AQEDAQEDARIAAAFnY2VkZWY..."
829859
}
830860
```
831861

0 commit comments

Comments
 (0)