Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REDBOX 76: Adds File status updates to core-api upload #106

Merged
merged 4 commits into from
Mar 14, 2024

Conversation

rachaelcodes
Copy link
Contributor

Context

While there was already an upload method in the core-api, there was no way for the front end to find out whether the file had been ingested or embedded. In the future, we anticipate a polling mechanism that can check on the status of a particular file upload.

Changes proposed in this pull request

  • adds a status to the File model, which will allow the front end to give information to users about the status of their upload
  • updates the docs in line with the new endpoints

Guidance to review

Do the File statuses make sense? Are the trigger points for updating them in the right place?

Relevant links

https://technologyprogramme.atlassian.net/browse/REDBOX-76

Things to check

  • I have added any new ENV vars in all deployed environments
  • I have tested any code added or changed

Copy link
Collaborator

@gecBurton gecBurton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

👍 for the verbose tests :)

@rachaelcodes rachaelcodes merged commit 2d836cf into main Mar 14, 2024
5 checks passed
@rachaelcodes rachaelcodes deleted the feature/core-api-file-status-updates branch March 14, 2024 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants