summaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api-spec/api.yaml
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-18 14:37:26 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-18 14:37:26 -0800
commit0ba79827d71d33b542ec71e4542c2be3ebbb66e7 (patch)
treeec4c7e37fdad3434ebe3b14bd96ce2eb33c50723 /rust/fatcat-api-spec/api.yaml
parent42a2474fda8b223eef609e3e022c8647be2d27c5 (diff)
downloadfatcat-0ba79827d71d33b542ec71e4542c2be3ebbb66e7.tar.gz
fatcat-0ba79827d71d33b542ec71e4542c2be3ebbb66e7.zip
rust codegen
Diffstat (limited to 'rust/fatcat-api-spec/api.yaml')
-rw-r--r--rust/fatcat-api-spec/api.yaml7
1 files changed, 5 insertions, 2 deletions
diff --git a/rust/fatcat-api-spec/api.yaml b/rust/fatcat-api-spec/api.yaml
index 70a27b76..b35d918e 100644
--- a/rust/fatcat-api-spec/api.yaml
+++ b/rust/fatcat-api-spec/api.yaml
@@ -249,7 +249,7 @@ definitions:
properties:
<<: *ENTITYPROPS
cdx:
- # limit of 200 CDX lines, at least to start
+ # limit of 200 CDX lines, at least to start?
type: array
items:
type: object
@@ -264,7 +264,9 @@ definitions:
example: "org,asheesh)/apus/ch1/node15.html"
timestamp:
type: string
- example: "20020429162520"
+ format: date-time
+ example: "2016-09-19T17:20:24Z"
+ description: "UTC, 'Z'-terminated, second (or better) precision"
url:
type: string
# NOTE: not format:url to allow alternatives
@@ -302,6 +304,7 @@ definitions:
timestamp:
type: string
format: date-time
+ description: "same format as CDX line timestamp (UTC, etc). Corresponds to the overall capture timestamp. Can be the earliest or average of CDX timestamps if that makes sense."
release_ids:
type: array
items: