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

Include currentBatch identifiers in manifests response #237

Open
donaldgray opened this issue Jan 17, 2025 · 0 comments
Open

Include currentBatch identifiers in manifests response #237

donaldgray opened this issue Jan 17, 2025 · 0 comments
Labels
refined Identify refined tickets in backlog

Comments

@donaldgray
Copy link
Member

donaldgray commented Jan 17, 2025

Expand the "ingesting" property returned as part of API manifest to include the current batch identifiers. This will allow consumers to independently check batch status or redirect to a UI to check progress etc.

e.g.:

{
  "ingesting": {
    "finished": 0,
    "total": 11,
    "currentBatches": [ "https://api..../batches/12345" ]
  },
}

Note that we're using "currentBatches" rather than "batches" to allow possibility for adding all batches over time (e.g. if a manifest is updated multiple times it could have "old" and current batches).

This response should be included in

  • Immediate response when created
  • GET response IF there is a currently ingesting batch
@donaldgray donaldgray changed the title Include currentBatch identifiers for manifests create response **Unrefined** Include currentBatch identifiers in manifests create response **Unrefined** Jan 24, 2025
@donaldgray donaldgray changed the title Include currentBatch identifiers in manifests create response **Unrefined** Include currentBatch identifiers in manifests response **Unrefined** Jan 24, 2025
@donaldgray donaldgray changed the title Include currentBatch identifiers in manifests response **Unrefined** Include currentBatch identifiers in manifests response Jan 24, 2025
@donaldgray donaldgray added the refined Identify refined tickets in backlog label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refined Identify refined tickets in backlog
Projects
None yet
Development

No branches or pull requests

1 participant