Browse code

API: update docs that /session left experimental in V1.39

The `/session` endpoint left experimental in API V1.39 through
239047c2d36706f2826b0a9bc115e0a08b1c3d27 and
01c9e7082eba71cbe60ce2e47acb9aad2c83c7ef, but the API reference
was not updated accordingly.

This updates the API documentation to match the change.

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

Sebastiaan van Stijn authored on 2019/10/02 19:12:36
Showing 2 changed files
... ...
@@ -10379,9 +10379,6 @@ paths:
10379 10379
       description: |
10380 10380
         Start a new interactive session with a server. Session allows server to call back to the client for advanced capabilities.
10381 10381
 
10382
-        > **Note**: This endpoint is *experimental* and only available if the daemon is started with experimental
10383
-        > features enabled. The specifications for this endpoint may still change in a future version of the API.
10384
-
10385 10382
         ### Hijacking
10386 10383
 
10387 10384
         This endpoint hijacks the HTTP connection to HTTP2 transport that allows the client to expose gPRC services on that connection.
... ...
@@ -10415,4 +10412,4 @@ paths:
10415 10415
           description: "server error"
10416 10416
           schema:
10417 10417
             $ref: "#/definitions/ErrorResponse"
10418
-      tags: ["Session (experimental)"]
10418
+      tags: ["Session"]
... ...
@@ -87,6 +87,9 @@ keywords: "API, Docker, rcli, REST, documentation"
87 87
 * `POST /swarm/init` now accepts a `DefaultAddrPool` property to set global scope default address pool
88 88
 * `POST /swarm/init` now accepts a `SubnetSize` property to set global scope networks by giving the
89 89
   length of the subnet masks for every such network
90
+* `POST /session` (added in [V1.31](#v131-api-changes) is no longer experimental.
91
+  This endpoint can be used to run interactive long-running protocols between the
92
+  client and the daemon.
90 93
 
91 94
 ## V1.38 API changes
92 95