get
https://sandbox-api.coris.ai/api/v0_2/establishment//social_media//
Returns the profile of a business on one social media platform. Without request_id, Coris returns stored data or collects it during the call, which can be slow. With request_id, it returns the result of Request social media by platform.
Lifecycle: 425 means not ready, and 200 means complete. See Handle async requests.
sequenceDiagram
accTitle: Get social media by platform sequence diagram
accDescr: Get social media by platform. You send POST .../social_media/{platform}/. Coris replies 201 request_id. You send GET ?request_id=... Coris replies 425 not ready. You send GET ?request_id=... Coris replies 200 complete. Coris sends POST callback_url, if sent.
participant You
participant Coris
You->>Coris: POST .../social_media/{platform}/
Coris-->>You: 201 request_id
You->>Coris: GET ?request_id=...
Coris-->>You: 425 not ready
You->>Coris: GET ?request_id=...
Coris-->>You: 200 complete
Coris->>You: POST callback_url, if sentRecent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
425Not ready. This applies only with request_id. Wait, then poll again.