Commit e4cd0046 authored by Samuel GAIST's avatar Samuel GAIST

[experiments][api] Add urls for experiments reset end point

parent 34b4ab88
......@@ -67,6 +67,18 @@ urlpatterns = [
{"toolchain_author_name": None},
name="cancel",
),
# Reseting
url(
r"^(?P<author_name>\w+)/(?P<toolchain_author_name>\w+)/(?P<toolchain_name>[-\w]+)/(?P<version>\d+)/(?P<name>[-\w]+)/reset/$",
api.ResetExperimentView.as_view(),
name="reset",
),
url(
r"^(?P<author_name>\w+)/(?P<toolchain_name>[-\w]+)/(?P<version>\d+)/(?P<name>[-\w]+)/reset/$",
api.ResetExperimentView.as_view(),
{"toolchain_author_name": None},
name="reset",
),
# Attestations
url(
r"^(?P<attestation_number>\d+)/",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment