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
| 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: IntegeritemId: 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 | β | β |
| 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 | β | β |
| 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 | β | β |
| Endpoint | Params | Description | Method | Authentication | Deprecated |
|---|---|---|---|---|---|
| /v1/user/trades/{userId}/{type} | userId: Integertype: String |
Retrieves a list of all trades a user has | GET | β | β |
| /v1/user/trades/{tradeId} | tradeId: Integer |
Retrieves a trade information | GET | β | β |
| Endpoint | Params | Description | Method | Authentication | Deprecated |
|---|---|---|---|---|---|
| /v1/auth/verifyToken | token: Stringhost_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 | β | β |
| 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: Stringid: Integer |
Retrieves a thumbnail based off query | GET | β | β |
| Endpoint | Params | Description | Method | Authentication | Deprecated |
|---|---|---|---|---|---|
| /v1/events/ingameRedeem | user: Integeritem: Integer |
Grants in-game items to a user | POST | β | β |
To contribute to this repository, please fork it and make a pull request. All contributions are appreciated.