Geek Social — Documentação
API ReferenceListing ratings

GET /ratings/offers/{offerId}

Avaliações de uma oferta

GET/ratings/offers/{offerId}Auth: accessToken

Lista os 2 ratings (um por lado) de uma oferta concluída.

Request

Esta requisição não tem corpo.

Response

200

Sem corpo na resposta.

Erros

Sem respostas de erro documentadas.

Exemplos

curl -X GET 'http://localhost:3003/ratings/offers/{offerId}' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer SEU_ACCESS_TOKEN' \
  -d '{}'
await fetch('http://localhost:3003/ratings/offers/{offerId}', {
  method: 'GET',
  headers: {
    'Content-Type': 'application/json',
    Authorization: 'Bearer ' + accessToken,
  },
  body: JSON.stringify({}),
})

Side effects

Relacionados

On this page