/
timestamp.yaml
57 lines (55 loc) · 1.72 KB
/
timestamp.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
openapi: "3.0.2"
info:
version: 3.2.0
x-date: 17-06-2019
x-status: defined
title: Timestamp
description: |-
Data often needs to be time stamped to indicate when it has been
accessed, created, or modified. All objects defined in this
document will have, in their final version, a timestamp.
The date-time string is defined in
[RFC3339](https://xml2rfc.ietf.org/public/rfc/html/rfc3339.html#anchor14).
termsOfService: "https://github.com/cloudmesh/cloudmesh-nist/blob/master/LICENSE.txt"
contact:
name: NIST BDRA Interface Subgroup
url: https://cloudmesh-community.github.io/nist/spec/
license:
name: Apache 2.0
url: https://github.com/cloudmesh/cloudmesh-nist/blob/master/LICENSE.txt
servers:
- url: /cloudmesh/v3
paths:
/timestamp:
get:
summary: Returns the timestamp
description: Returns the timestamp
responses:
'200':
description: The current time and date
content:
application/json:
schema:
type: string
example: 1985-04-12T23:20:50.52Z
components:
schemas:
Timestamp:
type: object
description: the timestamp
properties:
accessed:
type: string
format: date-time
description: The time stamp when the object was last accessed
example: 1985-04-12T23:20:50.52Z
created:
type: string
format: date-time
description: The time stamp when the object was created
example: 1985-04-12T23:20:50.52Z
modified:
type: string
format: date-time
description: The time stamp when the object was modified
example: 1985-04-12T23:20:50.52Z