Skip to content

Commit 35a8740

Browse files
docs: add Post Reactions enrichment endpoint documentation
- Add Post Reactions section to enrichment API documentation - Include HTTP request details for /v1/enrich/post/reactions endpoint - Document required post_urn parameter with URI encoding example - Add optional pagination parameters (start, pagination_token) - Include Python and Shell code examples following existing patterns - Document 1 Standard Credit usage consistent with other endpoints Co-Authored-By: Adil <[email protected]>
1 parent fb64ccc commit 35a8740

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

src/app/enrichment/page.mdx

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,72 @@ Please be aware if some data points do not exist, these will be returned as null
159159
<Row>
160160
<Col>
161161

162+
## Post Reactions
163+
164+
<Note variant="purple">
165+
Uses 1 Standard Credit.
166+
</Note>
167+
168+
This endpoint retrieves reactions for a specific LinkedIn post, including reaction types and reactor information.
169+
170+
### HTTP Request
171+
172+
`GET https://api.lix-it.com/v1/enrich/post/reactions`
173+
174+
### URL Parameters
175+
176+
#### Required parameters
177+
178+
Parameter | Description
179+
--------- | -----------
180+
post_urn | The LinkedIn URN of the post, URI encoded. For example `urn%3Ali%3Aactivity%3A7019605025920286720`, which is the URI-encoded form of `urn:li:activity:7019605025920286720`.
181+
182+
#### Optional parameters
183+
184+
Parameter | Description
185+
--------- | -----------
186+
start | Starting offset for pagination (default: 0)
187+
pagination_token | Token for paginated results
188+
189+
</Col>
190+
<Col sticky>
191+
192+
<CodeGroup title="Post Reactions" tag="GET" label="/v1/enrich/post/reactions">
193+
194+
```python
195+
import requests
196+
197+
url = "https://api.lix-it.com/v1/enrich/post/reactions?post_urn=urn%3Ali%3Aactivity%3A7019605025920286720"
198+
199+
payload={}
200+
headers = {
201+
'Authorization': [lixApiKey]
202+
}
203+
204+
response = requests.request("GET", url, headers=headers, data=payload)
205+
206+
print(response.json())
207+
```
208+
209+
```bash {{ title: 'Shell' }}
210+
curl "https://api.lix-it.com/v1/enrich/post/reactions?post_urn=urn%3Ali%3Aactivity%3A7019605025920286720" \
211+
-H "Authorization: lixApiKey"
212+
```
213+
214+
</CodeGroup>
215+
216+
<Note variant="warning">
217+
Please be aware if some data points do not exist, these will be returned as null.
218+
</Note>
219+
220+
</Col>
221+
</Row>
222+
223+
---
224+
225+
<Row>
226+
<Col>
227+
162228

163229
## Person
164230

0 commit comments

Comments
 (0)