User

特性

pathstring
createTimestring
僅限輸出
idstring
僅限輸出
namestring
displayNamestring
aboutstring
localestring
premiumboolean
僅限輸出
idVerifiedboolean
僅限輸出
socialNetworkProfilesobject
基本網址

https://apis.roblox.com
User資源

{
"path": "users/123",
"createTime": "2023-07-05T12:34:56Z",
"id": "123456",
"name": "exampleUser",
"displayName": "userDefinedName",
"about": "Example User's bio",
"locale": "en-US",
"premium": true,
"idVerified": true,
"socialNetworkProfiles": {
"facebook": "string",
"twitter": "string",
"youtube": "string",
"twitch": "string",
"guilded": "string",
"visibility": "SOCIAL_NETWORK_VISIBILITY_UNSPECIFIED"
}
}

User

Get User
Beta

GET /cloud/v2/users/{user_id}
請求路徑參數
user_idstring
需要
回應User
GET /cloud/v2/users/{user_id}

curl -L -X GET 'https://apis.roblox.com/cloud/v2/users/{user_id}' \
-H 'x-api-key: {your-api-key}'
回應

{
"path": "users/123",
"createTime": "2023-07-05T12:34:56Z",
"id": "123456",
"name": "exampleUser",
"displayName": "userDefinedName",
"about": "Example User's bio",
"locale": "en-US",
"premium": true,
"idVerified": true,
"socialNetworkProfiles": {
"facebook": "string",
"twitter": "string",
"youtube": "string",
"twitch": "string",
"guilded": "string",
"visibility": "SOCIAL_NETWORK_VISIBILITY_UNSPECIFIED"
}
}

User

Generate User Thumbnail
Beta

GET /cloud/v2/users/{user_id}:generateThumbnail
請求路徑參數
user_idstring
需要
查詢參數
sizenumber
formatEnum<string>
shapeEnum<string>
回應
回應
imageUristring
中繼資料
GET /cloud/v2/users/{user_id}:generateThumbnail

curl -L -X GET 'https://apis.roblox.com/cloud/v2/users/{user_id}:generateThumbnail?size={integer}&format={string}&shape={string}' \
-H 'x-api-key: {your-api-key}'