Browse code

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

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

Sebastiaan van Stijn authored on 2020/07/27 19:12:25
Showing 1 changed files
... ...
@@ -1874,12 +1874,24 @@ definitions:
1874 1874
       Shared:
1875 1875
         type: "boolean"
1876 1876
       Size:
1877
+        description: |
1878
+          Amount of disk space used by the build cache (in bytes).
1877 1879
         type: "integer"
1878 1880
       CreatedAt:
1879
-        type: "integer"
1881
+        description: |
1882
+          Date and time at which the build cache was created in
1883
+          [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
1884
+        type: "string"
1885
+        format: "dateTime"
1886
+        example: "2016-08-18T10:44:24.496525531Z"
1880 1887
       LastUsedAt:
1881
-        type: "integer"
1888
+        description: |
1889
+          Date and time at which the build cache was last used in
1890
+          [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
1891
+        type: "string"
1892
+        format: "dateTime"
1882 1893
         x-nullable: true
1894
+        example: "2017-08-09T07:09:37.632105588Z"
1883 1895
       UsageCount:
1884 1896
         type: "integer"
1885 1897