Skip to content

Commit

Permalink
Merge pull request #10 from thekaveman/provider-agency-reconciliation
Browse files Browse the repository at this point in the history
Undo delete of geographies
  • Loading branch information
Mark Maxham authored Jun 11, 2020
2 parents 21f1c95 + 7b4b881 commit e376aa4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions policy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,18 @@ Policies will be returned in order of effective date (see schema below), with pa

`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.

#### Geographies

Endpoint: `/geographies/{id}`
Method: `GET`
`data` Payload: `{ geographies: [] }`, an array of GeoJSON `Feature` objects.

##### Query Parameters

| Name | Type | Required / Optional | Description |
| ------------ | --------- | --- | ---------------------------------------------- |
| `id` | UUID | Optional | If provided, returns one geography object with the matching UUID; default is to return all geography objects. |

### Flat Files

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

0 comments on commit e376aa4

Please sign in to comment.