-
Notifications
You must be signed in to change notification settings - Fork 1
Profiles
Mateusz Donhefner edited this page Jan 18, 2021
·
3 revisions
Endpoint for handling profiles.
| Command | Method | Route | Description |
|---|---|---|---|
| Details | GET | /{culture}/api/Profiles/{username} | Fetches a single user profile by username. |
Call to this API method will retrive a single user profile by username. Response data will be in the following format:
{
"username": <string>,
"image": <string>,
"bio": <string>,
"photos": [
{
"id": <string>,
"url": <string>,
"isMain": <bool>
}
]
}
Example response for en-US/api/Profiles/bob:
{
"username": "bob",
"image": "https://res.cloudinary.com/socialknow/image/upload/v2508200349/c2y3qalp4uumwfxdzxmo.jpg",
"bio": null,
"photos": [
{
"id": "c2y3qalp4ugmwfxdzxmo",
"url": "https://res.cloudinary.com/socialknow/image/upload/v2508200349/c2y3qalp4uumwfxdzxmo.jpg",
"isMain": true
}
]
}