Website API: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Roblox uses various website API's for its functioning. == GET /currency/balance == This returns the current users balance. { "robux": 1337, "tickets": 2337 } == GET /games/players/{user id} == This returns the ChatFilter for the specified user id. {"ChatFilter":"whitelist"} == GET /ownership/hasasset/{asset id}/{user id} == This returns whether the specified user id has an asset id. This returns either true or false. == GET /moderation/filtertext == This...") |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{WIP}} | |||
Roblox uses various website API's for its functioning. | Roblox uses various website API's for its functioning. | ||
Line 20: | Line 22: | ||
This returns whether the specified user id has an asset id. This returns either true or false. | This returns whether the specified user id has an asset id. This returns either true or false. | ||
== | == POST /moderation/filtertext == | ||
This returns a censored version of the text | This returns a censored version of the text within POST field 'text'. | ||
{"data": {"white": "{posted text}", "black": "ok"}} | {"data": {"white": "{posted text}", "black": "ok"}} | ||
Line 50: | Line 52: | ||
} | } | ||
== GET /users/{user id}/canmanage/{place id} | == GET /users/{user id}/canmanage/{place id} == | ||
Returns whether the specified user id can manage the specified place id. | Returns whether the specified user id can manage the specified place id. | ||
Line 60: | Line 62: | ||
POST the gamepass ID. The website should respond with: | POST the gamepass ID. The website should respond with: | ||
{"AssetId":[GAMEPASSID],"ProductId":[SITEPASSID],"Name":"[NAME]","Description":"[DESC]","AssetTypeId":[TYPEID],"Creator":{"Id":[CREATORID],"Name":"[CREATORNAME]","CreatorType":"User","CreatorTargetId":[CREATORID]},"IconImageAssetId":[PASSIMAGEID],"Created":"[UNIXTIMESTAMP]","Updated":"[UNIXTIMESTAMP]","PriceInRobux":[ROBUXPRICE],"PriceInTickets":[TIXPRICE],"Sales":0,"IsNew":[ISNEW],"IsForSale":[ONSALE],"IsPublicDomain":false,"IsLimited":false,"IsLimitedUnique":false,"Remaining":null,"MinimumMembershipLevel":0,"ContentRatingTypeId":0} | { | ||
"AssetId":[ | |||
"GAMEPASSID" | |||
], | |||
"ProductId":[ | |||
"SITEPASSID" | |||
], | |||
"Name":"[NAME]", | |||
"Description":"[DESC]", | |||
"AssetTypeId":[ | |||
"TYPEID" | |||
], | |||
"Creator":{ | |||
"Id":[ | |||
"CREATORID" | |||
], | |||
"Name":"[CREATORNAME]", | |||
"CreatorType":"User", | |||
"CreatorTargetId":[ | |||
"CREATORID" | |||
] | |||
}, | |||
"IconImageAssetId":[ | |||
"PASSIMAGEID" | |||
], | |||
"Created":"[UNIXTIMESTAMP]", | |||
"Updated":"[UNIXTIMESTAMP]", | |||
"PriceInRobux":[ | |||
"ROBUXPRICE" | |||
], | |||
"PriceInTickets":[ | |||
"TIXPRICE" | |||
], | |||
"Sales":0, | |||
"IsNew":[ | |||
"ISNEW" | |||
], | |||
"IsForSale":[ | |||
"ONSALE" | |||
], | |||
"IsPublicDomain":false, | |||
"IsLimited":false, | |||
"IsLimitedUnique":false, | |||
"Remaining":null, | |||
"MinimumMembershipLevel":0, | |||
"ContentRatingTypeId":0 | |||
} |
Latest revision as of 02:27, 2 July 2023
This page is currently a work in progress! Information on this article may be incomplete or inaccurate. |
Roblox uses various website API's for its functioning.
GET /currency/balance
This returns the current users balance.
{ "robux": 1337, "tickets": 2337 }
GET /games/players/{user id}
This returns the ChatFilter for the specified user id.
{"ChatFilter":"whitelist"}
GET /ownership/hasasset/{asset id}/{user id}
This returns whether the specified user id has an asset id. This returns either true or false.
POST /moderation/filtertext
This returns a censored version of the text within POST field 'text'.
{"data": {"white": "{posted text}", "black": "ok"}}
GET /v1.1/avatar-fetch/{user id}
This returns the character appearance of the specified user id.
ASSETURL;ASSETURL;ASSETURL
Asset URL's are delimited by a semicolon.
If ?rcc is specified then it will return a JSON array with asset ids.
{"assetid", "assetid", "assetid"}
GET /my/economy-status
Returns the status of the economy.
{ "robux": 1337, "tickets": 2337, "isMarketplaceEnabled": true, "isDeveloperProductPurchaseEnabled": true, "areInAppPurchasesEnabled": true }
GET /users/{user id}/canmanage/{place id}
Returns whether the specified user id can manage the specified place id.
{"Success":true,"CanManage":true}
POST /marketplace/game-pass-product-info/
POST the gamepass ID. The website should respond with:
{ "AssetId":[ "GAMEPASSID" ], "ProductId":[ "SITEPASSID" ], "Name":"[NAME]", "Description":"[DESC]", "AssetTypeId":[ "TYPEID" ], "Creator":{ "Id":[ "CREATORID" ], "Name":"[CREATORNAME]", "CreatorType":"User", "CreatorTargetId":[ "CREATORID" ] }, "IconImageAssetId":[ "PASSIMAGEID" ], "Created":"[UNIXTIMESTAMP]", "Updated":"[UNIXTIMESTAMP]", "PriceInRobux":[ "ROBUXPRICE" ], "PriceInTickets":[ "TIXPRICE" ], "Sales":0, "IsNew":[ "ISNEW" ], "IsForSale":[ "ONSALE" ], "IsPublicDomain":false, "IsLimited":false, "IsLimitedUnique":false, "Remaining":null, "MinimumMembershipLevel":0, "ContentRatingTypeId":0 }