diff options
Diffstat (limited to 'es/teams.md')
| -rw-r--r-- | es/teams.md | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/es/teams.md b/es/teams.md deleted file mode 100644 index e846402..0000000 --- a/es/teams.md +++ /dev/null @@ -1,77 +0,0 @@ -# Equipos (Disponible pronto!) - -Objetos equipo contienen información agregada durante la existencia de cada equipo. - -Este endpoint recoge una colección de hasta 6 equipos. - -<aside class="warning"> -Importante - Recursos de equipo aún no están disponibles en el API.. -</aside> - -{% method %} -## Conseguir una colección de equipos - -{% sample lang="shell" %} -```shell -curl "https://api.dc01.gamelockerapp.com/shards/na/teams?filter[teamNames]=team1" \ - -H "Authorization: Bearer <api-key>" \ - -H "X-TITLE-ID: semc-vainglory" \ - -H "Accept: application/vnd.api+json" -``` -{% endmethod %} - -### Petición HTTP - -`GET https://api.dc01.gamelockerapp.com/teams` - -### Parámetros de pregunta - -Parámetro | Defecto | Descripción ---------- | ------- | ----------- -filter[teamNames] | none | Flirta por nombre del equipo. Uso: filter[teamNames]=team1 -filter[teamIds] | none | Filtra por id del equipo. Uso: filter[teamIds]=12345 - -<aside class="success"> -Recuerda — un equipo autentificado es un equipo feliz! -</aside> - -{% method %} -## Conseguir un Solo Equipo - -Este endpoint devuelve un equipo específico. - -{% sample lang="shell" %} -```shell -curl "https://api.dc01.gamelockerapp.com/teams/<ID>" \ - -H "Authorization: Bearer <api-key>" \ - -H "X-TITLE-ID: semc-vainglory" \ - -H "Accept: application/vnd.api+json" -``` -{% sample lang="python" %} -```python - -``` -{% common %} -> El comando arriba devuelve JSON estructurado de esta manera: - -```json -{ - "id": 2, - "name": "Max", - "breed": "unknown", - "fluffiness": 5, - "cuteness": 10 -} -``` - -{% endmethod %} - -### Petición HTTP - -`GET https://api.dc01.gamelockerapp.com/teams/<ID>` - -### Parámetros URL - -Parámetro | Descripción ---------- | ----------- -ID | El ID del equipo a recoger |
