Skip to content

CONV-306: Add conversion status endpoint#266

Merged
menvil merged 1 commit into
developfrom
feature/CONV-306-add-conversion-status-endpoint
Jun 3, 2026
Merged

CONV-306: Add conversion status endpoint#266
menvil merged 1 commit into
developfrom
feature/CONV-306-add-conversion-status-endpoint

Conversation

@menvil

@menvil menvil commented Jun 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds GET /api/v1/conversions/{conversion} returning id/status/progress/formats/timestamps
  • Ownership enforced: other user gets 403
  • Uses ConversionResource and ConversionController::show()

Test plan

  • Returns correct status shape for queued job
  • Other user's conversion → 403
  • Missing API key → 401
  • composer test passes (578 tests)
  • composer lint passes

🤖 Generated with Claude Code


Summary by cubic

Adds a public status endpoint to fetch a conversion job’s status and formats. Enforces API key auth and ownership to meet CONV-306 requirements.

  • New Features
    • GET /api/v1/conversions/{conversion} returns: id, status, progress, source_format, target_format, created_at, started_at, completed_at.
    • 401 when missing API key; 403 when accessing another user’s job.

Written for commit 67299e6. Summary will update on new commits.

Review in cubic

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@menvil menvil merged commit 33b61f0 into develop Jun 3, 2026
1 check was pending
@coderabbitai

coderabbitai Bot commented Jun 3, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • release

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 139dcd03-b4e1-459f-9c7f-c4b98439f847

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/CONV-306-add-conversion-status-endpoint

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

1 participant