UmiUni / golang_backend

1 stars 0 forks source link

List all referral positions (by company parameter/ or by all / timestamp range) 08/04/2018 #21

Open superchaoran opened 6 years ago

superchaoran commented 6 years ago

Need to provide a swagger endpoint. input: by limit, by company parameter/ or by all, order by timestamp(most recent).

superchaoran commented 6 years ago

swagger

superchaoran commented 6 years ago

Referring to:

Request: curl -X GET \ 'http://localhost:3001/get_positions?Companies=Jogchat,Google&Duration=day&Limit=2' \ -H 'Cache-Control: no-cache' \ -H 'Content-Type: application/json' \ -H 'Postman-Token: 6ae87dc3-1132-40ab-9d2d-bd05241fc961' \

Response: https://github.com/Jogchat/golang_backend/blob/master/schemaless/schemaless.go#L257