Skip to content

okdargy/bh-endpoints

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 

Repository files navigation

Brick Hill Endpoints

This is a list of all endpoints used by Brick Hill. This list is not complete, and will be updated as more endpoints are found.

Warning Some endpoints do not use api.brick-hill.com but rather www.brick-hill.com

Table of Contents

Endpoints

User

Endpoint Params Description Method Authentication Deprecated
/settings/data None Retrieves the signed in user's setting data GET
/v1/user/profile id: Integer Retrieves a user's profile information GET
/v1/user/id username: String Retrieves a user's id from their username GET
/v1/games/retrieveAvatar id: Integer Retrieves an avatar information GET
/v1/user/{userId}/crate userId: Integer Retrieves a list of all items a user owns GET
/v1/user/{userId}/owns/{itemId} userId: Integer
itemId: Integer
Retrieves whether a user owns an item or not GET
/v1/user/{userId}/value userId: Integer Retrieves a user's value, calculated daily GET
/api/settings/username u: String Retrieves whether a username is taken or not GET

Shop

Endpoint Params Description Method Authentication Deprecated
/v1/shop/list None Retrieves a list of all items in the shop GET
/v1/shop/{itemId} itemId: Integer Retrieves an item information GET
/v1/shop/{itemId}/owners itemId: Integer Retrieves a list of all users who own an item GET
/v1/shop/{itemId}/resellers itemId: Integer Retrieves a list of all users who resell an item GET

Sets

Endpoint Params Description Method Authentication Deprecated
/v1/sets/{setId} setId: Integer Retrieves a set information GET
/v1/sets/list None Retrieves a list of all sets GET
/v1/games/postServer See Here Sends server to games page POST

Trading

Endpoint Params Description Method Authentication Deprecated
/v1/user/trades/{userId}/{type} userId: Integer
type: String
Retrieves a list of all trades a user has GET
/v1/user/trades/{tradeId} tradeId: Integer Retrieves a trade information GET

Authentication

Endpoint Params Description Method Authentication Deprecated
/v1/auth/verifyToken token: String
host_key: String
Verifies a user's game token GET
/oauth/clients See Here Retrieves a list of owned oAuth clients GET
/oauth/clients See Here Makes a new oAuth client POST
/oauth/clients/{clientId} See Here Updates an oAuth client PUT
/oauth/clients/{clientId} See Here Deletes an oAuth client DELETE
/oauth/tokens See Here Retrieves a list of authorized oAuth tokens GET
/oauth/tokens/{tokenId} See Here Deletes an oAuth token DELETE

Assets

Endpoint Params Description Method Authentication Deprecated
/v1/assets/getPoly/{assetId} assetId: Integer Retrieves the asset's texture and mesh GET
/v1/assets/get/{assetId} assetId: Integer Retrieves an texture or mesh GET
/v1/user/render/process ? Renders a user's avatar POST
/v1/thumbnails/bulk ? Retrieves a list of specified thumbnails POST
/v1/thumbnails/single type: String
id: Integer
Retrieves a thumbnail based off query GET

Staff

Endpoint Params Description Method Authentication Deprecated
/v1/events/ingameRedeem user: Integer
item: Integer
Grants in-game items to a user POST

Contributing

To contribute to this repository, please fork it and make a pull request. All contributions are appreciated.

Links

About

A list of secret endpoints used by Brick Hill

Topics

Resources

Stars

Watchers

Forks