Get all of the GeoJSON shapes

get/admin/config/shapes
Internal-Use Only

Returns the details of all of the reusable GeoJSON shapes.

Request Samples

1

Response Samples

1{
2 "links": [
3 {
4 "method": "GET",
5 "rel": "self",
6 "href": "/svi-sand/admin/config/shapes?start=0&limit=10",
7 "uri": "/svi-sand/admin/config/shapes?start=0&limit=10",
8 "type": "application/vnd.sas.collection",
9 "itemType": "application/vnd.sas.sand.geo.shape"
10 },
11 {
12 "method": "GET",
13 "rel": "collection",
14 "href": "/svi-sand/admin/config/shapes",
15 "uri": "/svi-sand/admin/config/shapes",
16 "type": "application/vnd.sas.collection",
17 "itemType": "application/vnd.sas.sand.geo.shape"
18 },
19 {
20 "method": "POST",
21 "rel": "createShape",
22 "href": "/svi-sand/admin/config/shapes",
23 "uri": "/svi-sand/admin/config/shapes",
24 "type": "application/vnd.sas.sand.geo.shape"
25 },
26 {
27 "method": "DELETE",
28 "rel": "deleteShapes",
29 "href": "/svi-sand/admin/config/shapes",
30 "uri": "/svi-sand/admin/config/shapes"
31 }
32 ],
33 "name": "shapes",
34 "accept": "application/vnd.sas.sand.geo.shape",
35 "start": 0,
36 "count": 1,
37 "items": [
38 {
39 "id": "82d0cf19-0b9a-444b-b10d-35ea3724c3a8",
40 "solution": "Law Enforcement",
41 "name": "Colorado",
42 "group": "states",
43 "shape": {
44 "type": "Polygon",
45 "coordinates": [
46 [
47 [
48 -109.03930664062501,
49 37.00241558176739
50 ],
51 [
52 -102.05200195312501,
53 36.99364128251306
54 ],
55 [
56 -102.07397460937501,
57 40.98806198567309
58 ],
59 [
60 -109.03930664062501,
61 40.98806198567309
62 ],
63 [
64 -109.03930664062501,
65 37.00241558176739
66 ]
67 ]
68 ]
69 }
70 }
71 ],
72 "limit": 10,
73 "version": 2
74}

Query Parameters

NameTypeRequiredDescription
fields
string
false

A comma-separated list of the GeoJSON shape properties to include in the response.

filter
string
false

The criteria by which to filter the GeoJSON shapes. The filter supports only the "contains" and "and" operators on the name and group properties.

limit
integer
false

The maximum number of GeoJSON shapes to include in each page.

Default:
10
sortBy
string
false

The criteria by which to sort the GeoJSON shapes.

start
integer
false

The index of the first GeoJSON shape to include in the current page.

Default:
0

Responses

StatusMeaningDescription
200OKThe request succeeded.Schema