Timestamps should be in milliseconds

This commit is contained in:
Travis Ralston 2018-07-26 16:43:43 -06:00
parent cad1db2a14
commit bdccfca726
2 changed files with 6 additions and 6 deletions

View file

@ -66,7 +66,7 @@ properties:
expired_ts:
type: integer
format: int64
description: POSIX timestamp for when this key expired.
description: POSIX timestamp in milliseconds for when this key expired.
required: true
example: 922834800000
key:

View file

@ -51,8 +51,8 @@ paths:
type: integer
format: int64
description: |-
A millisecond POSIX timestamp indicating when the returned certificates
will need to be valid until to be useful to the requesting server.
A millisecond POSIX timestamp in milliseconds indicating when the returned
certificates will need to be valid until to be useful to the requesting server.
If not supplied, the current time as determined by the notary server is used.
required: false
@ -111,9 +111,9 @@ paths:
type: integer
format: int64
description: |-
A millisecond POSIX timestamp indicating when the returned
certificates will need to be valid until to be useful to the
requesting server.
A millisecond POSIX timestamp in milliseconds indicating when
the returned certificates will need to be valid until to be
useful to the requesting server.
If not supplied, the current time as determined by the notary
server is used.