50 lines
No EOL
1.6 KiB
Markdown
50 lines
No EOL
1.6 KiB
Markdown
Method: GET
|
|
|
|
Endpoint: https://www.planetromeo.com/api/v4/profiles/list?lang=en&ids[]=(Comma separated list of user IDs)&expand=*.(interactions)&pick=*.(id,name,interactions,online_status,location,preview_pic)
|
|
|
|
Headers:
|
|
|
|
Default GET headers
|
|
|
|
Sample response:
|
|
|
|
[
|
|
{
|
|
"id":"USER_ID",
|
|
"name":"USER_NICK",
|
|
"interactions":{
|
|
"id":"USER_ID",
|
|
"interactions":[
|
|
"BLOCK_PROFILE",
|
|
"GRANT_ALBUM_ACCESS",
|
|
"POST_REVIEW",
|
|
"REACT_TO_PICTURES",
|
|
"REQUEST_ALBUM_ACCESS",
|
|
"SEND_ANDROID_INAPP_GIFT",
|
|
"SEND_FOOTPRINT",
|
|
"SEND_GIFT",
|
|
"SEND_LINK_REQUEST",
|
|
"SEND_MESSAGE",
|
|
"VISIT_PROFILE"
|
|
] (= list of allowed interactions with that user)
|
|
},
|
|
"online_status":"ONLINE_STATUS",
|
|
"location":{
|
|
"name":"LOCATION_NAME",
|
|
"country":"LOCATION_COUNTRY",
|
|
"distance":LOCATION_DISTANCE (to self, int),
|
|
"sensor":SENSOR_STATUS (?, bool)
|
|
},
|
|
"preview_pic":{
|
|
"id":"PICTURE_ID",
|
|
"owner_id":"OWNER_ID" (probably always equals USER_ID),
|
|
"url_token":"PICTURE_URL_TOKEN",
|
|
"auth_token":"PICTURE_AUTH_TOKEN" (didn't see that used anywhere yet),
|
|
"width":PICTURE_WIDTH (int),
|
|
"height":PICTURE_HEIGHT (int),
|
|
"rating":"PICTURE_RATING",
|
|
"is_public":PICTURE_PUBLIC_STATUS (bool - probably always true for preview pics)
|
|
}
|
|
},
|
|
(more profiles)
|
|
] |