Skip to content

Fix api run statuses #874

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

Merged
merged 7 commits into from
Jan 29, 2024
Merged

Fix api run statuses #874

merged 7 commits into from
Jan 29, 2024

Conversation

matt-aitken
Copy link
Member

Closes #870

Created new v2 API endpoints that return the full run status

  • /api/v2/events/$eventId
  • /api/v2/runs/$runId
  • /api/v2/runs/$runId/statuses

They are an exact copy of v1 except they don't use the runOriginalStatus function which was created to fix a backwards compatibility bug.

The sdk and react packages have updated API urls to match these new endpoints.

Copy link

changeset-bot bot commented Jan 28, 2024

🦋 Changeset detected

Latest commit: b002e9b

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@matt-aitken matt-aitken merged commit dd879c8 into main Jan 29, 2024
@matt-aitken matt-aitken deleted the fix-api-run-statuses branch January 29, 2024 11:42
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.

bug: missing infos for the useRunDetails hook
1 participant