From e08cc596eb4044efc4b6ec38401e91222ed10bf3 Mon Sep 17 00:00:00 2001 From: Piotr Gawron <piotr.gawron@uni.lu> Date: Tue, 8 Aug 2017 14:51:11 +0200 Subject: [PATCH] documentation regarding new API call --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index ebefb9ef5e..861648d99c 100644 --- a/README.md +++ b/README.md @@ -98,6 +98,16 @@ curl -X GET --cookie "MINERVA_AUTH_TOKEN=xxxxxxxx" http://pg-sandbox.uni.lu/mine ``` #### (sub)Maps +* List of (sub)maps in a project + * URL: `/projects/{projectId}/models/` + * Method: GET + * Parameters: + * `projectId` - identifier of the project + * Example: +``` +curl -X GET --cookie "MINERVA_AUTH_TOKEN=xxxxxxxx" "http://pg-sandbox.uni.lu/minerva/api/projects/pdmap_dec15/models/" +``` + * Download map as a model file (ie. in CellDesigner format) * URL: `/projects/{projectId}/models/{modelId}:downloadModel` * Method: GET -- GitLab