Resources
The Resources API provides a comprehensive set of endpoints to interact with a communities XP system.
Resources are split into two parts
globalserving as your core XP to be distributed to users as a means to climb the community leaderbaord.
scopedserving as an isolated, disposable, resource to be used in Quest Events
Path parameters
resourceTypeIdstringRequired
Responses
400
Generic Client Error
application/json
401
Authentication related errors:
GENERIC_UNAUTHORIZED: Generic unauthorized access error.SESSION_TOKEN_EXPIRED: User session has expired.REFRESH_TOKEN_EXPIRED: Refresh token has expired.
application/json
404
Generic not found
application/json
500
Internal server error
application/json
default
application/json
get
/v1/community/resource-types/{resourceTypeId}GET /v1/community/resource-types/{resourceTypeId} HTTP/1.1
Host:
Accept: */*
{
"code": 10002,
"message": "generic_client_error"
}Path parameters
communityIdstringRequired
Query parameters
pagenumberOptional
limitnumberOptional
Responses
400
Generic Client Error
application/json
401
Authentication related errors:
GENERIC_UNAUTHORIZED: Generic unauthorized access error.SESSION_TOKEN_EXPIRED: User session has expired.REFRESH_TOKEN_EXPIRED: Refresh token has expired.
application/json
404
Generic not found
application/json
500
Internal server error
application/json
default
application/json
get
/v1/community/{communityId}/resource-typesGET /v1/community/{communityId}/resource-types HTTP/1.1
Host:
Accept: */*
{
"code": 10002,
"message": "generic_client_error"
}Last updated