summaryrefslogtreecommitdiff
path: root/es/samples.md
diff options
context:
space:
mode:
authorKen <kenny@madgloryint.com>2017-11-01 13:27:17 -0400
committerKen <kenny@madgloryint.com>2017-11-01 13:27:17 -0400
commit1385a3cefc7312a3f18e8d78a854411b53c75e67 (patch)
treef27292fc20215f68c25ab09830947da56fb732a9 /es/samples.md
parent0f19a09673be2bb79426e21a6460d5095f43287a (diff)
downloadvainglory-docs-1385a3cefc7312a3f18e8d78a854411b53c75e67.tar.gz
vainglory-docs-1385a3cefc7312a3f18e8d78a854411b53c75e67.zip
Initial commit of the new logs.
Diffstat (limited to 'es/samples.md')
-rw-r--r--es/samples.md73
1 files changed, 0 insertions, 73 deletions
diff --git a/es/samples.md b/es/samples.md
deleted file mode 100644
index eca6e46..0000000
--- a/es/samples.md
+++ /dev/null
@@ -1,73 +0,0 @@
-# Muestras
-
-El endpoint de ejemplos da una manera fácil de acceder lotes de datos aleatorios de partidas cada hora para agregar estadísticas.
-
-{% method %}
-## Conseguir una colección de muestras
-
-Este endpoint recoge una colección de partidas seleccionadas aleatoriamente.
-
-{% sample lang="shell" %}
-```shell
-curl "https://api.dc01.gamelockerapp.com/shards/na/samples" \
- -H "Authorization: Bearer <api-key>" \
- -H "X-TITLE-ID: semc-vainglory" \
- -H "Accept: application/vnd.api+json"
-```
-{% sample lang="java" %}
-```java
-//Hay una variedad de librerías Java HTTP que soportan parámetros de pregunta.
-```
-{% sample lang="python" %}
-```python
-
-```
-{% sample lang="ruby" %}
-```ruby
-
-```
-{% sample lang="js" %}
-```javascript
-
-```
-{% sample lang="go" %}
-```go
-
-```
-{% common %}
-> El comando arriba devuelve JSON estructurado de esta manera:
-
-```json
-{
- "type": "sample",
- "id": "sample-na-2017-02-28T07:15:30Z",
- "attributes": {
- "URL": "URL of Sample Matches",
- "createdAt": "2017-02-28T07:15:30Z",
- "shardId": "na",
- "t0": "2017-02-28T07:15:30Z",
- "t1": "2017-02-28T08:15:30Z",
- "titleId": "semc-vainglory"
- },
- "relationships": {
- "assets": {
- "data": []
- }
- }
- }
-```
-{% endmethod %}
-
-### Petición HTTP
-
-`GET https://api.dc01.gamelockerapp.com/shards/na/samples`
-
-### Parámetros de pregunta
-
-Parámetro | Defecto | Descripción |
---------- | ------- | -----------
-page[offset] | 0 | Permite paginación sobre resultados
-page[limit] | 50 | El defecto (y el máximo) es 50. Valores menores que 50 y mayores 2 son soportados.
-sort | createdAt | Por defecto, muestras son sorteados por tiempo de creación ascendiente.
-filter[createdAt-Start] | none | Debe ocurrir antes del tiempo. El formato es iso8601 Uso: filter[createdAt-end]=2017-01-01T08:25:30Z
-filter[createdAt-End] | none | Debe ocurrir antes del tiempo. El formato es iso8601 Uso: filter[createdAt-end]=2017-01-01T13:25:30Z \ No newline at end of file