Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemetar recuperação de ranking do servidor #1

Open
bss3-zz opened this issue May 31, 2016 · 0 comments
Open

Implemetar recuperação de ranking do servidor #1

bss3-zz opened this issue May 31, 2016 · 0 comments

Comments

@bss3-zz
Copy link

bss3-zz commented May 31, 2016

Para recuperar o ranking do servidor será necessário consumir o seguinte endpoint
GET {{base_url}}/questions/rank
Como resposta deve-se esperar um JSON como o mostrado abaixo.

{
  "array": [
    {
      "categories": {
        "1": 365,
        "2": 200,
        "3": 11,
        "4": 0,
        "5": 0
      },
      "points": 576,
      "name": "\"Bruno Soares da Silva\"",
      "picture": "https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xpt1/v/t1.0-1/p200x200/13165943_1433381956687402_454362039857567441_n.jpg?oh=b50040588863a35540a3d3ba588f2648&oe=57C2C1C3&__gda__=1472645566_814a2d599cdd3522c2752e35fe8c4f56"
    },
    {
      "categories": {
        "1": 365,
        "2": 199,
        "3": 11,
        "4": 0,
        "5": 0
      },
      "points": 575,
      "name": "\"Maria Gabriela Toledo\"",
      "picture": "https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xtf1/v/t1.0-1/p200x200/11217160_905132349575659_3468586391287738770_n.jpg?oh=2b1029d649a1c35ba9defa29790e0d13&oe=57DFFCB3&__gda__=1477230790_9b36ceaed6ce79e0432eafb58e8f6cf3"
    },
     {
      "categories": {
        "1": 365,
        "2": 198,
        "3": 11,
        "4": 0,
        "5": 0
      },
      "points": 575,
      "name": "\"Maria Julia Godoy\"",
      "picture" : "https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xtf1/v/t1.0-1/p200x200/11217160_905132349575659_3468586391287738770_n.jpg?oh=2b1029d649a1c35ba9defa29790e0d13&oe=57DFFCB3&__gda__=1477230790_9b36ceaed6ce79e0432eafb58e8f6cf3"
    },
     {
      "categories": {
        "1": 365,
        "2": 197,
        "3": 11,
        "4": 0,
        "5": 0
      },
      "points": 574,
      "name": "\"Ruy Barbosa de Brito\"",
      "picture": "https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xpt1/v/t1.0-1/p200x200/13165943_1433381956687402_454362039857567441_n.jpg?oh=b50040588863a35540a3d3ba588f2648&oe=57C2C1C3&__gda__=1472645566_814a2d599cdd3522c2752e35fe8c4f56"
    }
  ]
}```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant