Skip to content

Commit

Permalink
Added conditional get disclaimer consistently to snapshot descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
getorymckeag authored and catkins-miso committed Jun 28, 2024
1 parent 86edffb commit 378c14a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ GEM
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
rexml (3.3.0)
rexml (3.3.1)
strscan
rouge (3.26.0)
rubyzip (2.3.2)
Expand Down
11 changes: 8 additions & 3 deletions docs/_data/paths/limits_forecast-snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,21 @@ get:
description: |
Obtain the Limits Forecast the Transmission Provider is currently using in
Operations, relative to the current time. Clients SHOULD perform Conditional
`GET` using the `If-None-Match` header and the `ETag` of a previous `GET`
response. This operation uses media types to control verbosity of the data
Operations, relative to the current time.
This operation uses media types to control verbosity of the data
fetched. The default media type,
`application/vnd.trolie.forecast-limits-snapshot.v1+json`, simply includes
the rating data. For applications that need it, the media type
`application/vnd.trolie.forecast-limits-detailed-snapshot.v1+json` may be
requested, which also references the source proposals used to generate the
snapshot, as well as reporting data from the ratings clearing process.
Clients SHOULD perform Conditional `GET` using the `If-None-Match` header
and the `ETag` of a previous `GET` response to poll this endpoint. Rate
limiting is done on a per Ratings Provider basis, so requests from
independent clients used by the same provider count against the same quota.
responses:
'200':
description: The requested operating forecast snapshot is returned.
Expand Down
5 changes: 4 additions & 1 deletion docs/_data/paths/limits_realtime-snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ get:
description: |
Obtain the System Operating Limits in-use by the Transmission Provider.
Clients SHOULD perform Conditional `GET` using the `If-None-Match` header
and the `ETag` of a previous `GET` response.
and the `ETag` of a previous `GET` response to poll this endpoint. Rate
limiting is done on a per Ratings Provider basis, so requests from
independent clients used by the same provider count against the same quota.
summary: Limits Real Time Snapshot
tags:
Expand Down

0 comments on commit 378c14a

Please sign in to comment.