@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api HyperDrive
@version 2019-09-30
@auth OAuth2
@endpoints 2
@toc hyperdrive(2)

@endpoint POST /hyperdrive/v1.0/{armScope}/runs
@desc Create an Experiment.
@required {armScope: any # The ARM scope passed in through URL with format:             subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}., config: any # The configuration file with experiment JSON content. A text file that is a JSON-serialized '#/definitions/HyperDriveCreateExperiment' object.}
@returns(201) OK

@endpoint POST /hyperdrive/v1.0/{armScope}/runs/{runId}/cancel
@desc Cancel an Experiment.
@required {armScope: any # The ARM scope passed in through URL with format:             subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}., runId: any # Hyperdrive run id to cancel.}
@optional {RunHistoryHost: any # The host for run location.}
@returns(200) OK

@end
