Browse code

docs: API v1.39: fix type for BuildCache CreatedAt and LastUsedAt

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 9a6402d761bc88bcf2c044c90a5d685e9e2cbc98)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2020/07/27 19:13:27
Showing 1 changed files
... ...
@@ -1815,12 +1815,24 @@ definitions:
1815 1815
       Shared:
1816 1816
         type: "boolean"
1817 1817
       Size:
1818
+        description: |
1819
+          Amount of disk space used by the build cache (in bytes).
1818 1820
         type: "integer"
1819 1821
       CreatedAt:
1820
-        type: "integer"
1822
+        description: |
1823
+          Date and time at which the build cache was created in
1824
+          [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
1825
+        type: "string"
1826
+        format: "dateTime"
1827
+        example: "2016-08-18T10:44:24.496525531Z"
1821 1828
       LastUsedAt:
1822
-        type: "integer"
1829
+        description: |
1830
+          Date and time at which the build cache was last used in
1831
+          [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
1832
+        type: "string"
1833
+        format: "dateTime"
1823 1834
         x-nullable: true
1835
+        example: "2017-08-09T07:09:37.632105588Z"
1824 1836
       UsageCount:
1825 1837
         type: "integer"
1826 1838