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

mikeldking/openapi #2886

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
115 changes: 0 additions & 115 deletions src/phoenix/server/api/routers/evaluation_handler.py

This file was deleted.

70 changes: 0 additions & 70 deletions src/phoenix/server/api/routers/span_handler.py

This file was deleted.

68 changes: 0 additions & 68 deletions src/phoenix/server/api/routers/trace_handler.py

This file was deleted.

10 changes: 10 additions & 0 deletions src/phoenix/server/api/routers/v1/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from starlette.routing import Route

from . import evaluations, spans, traces

V1_ROUTES = [
Route("/v1/evaluations", evaluations.post_evaluation, methods=["POST"]),
Route("/v1/evaluations", evaluations.get_evaluations, methods=["GET"]),
Route("/v1/traces", traces.post_traces, methods=["POST"]),
Route("/v1/spans", spans.read_spans, methods=["POST"]),
]
Loading
Loading