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

Change PUT experiment specification to update experiments #70

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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
19 changes: 4 additions & 15 deletions API.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ paths:
description: No such experiment
put:
summary: Update an experiment's content and name.
operationId: putExperiment
operationId: updateExperiment
tags:
- Experiments
parameters:
Expand All @@ -226,12 +226,6 @@ paths:
schema:
type: string
format: uuid
- name: name
in: query
description: The name to give this experiment
required: true
schema:
type: string
requestBody:
description: Additional information to update an experiment
required: false
Expand All @@ -240,6 +234,9 @@ paths:
schema:
type: object
properties:
name:
description: The name to give this experiment
type: string
expTypeID:
description: Type ID to apply to this experiment
type: string
Expand All @@ -257,14 +254,6 @@ paths:
description: Time offset to apply to this trace
type: integer
format: int64
action:
description: Action to perform on the given trace (add or remove from the experiment)
type: string
enum: [add, remove]
default: add
required:
- traceUUID
- action
responses:
200:
description: The Experiment was successfully modified
Expand Down