Skip to content

Commit fd7afca

Browse files
committed
More Policy status codes
1 parent 26a24ff commit fd7afca

1 file changed

Lines changed: 25 additions & 13 deletions

File tree

policy/README.md

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,19 @@ Policies will be returned in order of effective date (see schema below), with pa
166166

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

169+
### Responses
170+
171+
_Possible HTTP Status Codes_:
172+
200,
173+
400 (with parameter),
174+
404,
175+
406,
176+
500
177+
178+
See [Responses][responses], [Bulk Responses][bulk-responses], and [schema][schema] for details.
179+
180+
[Top][toc]
181+
169182
### Geographies
170183

171184
**Deprecated:** see the [Geography API](/geography#transition-from-policy) for the current home of this endpoint.
@@ -187,7 +200,6 @@ See [Policy Requirements Examples](/policy/examples/requirements.md) for how thi
187200

188201
_Possible HTTP Status Codes_:
189202
200,
190-
400 (with parameter),
191203
404,
192204
406,
193205
500
@@ -209,6 +221,18 @@ The publishing agency should establish and communicate to providers how frequent
209221

210222
The `last_updated` field in the payload wrapper should be set to the time of publishing a revision, so that it is simple to identify a changed file.
211223

224+
### Responses
225+
226+
_Possible HTTP Status Codes_:
227+
200,
228+
404,
229+
406,
230+
500
231+
232+
See [Responses][responses], [Bulk Responses][bulk-responses], and [schema][schema] for details.
233+
234+
[Top][toc]
235+
212236
### Example `policies.json`
213237

214238
```jsonc
@@ -732,18 +756,6 @@ You may also show which APIs, endpoints, and fields your agency is serving to pr
732756

733757
[Top][toc]
734758

735-
### Responses
736-
737-
_Possible HTTP Status Codes_:
738-
200,
739-
404,
740-
406,
741-
500
742-
743-
See [Responses][responses], [Bulk Responses][bulk-responses], and [schema][schema] for details.
744-
745-
[Top][toc]
746-
747759
[accessibility-options]: /general-information.md#accessibility-options
748760
[beta]: /general-information.md#beta
749761
[bulk-responses]: /general-information.md#bulk-responses

0 commit comments

Comments
 (0)