diff options
| author | Ken <kenny@madgloryint.com> | 2017-11-01 13:27:17 -0400 |
|---|---|---|
| committer | Ken <kenny@madgloryint.com> | 2017-11-01 13:27:17 -0400 |
| commit | 1385a3cefc7312a3f18e8d78a854411b53c75e67 (patch) | |
| tree | f27292fc20215f68c25ab09830947da56fb732a9 /es/teams.md | |
| parent | 0f19a09673be2bb79426e21a6460d5095f43287a (diff) | |
| download | vainglory-docs-1385a3cefc7312a3f18e8d78a854411b53c75e67.tar.gz vainglory-docs-1385a3cefc7312a3f18e8d78a854411b53c75e67.zip | |
Initial commit of the new logs.
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 |
