api icon indicating copy to clipboard operation
api copied to clipboard

Bug: the `v1/repos/.../contributions` endpoints seem to not work

Open jpmcb opened this issue 1 year ago • 1 comments

Describe the bug

When executing the following API query for contributions on open-sauced/api:

curl -X 'GET' \
  'https://api.opensauced.pizza/v1/repos/open-sauced/api/contributions?page=1&limit=10&range=30&prev_days_start_date=0' \
  -H 'accept: application/json'

nothing is returned:

{
  "data": [],
  "meta": {
    "page": 1,
    "limit": 10,
    "itemCount": 0,
    "pageCount": 0,
    "hasPreviousPage": false,
    "hasNextPage": false
  }
}

These endpoints inspect the contributions tables we have. It doesn't seem like there is anything in the contributions table on our databases. Maybe these were incomplete features? cc @brandonroberts any context here?

Steps to reproduce

  1. Go to https://api.opensauced.pizza/#/Contribution%20service/findAllByOwnerAndRepo
  2. Execute a query
  3. No results

Browsers

No response

Additional context (Is this in dev or production?)

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

Contributing Docs

  • [X] I agree to follow this project's Contribution Docs

jpmcb avatar Oct 20 '23 16:10 jpmcb