You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`/boundaries/`| GET | - | Logged In User | 200 OK | Returns list of all boundaries the user has access to |
22
-
|`/boundaries/?utilities=1,3,5,8`| GET | - | Logged In User | 200 OK,<br />401 Not Authorized | Returns list of boundaries in the given utilities. If the user does not have access to that utility, returns a 401 |
23
-
|`/boundaries/`| POST |`{ ... }`| Contributor | 201 Created,<br />400 Bad Request,<br />401 Not Authorized | Creates a new boundary if the payload is correct and the user is authorized |
24
-
|`/boundaries/{id}/`| GET | - | Logged In User | 200 OK,<br />404 Not Found | Returns boundary details if the user has access to it, else 404s. Includes all details about the boundary. |
25
-
|`/boundaries/{id}/shape/`| PUT |`{ ... }`| Contributor | 200 OK,<br />404 Not Found | Updates the latest submission's shape |
26
-
|`/boundaries/{id}/reference-images/`| POST |`{ ... }`| Contributor | 200 OK,<br />404 Not Found | Adds a new reference image to the boundary |
27
-
|`/boundaries/{id}/submit/`| POST |`{ notes }`| Contributor | 200 OK,<br />404 Not Found | Submits the boundary |
28
-
|`/boundaries/{id}/review/`| POST |`{ notes, annotations }`| Validator | 200 OK,<br />404 Not Found | Reviews a boundary |
29
-
|`/boundaries/{id}/review/annotations/{id}`| PUT |`{ annotation }`| Validator | 200 OK,<br />404 Not Found | Updates an annotation in the latest review. Older reviews are read-only, so no need to specify review id. |
30
-
|`/boundaries/{id}/draft/`| POST | - | Contributor | 200 OK,<br />404 Not Found | Creates a new draft submission for a boundary after a review |
31
-
|`/boundaries/{id}/approve/`| POST | - | Validator | 200 OK,<br />404 Not Found | Approves a boundary |
32
-
|`/boundaries/{id}/unapprove/`| POST | - | Validator | 200 OK,<br />404 Not Found | Unapproves a boundary |
|`/boundaries/`| GET | - | Logged In User | 200 OK | Returns list of all boundaries the user has access to |
22
+
|`/boundaries/?utilities=1,3,5,8`| GET | - | Logged In User | 200 OK,<br />401 Not Authorized | Returns list of boundaries in the given utilities. If the user does not have access to that utility, returns a 401 |
23
+
|`/boundaries/`| POST |`{ ... }`| Contributor | 201 Created,<br />400 Bad Request,<br />401 Not Authorized | Creates a new boundary if the payload is correct and the user is authorized |
24
+
|`/boundaries/{id}/`| GET | - | Logged In User | 200 OK,<br />404 Not Found | Returns boundary details if the user has access to it, else 404s. Includes all details about the boundary. |
25
+
|`/boundaries/{id}/shape/`| PUT |`{ ... }`| Contributor | 200 OK,<br />404 Not Found | Updates the latest submission's shape |
26
+
|`/boundaries/{id}/reference-images/`| POST |`{ ... }`| Contributor | 200 OK,<br />404 Not Found | Adds a new reference image to the boundary |
27
+
|`/boundaries/{id}/reference-images/{id}/`| PUT |`{ ... }`| Contributor | 200 OK,<br />404 Not Found | Updates a reference image |
28
+
|`/boundaries/{id}/submit/`| POST |`{ notes }`| Contributor | 200 OK,<br />404 Not Found | Submits the boundary |
29
+
|`/boundaries/{id}/review/`| POST |`{ notes, annotations }`| Validator | 200 OK,<br />404 Not Found | Reviews a boundary |
30
+
|`/boundaries/{id}/review/annotations/{id}/`| PUT |`{ annotation }`| Validator | 200 OK,<br />404 Not Found | Updates an annotation in the latest review. Older reviews are read-only, so no need to specify review id. |
31
+
|`/boundaries/{id}/draft/`| POST | - | Contributor | 200 OK,<br />404 Not Found | Creates a new draft submission for a boundary after a review |
32
+
|`/boundaries/{id}/approve/`| POST | - | Validator | 200 OK,<br />404 Not Found | Approves a boundary |
33
+
|`/boundaries/{id}/unapprove/`| POST | - | Validator | 200 OK,<br />404 Not Found | Unapproves a boundary |
0 commit comments