Tools4MSP API
api
casestudies > list
Return the list of available CaseStudies.
Query Parameters
The following parameters should be included as part of a URL query string.
| Parameter | Description |
|---|---|
cstype | |
module | |
tag |
casestudies > create
Add a new Case Study Adds a new Case Study to the server. To ad additional inputs use the following methods: * see [/casestudies/{casestudyId}/layers](#api-casestudies-layers-create) for adding a new Layer * see [/casestudies/{casestudyId}/inputs](#api-casestudies-inputs-create) from adding new input parameters or datasets
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description |
|---|---|
label required | |
description | |
module required | |
cstype required | |
tag | |
resolution | resoution of analysis (meters) |
domain_area | polygon geometry(Lat Log WGS84) |
domain_area_terms |
casestudies > read
Return a user instance.
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required |
Query Parameters
The following parameters should be included as part of a URL query string.
| Parameter | Description |
|---|---|
cstype | |
module | |
tag |
casestudies > update
Update a user.
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required |
Query Parameters
The following parameters should be included as part of a URL query string.
| Parameter | Description |
|---|---|
cstype | |
module | |
tag |
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description |
|---|---|
label required | |
description | |
module required | |
cstype required | |
tag | |
resolution | resoution of analysis (meters) |
domain_area | polygon geometry(Lat Log WGS84) |
domain_area_terms |
casestudies > partial_update
Update one or more fields on an existing user.
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required |
Query Parameters
The following parameters should be included as part of a URL query string.
| Parameter | Description |
|---|---|
cstype | |
module | |
tag |
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description |
|---|---|
label | |
description | |
module | |
cstype | |
tag | |
resolution | resoution of analysis (meters) |
domain_area | polygon geometry(Lat Log WGS84) |
domain_area_terms |
casestudies > delete
Remove an existing user.
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required |
Query Parameters
The following parameters should be included as part of a URL query string.
| Parameter | Description |
|---|---|
cstype | |
module | |
tag |
casestudies > clone
Clone the Case Study :param request: :param args: :param kwargs: :return:
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required |
casestudies > cloneupdate
Clone the Case Study :param request: :param args: :param kwargs: :return:
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required |
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description |
|---|---|
label required | |
description | |
tag |
casestudies > run
Run the module :param request: :param args: :param kwargs: :return:
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required |
Query Parameters
The following parameters should be included as part of a URL query string.
| Parameter | Description |
|---|---|
selected_layers | Comma-separated list of layer codes |
runtypelevel | Level of run type: 3 (default) |
casestudies > setcontext
Run the module :param request: :param args: :param kwargs: :return:
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required | |
context_label required |
casestudies > inputs > list
API endpoint that allows CaseStudy Input datasets to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
parent_lookup_casestudy__id required |
casestudies > inputs > create
API endpoint that allows CaseStudy Input datasets to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
parent_lookup_casestudy__id required |
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description |
|---|---|
thumbnail | |
coded_label required |
casestudies > inputs > read
API endpoint that allows CaseStudy Input datasets to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required | A unique integer value identifying this case study input. |
parent_lookup_casestudy__id required |
casestudies > inputs > update
API endpoint that allows CaseStudy Input datasets to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required | A unique integer value identifying this case study input. |
parent_lookup_casestudy__id required |
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description |
|---|---|
thumbnail | |
coded_label required |
casestudies > inputs > partial_update
API endpoint that allows CaseStudy Input datasets to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required | A unique integer value identifying this case study input. |
parent_lookup_casestudy__id required |
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description |
|---|---|
thumbnail | |
coded_label |
casestudies > inputs > delete
API endpoint that allows CaseStudy Input datasets to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required | A unique integer value identifying this case study input. |
parent_lookup_casestudy__id required |
casestudies > inputs > tupload
Upload the thumbnail :param request: :param args: :param kwargs: :return:
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required | A unique integer value identifying this case study input. |
parent_lookup_casestudy__id required |
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description |
|---|---|
file required |
casestudies > inputs > upload
Upload the file :param request: :param args: :param kwargs: :return:
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required | A unique integer value identifying this case study input. |
parent_lookup_casestudy__id required |
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description |
|---|---|
file required |
casestudies > layers > list
API endpoint that allows CaseStudy Layers to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
parent_lookup_casestudy__id required |
casestudies > layers > create
API endpoint that allows CaseStudy Layers to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
parent_lookup_casestudy__id required |
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description |
|---|---|
thumbnail | |
coded_label required |
casestudies > layers > read
API endpoint that allows CaseStudy Layers to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required | A unique integer value identifying this case study layer. |
parent_lookup_casestudy__id required |
casestudies > layers > update
API endpoint that allows CaseStudy Layers to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required | A unique integer value identifying this case study layer. |
parent_lookup_casestudy__id required |
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description |
|---|---|
thumbnail | |
coded_label required |
casestudies > layers > partial_update
API endpoint that allows CaseStudy Layers to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required | A unique integer value identifying this case study layer. |
parent_lookup_casestudy__id required |
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description |
|---|---|
thumbnail | |
coded_label |
casestudies > layers > delete
API endpoint that allows CaseStudy Layers to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required | A unique integer value identifying this case study layer. |
parent_lookup_casestudy__id required |
casestudies > layers > tupload
Upload the thumbnail :param request: :param args: :param kwargs: :return:
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required | A unique integer value identifying this case study layer. |
parent_lookup_casestudy__id required |
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description |
|---|---|
file required |
casestudies > layers > upload
Upload the file :param request: :param args: :param kwargs: :return:
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required | A unique integer value identifying this case study layer. |
parent_lookup_casestudy__id required |
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description |
|---|---|
file required |
casestudyruns > read
API endpoint that allows CaseStudyRuns to be viewed.
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required |
codedlabels > read
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
code required |
domainareas > list
Query Parameters
The following parameters should be included as part of a URL query string.
| Parameter | Description |
|---|---|
label |
domainareas > read
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required | A unique integer value identifying this domain area. |
Query Parameters
The following parameters should be included as part of a URL query string.
| Parameter | Description |
|---|---|
label |