|
10 | 10 | <link rel="stylesheet" href="assets/vendor/bootstrap/css/bootstrap.min.css"> |
11 | 11 | <!-- <link rel="stylesheet" href="assets/vendor/font-awesome/css/font-awesome.min.css"> --> |
12 | 12 | <link rel="stylesheet" href="assets/vendor/linearicons/style.css"> |
13 | | - <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.8.2/css/all.min.css" rel="stylesheet"> |
| 13 | + <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" rel="stylesheet"> |
14 | 14 | <!-- MAIN CSS --> |
15 | 15 | <link rel="stylesheet" href="assets/css/main.css"> |
16 | 16 | <!-- GOOGLE FONTS --> |
|
42 | 42 | <img src="assets/img/icon_x256.png" width="250px" height="250px"> |
43 | 43 | </div> |
44 | 44 | <ul class="nav"> |
| 45 | + <li> |
| 46 | + <a href="#endpoint" class=""><i class="fa fa-paper-plane"></i>Endpoints</a> |
| 47 | + </li> |
45 | 48 | <li> |
46 | 49 | <a href="#responses-structure" data-toggle="collapse" class="collapsed"><i class="fa fa-book"></i><span>Basic Responses</span> <i class="icon-submenu lnr lnr-chevron-left"></i></a> |
47 | 50 | <div id="responses-structure" class="collapse"> |
|
100 | 103 | <h1><strong>MCSR Ranked Rest API Document</strong></h1> |
101 | 104 | <div class="alert alert-danger">All endpoints have a ratelimit of 500 requests per 10 minutes unless otherwise specified.<br>If you want to use API Key with expanded ratelimit, please make a #ticket in our <a href="https://mcsrranked.com/discord" target="_blank">Discord Server</a></div> |
102 | 105 | <hr /> |
| 106 | + <div class="container-fluid" id="endpoint"> |
| 107 | + <h2 class="page-title"><strong>Endpoints</strong></h2> |
| 108 | + <div class="row"> |
| 109 | + <div class="panel"> |
| 110 | + <div class="panel-heading"> |
| 111 | + <pre>https://api.mcsrranked.com/</pre> |
| 112 | + <pre>https://mcsrranked.com/api/</pre> |
| 113 | + </div> |
| 114 | + <div class="panel-body"> |
| 115 | + You can use both, but we would recommend to use first one. |
| 116 | + </div> |
| 117 | + </div> |
| 118 | + </div> |
| 119 | + </div> |
| 120 | + <hr /> |
103 | 121 | <div class="container-fluid" id="response-200"> |
104 | 122 | <h2 class="page-title"><strong><span class="label label-success">200</span> Success Response</strong></h2> |
105 | 123 | <h4 class="page-title">JSON response when an API request is successfully processed.</h4> |
@@ -231,6 +249,11 @@ <h2 class="page-title"><strong><span class="label label-success">Class</span> &n |
231 | 249 | <td><code>Integer?</code></td> |
232 | 250 | <td>User's Elo rank</td> |
233 | 251 | </tr> |
| 252 | + <tr> |
| 253 | + <td>country</td> |
| 254 | + <td><code>String?</code></td> |
| 255 | + <td>User's country code. It's lowercased <a href="https://en.wikipedia.org/wiki/ISO_3166-1" target="_blank">ISO 3166-1 alpha-2</a> format</td> |
| 256 | + </tr> |
234 | 257 | </tbody> |
235 | 258 | </table> |
236 | 259 | </div> |
@@ -329,6 +352,26 @@ <h2 class="page-title"><strong><span class="label label-success">Class</span> &n |
329 | 352 | <td><code>UserProfile[]</code></td> |
330 | 353 | <td></td> |
331 | 354 | </tr> |
| 355 | + <tr> |
| 356 | + <td>seed.id</td> |
| 357 | + <td><code>String?</code></td> |
| 358 | + <td>Seed id if it's ranked filtered seed. it's not real seed number of the seed. it will be `null` if seed is not filtered.</td> |
| 359 | + </tr> |
| 360 | + <tr> |
| 361 | + <td>seed.overworld</td> |
| 362 | + <td><code>String?</code></td> |
| 363 | + <td>Overworld structure type of the seed. it will be `null` if seed is not filtered.</td> |
| 364 | + </tr> |
| 365 | + <tr> |
| 366 | + <td>seed.bastion</td> |
| 367 | + <td><code>String?</code></td> |
| 368 | + <td>Bastion remnants type of the seed. it will be `null` if seed is not filtered.</td> |
| 369 | + </tr> |
| 370 | + <tr> |
| 371 | + <td>seed.variations</td> |
| 372 | + <td><code>String[]</code></td> |
| 373 | + <td>Noticable variations of the seed. it will be empty array if seed is not filtered.</td> |
| 374 | + </tr> |
332 | 375 | <tr> |
333 | 376 | <td>result.uuid</td> |
334 | 377 | <td><code>String?</code></td> |
@@ -379,16 +422,6 @@ <h2 class="page-title"><strong><span class="label label-success">Class</span> &n |
379 | 422 | <td><code>String?</code></td> |
380 | 423 | <td>Special tag of this match. It's used by get matches with tag</td> |
381 | 424 | </tr> |
382 | | - <tr> |
383 | | - <td>seedType</td> |
384 | | - <td><code>String?</code></td> |
385 | | - <td>Overworld seed type of this match's seed</td> |
386 | | - </tr> |
387 | | - <tr> |
388 | | - <td>bastionType</td> |
389 | | - <td><code>String?</code></td> |
390 | | - <td>Bastion in nether (as intended) type of this match's seed</td> |
391 | | - </tr> |
392 | 425 | <tr> |
393 | 426 | <td>completions[].uuid</td> |
394 | 427 | <td><code>String</code></td> |
|
0 commit comments