Skip to content

Commit

Permalink
Add information on accepted date/time format in the device registry m…
Browse files Browse the repository at this point in the history
…anagement API

Signed-off-by: Kartheeswaran Kalidass <[email protected]>
  • Loading branch information
kaniyan committed Dec 22, 2020
1 parent 8bd9b93 commit 1266df5
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions site/documentation/content/api/management/device-registry-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,10 @@ components:
determined from the certificate and this property is ignored.
Otherwise, if the `public-key` property is
used, this property is mandatory.
NB: The value MUST be a string that complies with the format defined in
[RFC 3339](https://tools.ietf.org/html/rfc3339#section-5.6) as indicated
by the [date-time](http://spec.openapis.org/oas/v3.0.1#dataTypeFormat)
format in the OpenAPI specification.
"not-after":
type: string
format: date-time
Expand All @@ -801,6 +805,10 @@ components:
determined from the certificate and this property is ignored.
Otherwise, if the `public-key` property is
used, this property is mandatory.
NB: The value MUST be a string that complies with the format defined in
[RFC 3339](https://tools.ietf.org/html/rfc3339#section-5.6) as indicated
by the [date-time](http://spec.openapis.org/oas/v3.0.1#dataTypeFormat)
format in the OpenAPI specification.
"cert":
type: string
format: byte
Expand Down Expand Up @@ -939,7 +947,12 @@ components:
"effective-since":
type: string
format: date-time
description: The point in time at which the data volume limit came into effect.
description: |
The point in time at which the data volume limit came into effect.
NB: The value MUST be a string that complies with the format defined in
[RFC 3339](https://tools.ietf.org/html/rfc3339#section-5.6) as indicated
by the [date-time](http://spec.openapis.org/oas/v3.0.1#dataTypeFormat)
format in the OpenAPI specification.
"max-bytes":
type: integer
default: -1
Expand All @@ -958,7 +971,12 @@ components:
"effective-since":
type: string
format: date-time
description: The point in time at which the connection duration limit came into effect.
description: |
The point in time at which the connection duration limit came into effect.
NB: The value MUST be a string that complies with the format defined in
[RFC 3339](https://tools.ietf.org/html/rfc3339#section-5.6) as indicated
by the [date-time](http://spec.openapis.org/oas/v3.0.1#dataTypeFormat)
format in the OpenAPI specification.
"max-minutes":
type: integer
default: -1
Expand Down Expand Up @@ -1238,11 +1256,19 @@ components:
format: date-time
description: |
The point in time from which on this secret will be accepted for authentication.
NB: The value MUST be a string that complies with the format defined in
[RFC 3339](https://tools.ietf.org/html/rfc3339#section-5.6) as indicated
by the [date-time](http://spec.openapis.org/oas/v3.0.1#dataTypeFormat)
format in the OpenAPI specification.
"not-after":
type: string
format: date-time
description: |
The point in time after which this secret will no longer be accepted for authentication.
NB: The value MUST be a string that complies with the format defined in
[RFC 3339](https://tools.ietf.org/html/rfc3339#section-5.6) as indicated
by the [date-time](http://spec.openapis.org/oas/v3.0.1#dataTypeFormat)
format in the OpenAPI specification.
"comment":
type: string

Expand Down

0 comments on commit 1266df5

Please sign in to comment.