Get Connection
Get connection status, i.e. check if the calling user is connected to the specified user.
user Id
Session authentication token.
OK
Connection status between two users
user id
769658112378Connection status between the requesting user and the request sender
ACCEPTEDPossible values: unix timestamp when the first request was made
1470018073812unix timestamp on the last updated date
1471018076255number of requests made
1Client error, see response body for further details.
Unauthorized: Invalid session token.
Forbidden: Caller lacks necessary entitlement.
Not Found: Connection cannot be found.
Server error, see response body for further details.
GET /pod/v1/connection/user/{userId}/info HTTP/1.1
Host: yourpodURL.symphony.com
sessionToken: text
Accept: */*
{
"userId": 769658112378,
"status": "ACCEPTED"
}📘 Note
When calling this as an OBO-enabled endpoint, use the OBO User Authenticate token for
sessionToken.Pods from all users involved need to have
crossPodenabled between them.
📘 404 Not Found
A
404 Not Founderror indicates either:
The specified user doesn’t exist.
The calling user and specified user are not connected because a Create Connection request has not yet been sent.
📘 Internal Connections
Users who belong to the same private pod are implicitly connected. Getting the connection status with an internal user will return the corresponding connection object with a status of
ACCEPTED.
Connection Status
Currently, there are four possible connection status:
PENDING_INCOMING: The specified user requested to connect with the calling user.PENDING_OUTGOING: The calling user requested to connect with the specified user.ACCEPTED: The two users are connected.REJECTED: The two users are not connected.
Last updated
Was this helpful?