Browse code

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

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2020/07/27 19:12:25
Showing 1 changed files
... ...
@@ -1838,12 +1838,24 @@ definitions:
1838 1838
       Shared:
1839 1839
         type: "boolean"
1840 1840
       Size:
1841
+        description: |
1842
+          Amount of disk space used by the build cache (in bytes).
1841 1843
         type: "integer"
1842 1844
       CreatedAt:
1843
-        type: "integer"
1845
+        description: |
1846
+          Date and time at which the build cache was created in
1847
+          [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
1848
+        type: "string"
1849
+        format: "dateTime"
1850
+        example: "2016-08-18T10:44:24.496525531Z"
1844 1851
       LastUsedAt:
1845
-        type: "integer"
1852
+        description: |
1853
+          Date and time at which the build cache was last used in
1854
+          [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
1855
+        type: "string"
1856
+        format: "dateTime"
1846 1857
         x-nullable: true
1858
+        example: "2017-08-09T07:09:37.632105588Z"
1847 1859
       UsageCount:
1848 1860
         type: "integer"
1849 1861