Bladeren bron

Merge pull request #22044 from thaJeztah/move-filter-options-to-right-api-version

Move volume filters to API 1.24 docs
Vincent Demeester 9 jaren geleden
bovenliggende
commit
d4b5abaf62
2 gewijzigde bestanden met toevoegingen van 5 en 5 verwijderingen
  1. 1 4
      docs/reference/api/docker_remote_api_v1.23.md
  2. 4 1
      docs/reference/api/docker_remote_api_v1.24.md

+ 1 - 4
docs/reference/api/docker_remote_api_v1.23.md

@@ -2755,10 +2755,7 @@ Status Codes:
 
 Query Parameters:
 
-- **filters** - JSON encoded value of the filters (a `map[string][]string`) to process on the volumes list. Available filters:
-  -   `name=<volume-name>` Matches all or part of a volume name.
-  -   `dangling=<boolean>` When set to `true` (or `1`), returns all volumes that are "dangling" (not in use by a container). When set to `false` (or `0`), only volumes that are in use by one or more containers are returned.
-  -   `driver=<volume-driver-name>` Matches all or part of a volume driver name.
+- **filters** - JSON encoded value of the filters (a `map[string][]string`) to process on the volumes list. There is one available filter: `dangling=true`
 
 Status Codes:
 

+ 4 - 1
docs/reference/api/docker_remote_api_v1.24.md

@@ -2759,7 +2759,10 @@ Status Codes:
 
 Query Parameters:
 
-- **filters** - JSON encoded value of the filters (a `map[string][]string`) to process on the volumes list. There is one available filter: `dangling=true`
+- **filters** - JSON encoded value of the filters (a `map[string][]string`) to process on the volumes list. Available filters:
+  -   `name=<volume-name>` Matches all or part of a volume name.
+  -   `dangling=<boolean>` When set to `true` (or `1`), returns all volumes that are "dangling" (not in use by a container). When set to `false` (or `0`), only volumes that are in use by one or more containers are returned.
+  -   `driver=<volume-driver-name>` Matches all or part of a volume driver name.
 
 Status Codes: