Profiles
User profile management and retrieval
Retrieves multiple user profiles by their IDs (Ethereum addresses). Supports conditional requests using If-Modified-Since header to avoid unnecessary data transfer.
Header parameters
If-Modified-SincestringOptionalExample:
Only return profiles modified after this timestamp (HTTP date format)
Wed, 21 Oct 2015 07:28:00 GMTBody
idsstring[]RequiredExample:
Array of Ethereum addresses (profile IDs)
["0x1234...","0x5678..."]Responses
200
List of profiles
application/json
304
Not modified - no profiles were updated since If-Modified-Since timestamp
400
Bad request - Invalid parameters
application/json
post/profiles
POST /lambdas/profiles HTTP/1.1
Host: peer.decentraland.org
Content-Type: application/json
Accept: */*
Content-Length: 33
{
"ids": [
"0x1234...",
"0x5678..."
]
}[
{
"avatars": [
{
"userId": "text",
"email": "text",
"name": "text",
"hasClaimedName": true,
"description": "text",
"ethAddress": "text",
"version": 1,
"avatar": {},
"tutorialStep": 1,
"interests": [
"text"
]
}
]
}
]Retrieves a user profile by their ID (Ethereum address)
Path parameters
idstringRequiredExample:
The Ethereum address of the profile
0x1234567890abcdef1234567890abcdef12345678Responses
200
Profile found
application/json
404
Resource not found
application/json
get/profiles/{id}
GET /lambdas/profiles/{id} HTTP/1.1
Host: peer.decentraland.org
Accept: */*
{
"avatars": [
{
"userId": "text",
"email": "text",
"name": "text",
"hasClaimedName": true,
"description": "text",
"ethAddress": "text",
"version": 1,
"avatar": {},
"tutorialStep": 1,
"interests": [
"text"
]
}
]
}Last updated