Updated summary endpoint, and also updated Top 5 links endpoint to include a step to retrieve summaries when a top_links request is made. Includes new migrations for summary and summary_timestamp attributes for link
What are the relevant tickets (if any)
Closes #36
Testing
Had to make 3 tests pending because they were throwing errors either because they were written to pass for mock data or they were making GET requests to made-up links like testlink.com. Coverage is still above 96%
Checklist
[ ] The code follows the project's coding standards.
[ ] Unit tests have been added or updated to cover the changes.
[X] Documentation has been updated to reflect the changes (if applicable).
[X] The code compiles without errors.
[X] The changes have been tested locally and pass all relevant tests.
[ ] All new and existing tests pass.
[ ] The pull request has been reviewed by at least one other contributor.
Deployment Notes
Needs to be manually deployed with a git push heroku main and a heroku run rake db:migrate
Description of Changes
Updated summary endpoint, and also updated Top 5 links endpoint to include a step to retrieve summaries when a top_links request is made. Includes new migrations for summary and summary_timestamp attributes for link
What are the relevant tickets (if any)
Closes #36
Testing
Had to make 3 tests pending because they were throwing errors either because they were written to pass for mock data or they were making GET requests to made-up links like testlink.com. Coverage is still above 96%
Checklist
Deployment Notes
Needs to be manually deployed with a git push heroku main and a heroku run rake db:migrate