mirror of
https://github.com/xHyroM/website.git
synced 2024-11-10 01:38:05 +01:00
docs(distools-api): warnings
This commit is contained in:
parent
2f5125e4a0
commit
850b41c34d
2 changed files with 15 additions and 0 deletions
|
@ -5,6 +5,11 @@ description: How to check if a guild is eligible for an experiment
|
||||||
|
|
||||||
# Eligible
|
# Eligible
|
||||||
|
|
||||||
|
<div style="background-color: #e8c192; border-color: #fc8c03; color: #9c611a; padding-top: 0.7rem; padding-bottom: 0.7rem; padding-left: 0.7rem; padding-right: 0.8rem; border-left-width: 4px" role="alert">
|
||||||
|
<span style="font-weight: 700;">Be Warned</span><br />
|
||||||
|
<span>Unfortunately, this endpoint is not currently available due to capacity issues.</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
This section of the documentation will cover how to check if a guild is eligible for an experiment.
|
This section of the documentation will cover how to check if a guild is eligible for an experiment.
|
||||||
|
|
||||||
Accessible on [https://api.distools.xhyrom.dev/v2/eligible](https://api.distools.xhyrom.dev/v2/eligible)
|
Accessible on [https://api.distools.xhyrom.dev/v2/eligible](https://api.distools.xhyrom.dev/v2/eligible)
|
||||||
|
|
|
@ -155,6 +155,11 @@ If the guild experiment hash (murmurhash v3 unsigned of `experiment_name:guild_i
|
||||||
|
|
||||||
You can fetch experiments from the API by sending a GET request to [https://api.distools.xhyrom.dev/v2/experiments](https://api.distools.xhyrom.dev/v2/experiments).
|
You can fetch experiments from the API by sending a GET request to [https://api.distools.xhyrom.dev/v2/experiments](https://api.distools.xhyrom.dev/v2/experiments).
|
||||||
|
|
||||||
|
<div style="background-color: #e8c192; border-color: #fc8c03; color: #9c611a; padding-top: 0.7rem; padding-bottom: 0.7rem; padding-left: 0.7rem; padding-right: 0.8rem; border-left-width: 4px" role="alert">
|
||||||
|
<span style="font-weight: 700;">Be Warned</span><br />
|
||||||
|
<span>Unfortunately, due to capacity issues, the query parameters in the URL do not work. All experiments are always returned.</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
**Query parameters:**
|
**Query parameters:**
|
||||||
| Name | Type | Description |
|
| Name | Type | Description |
|
||||||
| --------------------- | --------------- | ------------------------------------------------------------- |
|
| --------------------- | --------------- | ------------------------------------------------------------- |
|
||||||
|
@ -173,6 +178,11 @@ Returns array of [Experiment Object](#experiment-object)
|
||||||
|
|
||||||
## Fetching experiment
|
## Fetching experiment
|
||||||
|
|
||||||
|
<div style="background-color: #e8c192; border-color: #fc8c03; color: #9c611a; padding-top: 0.7rem; padding-bottom: 0.7rem; padding-left: 0.7rem; padding-right: 0.8rem; border-left-width: 4px" role="alert">
|
||||||
|
<span style="font-weight: 700;">Be Warned</span><br />
|
||||||
|
<span>Unfortunately, this endpoint is not currently available due to capacity issues. As workaround, you can fetch all the experiments and filter yourself.</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
You can fetch a specific experiment from the API by sending a GET request to [https://api.distools.xhyrom.dev/v2/experiments/:experimentId](https://api.distools.xhyrom.dev/v2/experiments/:experimentId).
|
You can fetch a specific experiment from the API by sending a GET request to [https://api.distools.xhyrom.dev/v2/experiments/:experimentId](https://api.distools.xhyrom.dev/v2/experiments/:experimentId).
|
||||||
|
|
||||||
You can use same query parameters as in [Fetching all experiments](#fetching-all-experiments)
|
You can use same query parameters as in [Fetching all experiments](#fetching-all-experiments)
|
||||||
|
|
Loading…
Reference in a new issue