diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/routes/baskets.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/routes/baskets.rs b/src/routes/baskets.rs index 371502a..533a155 100644 --- a/src/routes/baskets.rs +++ b/src/routes/baskets.rs @@ -169,7 +169,7 @@ pub async fn list_baskets( .envelope(baskets) .with_note("Baskets are yours: they live in your own SQLite file, not in GeneNetwork's \ database.") - .with_note("A mapping can name one instead of posting values: POST /compute/qtl2 with \ + .with_note("A mapping can name one instead of posting values: POST /compute/rqtl, \ \"basket\": \"<name>\"."); envelope = envelope.with_links(crate::suggest::root_links()); Ok(Json(envelope)) @@ -222,7 +222,7 @@ pub async fn create_basket( .map_err(|error| map_error(error, rid.clone()))?; let mut envelope = ctx.envelope(stored).with_note( "Stored. Edit it with PATCH (a new revision, a new digest) and map it with \ - POST /compute/qtl2 {\"basket\": \"<name>\"}.", + POST /compute/rqtl, /compute/qtl2, /compute/gemma or /compute/gemma/ravanan \n {\"basket\": \"<name>\"}.", ); envelope = envelope.with_links(crate::suggest::root_links()); Ok((StatusCode::CREATED, Json(envelope))) @@ -263,7 +263,10 @@ pub async fn get_basket( .envelope(stored) .with_note("`revision` and `digest` identify these exact values: a mapping reply records \ them, so an edit cannot make two runs look alike.") - .with_note("Map it: POST /compute/qtl2 with \"basket\": \"<name>\" in place of `samples`."); + .with_note( + "Map it: POST /compute/rqtl, /compute/qtl2, /compute/gemma or \ + /compute/gemma/ravanan with \"basket\": \"<name>\" in place of `samples`.", + ); envelope = envelope.with_links(links); Ok(Json(envelope)) } |
