Skip to content

Commit e376aa4

Browse files
author
Mark Maxham
authored
Merge pull request #10 from thekaveman/provider-agency-reconciliation
Undo delete of geographies
2 parents 21f1c95 + 7b4b881 commit e376aa4

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

policy/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,18 @@ Policies will be returned in order of effective date (see schema below), with pa
8989

9090
`provider_id` is an implicit parameter and will be encoded in the authentication mechanism, or a complete list of policies should be produced. If the Agency decides that Provider-specific policy documents should not be shared with other Providers (e.g. punitive policy in response to violations), an Agency should filter policy objects before serving them via this endpoint.
9191

92+
#### Geographies
93+
94+
Endpoint: `/geographies/{id}`
95+
Method: `GET`
96+
`data` Payload: `{ geographies: [] }`, an array of GeoJSON `Feature` objects.
97+
98+
##### Query Parameters
99+
100+
| Name | Type | Required / Optional | Description |
101+
| ------------ | --------- | --- | ---------------------------------------------- |
102+
| `id` | UUID | Optional | If provided, returns one geography object with the matching UUID; default is to return all geography objects. |
103+
92104
### Flat Files
93105

94106
To use flat files, policies shall be represented in two (2) files:

0 commit comments

Comments
 (0)