@@ -1732,18 +1732,22 @@ definitions:
17321732 type : " string"
17331733 description : " Name of the volume."
17341734 x-nullable : false
1735+ example : " tardis"
17351736 Driver :
17361737 type : " string"
17371738 description : " Name of the volume driver used by the volume."
17381739 x-nullable : false
1740+ example : " custom"
17391741 Mountpoint :
17401742 type : " string"
17411743 description : " Mount path of the volume on the host."
17421744 x-nullable : false
1745+ example : " /var/lib/docker/volumes/tardis"
17431746 CreatedAt :
17441747 type : " string"
17451748 format : " dateTime"
17461749 description : " Date/Time the volume was created."
1750+ example : " 2016-06-07T20:31:11.853781916Z"
17471751 Status :
17481752 type : " object"
17491753 description : |
@@ -1755,12 +1759,17 @@ definitions:
17551759 does not support this feature.
17561760 additionalProperties :
17571761 type : " object"
1762+ example :
1763+ hello : " world"
17581764 Labels :
17591765 type : " object"
17601766 description : " User-defined key/value metadata."
17611767 x-nullable : false
17621768 additionalProperties :
17631769 type : " string"
1770+ example :
1771+ com.example.some-label : " some-value"
1772+ com.example.some-other-label : " some-other-value"
17641773 Scope :
17651774 type : " string"
17661775 description : |
@@ -1769,12 +1778,17 @@ definitions:
17691778 default : " local"
17701779 x-nullable : false
17711780 enum : ["local", "global"]
1781+ example : " local"
17721782 Options :
17731783 type : " object"
17741784 description : |
17751785 The driver specific options used when creating the volume.
17761786 additionalProperties :
17771787 type : " string"
1788+ example :
1789+ device : " tmpfs"
1790+ o : " size=100m,uid=1000"
1791+ type : " tmpfs"
17781792 UsageData :
17791793 type : " object"
17801794 x-nullable : true
@@ -1800,18 +1814,6 @@ definitions:
18001814 is set to `-1` if the reference-count is not available.
18011815 x-nullable : false
18021816
1803- example :
1804- Name : " tardis"
1805- Driver : " custom"
1806- Mountpoint : " /var/lib/docker/volumes/tardis"
1807- Status :
1808- hello : " world"
1809- Labels :
1810- com.example.some-label : " some-value"
1811- com.example.some-other-label : " some-other-value"
1812- Scope : " local"
1813- CreatedAt : " 2016-06-07T20:31:11.853781916Z"
1814-
18151817 Network :
18161818 type : " object"
18171819 properties :
@@ -8451,23 +8453,6 @@ paths:
84518453 Warnings that occurred when fetching the list of volumes.
84528454 items :
84538455 type : " string"
8454-
8455- examples :
8456- application/json :
8457- Volumes :
8458- - CreatedAt : " 2017-07-19T12:00:26Z"
8459- Name : " tardis"
8460- Driver : " local"
8461- Mountpoint : " /var/lib/docker/volumes/tardis"
8462- Labels :
8463- com.example.some-label : " some-value"
8464- com.example.some-other-label : " some-other-value"
8465- Scope : " local"
8466- Options :
8467- device : " tmpfs"
8468- o : " size=100m,uid=1000"
8469- type : " tmpfs"
8470- Warnings : []
84718456 500 :
84728457 description : " Server error"
84738458 schema :
0 commit comments