Geek Social — Documentação
API ReferenceListings

GET /marketplace/

Listar marketplace público

GET/marketplace/Auth: accessToken

Listings active de outros usuários. Filtros: ?type=sale|trade|both, ?collection_type=games|books|cardgames|boardgames|custom, ?min_price/?max_price (em centavos), ?limit. Cursor pagination.

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/marketplace/' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer SEU_ACCESS_TOKEN' \
  -d '{}'
await fetch('http://localhost:3003/marketplace/', {
  method: 'GET',
  headers: {
    'Content-Type': 'application/json',
    Authorization: 'Bearer ' + accessToken,
  },
  body: JSON.stringify({}),
})

Side effects

Relacionados

On this page