Skip to content

feat: Endpoint to retrieve the checkpoint of a given source - #110

Open
Darkheir wants to merge 1 commit into
sekoiafrom
feat/source_checkpoint_endpoint
Open

Darkheir wants to merge 1 commit into
sekoiafrom
feat/source_checkpoint_endpoint

Conversation

@Darkheir

Copy link
Copy Markdown
Collaborator

Description

Add a new endpoint to retrieve the checkpoint of the given source for the given index

How was this PR tested?

Added tests

Copilot AI balanced review requested due to automatic review settings October 14, 2026 15:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The OpenAPI checkpoint type is underspecified and the documented content type is inaccurate.

2 open findings
What changed in this PR

Adds a REST endpoint for retrieving a source checkpoint from index metadata.

Changes:

  • Adds checkpoint retrieval and OpenAPI registration.
  • Covers populated, empty, and missing checkpoints with tests.
  • Documents the endpoint and response.
File Description
source_resource.rs Implements checkpoint retrieval.
rest_handler.rs Registers the endpoint and tests.
rest-api.md Documents the API.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread quickwit/quickwit-serve/src/index_api/source_resource.rs Outdated
Comment thread docs/reference/rest-api.md
Signed-off-by: Darkheir <raphael.cohen@sekoia.io>
@Darkheir
Darkheir force-pushed the feat/source_checkpoint_endpoint branch from f4dcd16 to 4831069 Compare October 14, 2026 15:26
@Darkheir
Darkheir requested a balanced review from Copilot October 14, 2026 15:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The endpoint is correctly integrated, documented, and covered for populated, empty, and missing-resource cases.

0 open findings

2 resolved since last review

🧠 Review effort: Balanced

@Darkheir
Darkheir requested a review from rdettai-sk October 14, 2026 15:29

This branch has not been deployed

No deployments
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.

2 participants