pecan icon indicating copy to clipboard operation
pecan copied to clipboard

WIP: posterior API's

Open koolgax99 opened this issue 2 years ago • 4 comments

Description

Here we extend the PEcAn API's by adding Posterior file API's. Currently, we only have 2 API's

  • /api/posteriors/ which lists all the posterior files
  • /api/posteriors/{posterior_id}/ which allows users to download the desired posterior file.

More information about these API's can be viewed in the Swagger documentation.

Tests are yet to be added for this API. The second API is still in progress and needs suggestions from various contributors

Review Time Estimate

  • [ ] Immediately
  • [ ] Within one week
  • [ ] When possible

Types of changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • [x] My change requires a change to the documentation.
  • [ ] My name is in the list of CITATION.cff
  • [ ] I have updated the CHANGELOG.md.
  • [x] I have updated the documentation accordingly.
  • [ ] I have read the CONTRIBUTING document.
  • [ ] I have added tests to cover my changes.
  • [x] All new and existing tests passed.

koolgax99 avatar Jul 06 '22 20:07 koolgax99

@mdietze sir can you have a look at the API?

koolgax99 avatar Jul 13 '22 22:07 koolgax99

what is left with the PR?

robkooper avatar Jul 29 '22 05:07 robkooper

what is left with the PR?

Sir the tests are to be added in the PR

koolgax99 avatar Aug 10 '22 14:08 koolgax99

nearly 2 years and no update 😱 , are we getting this PR done or should we just close this @koolgax99 ?

allgandalf avatar May 06 '24 17:05 allgandalf