Browse Source

Merge pull request #40028 from thaJeztah/session_endpoint_docs_updates

API: update docs that /session left experimental in V1.39
Sebastiaan van Stijn 5 years ago
parent
commit
a8b04b17fd
2 changed files with 4 additions and 4 deletions
  1. 1 4
      api/swagger.yaml
  2. 3 0
      docs/api/version-history.md

+ 1 - 4
api/swagger.yaml

@@ -10439,9 +10439,6 @@ paths:
       description: |
         Start a new interactive session with a server. Session allows server to call back to the client for advanced capabilities.
 
-        > **Note**: This endpoint is *experimental* and only available if the daemon is started with experimental
-        > features enabled. The specifications for this endpoint may still change in a future version of the API.
-
         ### Hijacking
 
         This endpoint hijacks the HTTP connection to HTTP2 transport that allows the client to expose gPRC services on that connection.
@@ -10475,4 +10472,4 @@ paths:
           description: "server error"
           schema:
             $ref: "#/definitions/ErrorResponse"
-      tags: ["Session (experimental)"]
+      tags: ["Session"]

+ 3 - 0
docs/api/version-history.md

@@ -109,6 +109,9 @@ keywords: "API, Docker, rcli, REST, documentation"
 * `POST /swarm/init` now accepts a `DefaultAddrPool` property to set global scope default address pool
 * `POST /swarm/init` now accepts a `SubnetSize` property to set global scope networks by giving the
   length of the subnet masks for every such network
+* `POST /session` (added in [V1.31](#v131-api-changes) is no longer experimental.
+  This endpoint can be used to run interactive long-running protocols between the
+  client and the daemon.
 
 ## V1.38 API changes