shop
create
learn
vote
events
Download

Overview

See what's trending & new

Decentraland Studios

Hire pros to transform your ideas to reality

PUBLISH

GET
/api/places

Returns the list of the places

Request

CORS: Publicly Accessible

Query params
limit
uint
offset
uint
positions
array
Filter places in specific positions
maxItems: 1000
positions[]
string
pattern: "^-?\\d{1,3},-?\\d{1,3}$"
only_favorites
boolean
True if shows only favorite places
only_highlighted
boolean
True if shows only highlighted places
order_by
"like_score"
"most_active"
"updated_at"
"created_at"
string
Order places by
order
"asc"
"desc"
string
List order
default: "desc"
with_realms_detail
boolean
Add the numbers of users in each Realm (experimental)
search
string
Filter places that contains a text expression, should have at least 3 characters otherwise the resultant list will be empty
categories
array
Filter places by available categories
categories[]
string

Response

Body
ok
boolean
Define where the request was completed
data
array
data[]
object
data[].id
uudi
place id
data[].title
string
The place name
minLength: 0
maxLength: 50
data[].description
string
The place description
minLength: 0
maxLength: 5000
data[].image
uri
Url to the place cover or image
data[].owner
string
The owner's name
minLength: 0
maxLength: 42
data[].positions
array
A list of positions of the place
data[].positions[]
string
pattern: "^-?\\d{1,3},-?\\d{1,3}$"
data[].base_position
string
The base position of the place
pattern: "^-?\\d{1,3},-?\\d{1,3}$"
data[].contact_name
string
The contact name of the place
minLength: 0
maxLength: 5000
data[].contact_email
string
The contact email on the place
minLength: 0
maxLength: 5000
data[].content_rating
string
The content rating on the place
minLength: 0
maxLength: 1
data[].likes
number
The number of likes on the place
minimum: 0
data[].dislikes
number
The number of dislikes on the place
minimum: 0
data[].like_score
number
A calculated number to qualify a place based on its likes and dislikes only taking into account the users with enough VP
default: null
minimum: 0
maximum: 1
data[].like_rate
number
The percentage of likes on the place expressed on decimal fraction
default: null
minimum: 0
maximum: 1
data[].favorites
number
The number of favorites on the place
minimum: 0
data[].disabled
boolean
True if the place is disabled
data[].disabled_at
date-time
The date when the place was disabled
data[].created_at
date-time
the time the place was created
data[].updated_at
date-time
The time the place was last updated
data[].deployed_at
date-time
The time the place was last deployed
data[].user_like
boolean
True if user likes the place
data[].user_dislike
boolean
True if user dislikes the place
data[].user_favorite
boolean
True if user seletect as favorite the place
data[].user_count
number
The number of users in the place
minimum: 0
data[].realms_detail
array
A list of realms with users in each Realm (experimental)
data[].realms_detail[]
object
data[].realms_detail[].serverName
string
The name of the Realm server
data[].realms_detail[].url
string
The url of the Realm
data[].realms_detail[].usersCount
number
The total amount of users of the Realm
data[].realms_detail[].userParcels
array
Array of parcels for users of the Realm
data[].realms_detail[].userParcels[]
array
X and Y of the parcel
minItems: 2
maxItems: 2
data[].realms_detail[].userParcels[][]
number
data[].user_visits
number
The number of users that had visited the place in the last 30 days
minimum: 0
data[].categories
array
A list of the Place's categories
data[].categories[]
string
GET
/api/places/{place_id}

Returns information about an place by ID

Request

CORS: Publicly Accessible

URL
place_id
uuid
Place ID
required

Response

Body
ok
boolean
Define where the request was completed
data
object
data.id
uudi
place id
data.title
string
The place name
minLength: 0
maxLength: 50
data.description
string
The place description
minLength: 0
maxLength: 5000
data.image
uri
Url to the place cover or image
data.owner
string
The owner's name
minLength: 0
maxLength: 42
data.positions
array
A list of positions of the place
data.positions[]
string
pattern: "^-?\\d{1,3},-?\\d{1,3}$"
data.base_position
string
The base position of the place
pattern: "^-?\\d{1,3},-?\\d{1,3}$"
data.contact_name
string
The contact name of the place
minLength: 0
maxLength: 5000
data.contact_email
string
The contact email on the place
minLength: 0
maxLength: 5000
data.content_rating
string
The content rating on the place
minLength: 0
maxLength: 1
data.likes
number
The number of likes on the place
minimum: 0
data.dislikes
number
The number of dislikes on the place
minimum: 0
data.like_score
number
A calculated number to qualify a place based on its likes and dislikes only taking into account the users with enough VP
default: null
minimum: 0
maximum: 1
data.like_rate
number
The percentage of likes on the place expressed on decimal fraction
default: null
minimum: 0
maximum: 1
data.favorites
number
The number of favorites on the place
minimum: 0
data.disabled
boolean
True if the place is disabled
data.disabled_at
date-time
The date when the place was disabled
data.created_at
date-time
the time the place was created
data.updated_at
date-time
The time the place was last updated
data.deployed_at
date-time
The time the place was last deployed
data.user_like
boolean
True if user likes the place
data.user_dislike
boolean
True if user dislikes the place
data.user_favorite
boolean
True if user seletect as favorite the place
data.user_count
number
The number of users in the place
minimum: 0
data.realms_detail
array
A list of realms with users in each Realm (experimental)
data.realms_detail[]
object
data.realms_detail[].serverName
string
The name of the Realm server
data.realms_detail[].url
string
The url of the Realm
data.realms_detail[].usersCount
number
The total amount of users of the Realm
data.realms_detail[].userParcels
array
Array of parcels for users of the Realm
data.realms_detail[].userParcels[]
array
X and Y of the parcel
minItems: 2
maxItems: 2
data.realms_detail[].userParcels[][]
number
data.user_visits
number
The number of users that had visited the place in the last 30 days
minimum: 0
data.categories
array
A list of the Place's categories
data.categories[]
string
PATCH
/places/{place_id}/favorites

Add or remove favorite to user

Request

Authentication: required

CORS: Publicly Accessible

URL

user favorite query needed

favorites
boolean
True if the place is selected as favorite
required

Response

CORS: Publicly Accessible

URL
ok
boolean
Define where the request was completed
data
object
data.favorites
number
The number of favorites on the place
minimum: 0
data.user_favorite
boolean
True if the user selected as favorite
PATCH
/places/{place_id}/likes

Toggle between like, dislike, or none

Request

Authentication: required

CORS: Publicly Accessible

URL

user like body needed

like
boolean
True if the place is selected as like

Response

CORS: Publicly Accessible

URL
ok
boolean
Define where the request was completed
data
object
data.like
number
The number of likes on the place
minimum: 0
data.dislike
number
The number of dislikes on the place
minimum: 0
data.user_like
boolean
True if user likes the place
data.user_dislike
boolean
True if user dislikes the place
GET
/api/worlds

Returns the list of the worlds

Request

CORS: Publicly Accessible

Query params
limit
uint
offset
uint
names
array
Filter worlds by names
maxItems: 1000
names[]
string
only_favorites
boolean
True if shows only favorite worlds
order_by
"like_score"
"most_active"
"created_at"
string
Order worlds by
order
"asc"
"desc"
string
List order
default: "desc"
search
string
Filter worlds that contains a text expression, should have at least 3 characters otherwise the resultant list will be empty
categories
array
Filter worlds by categories
categories[]
string
disabled
boolean
True if shows also disabled worlds

Response

Body
ok
boolean
Define where the request was completed
data
array
data[]
object
data[].id
uudi
world id
data[].title
string
The world name
minLength: 0
maxLength: 50
data[].description
string
The world description
minLength: 0
maxLength: 5000
data[].image
uri
Url to the world cover or image
data[].owner
string
The owner's name
minLength: 0
maxLength: 42
data[].positions
array
A list of positions of the world
data[].positions[]
string
pattern: "^-?\\d{1,3},-?\\d{1,3}$"
data[].base_position
string
The base position of the world
pattern: "^-?\\d{1,3},-?\\d{1,3}$"
data[].contact_name
string
The contact name of the world
minLength: 0
maxLength: 5000
data[].contact_email
string
The contact email on the world
minLength: 0
maxLength: 5000
data[].content_rating
string
The content rating on the world
minLength: 0
maxLength: 5000
data[].likes
number
The number of likes on the world
minimum: 0
data[].dislikes
number
The number of dislikes on the world
minimum: 0
data[].like_score
number
A calculated number to qualify a place based on its likes and dislikes only taking into account the users with enough VP
default: null
minimum: 0
maximum: 1
data[].like_rate
number
The percentage of likes on the place expressed on decimal fraction
default: null
minimum: 0
maximum: 1
data[].favorites
number
The number of favorites on the world
minimum: 0
data[].disabled
boolean
True if the world is disabled
data[].disabled_at
date-time
The date when the world was disabled
data[].created_at
date-time
the time the world was created
data[].updated_at
date-time
The time the world was last updated
data[].deployed_at
date-time
The time the world was last deployed
data[].user_like
boolean
True if user likes the world
data[].user_dislike
boolean
True if user dislikes the world
data[].user_favorite
boolean
True if user seletect as favorite the world
data[].user_count
number
The number of users in the world
minimum: 0
data[].user_visits
number
The number of users that had visited the world in the last 30 days
minimum: 0
GET
/api/map

Returns an object with each Place's base position as the key

Request

CORS: Publicly Accessible

Query params
limit
uint
offset
uint
positions
array
Filter places in specific positions
maxItems: 1000
positions[]
string
pattern: "^-?\\d{1,3},-?\\d{1,3}$"
only_favorites
boolean
True if shows only favorite places
only_highlighted
boolean
True if shows only highlighted places
order_by
"like_score"
"most_active"
"updated_at"
"created_at"
string
Order places by
order
"asc"
"desc"
string
List order
default: "desc"
with_realms_detail
boolean
Add the numbers of users in each Realm (experimental)
search
string
Filter places that contains a text expression, should have at least 3 characters otherwise the resultant list will be empty
categories
array
Filter places by available categories
categories[]
string

Response

Body
ok
boolean
Define where the request was completed
data
object