diff --git a/docs/source/api/v3/asns_id.rst b/docs/source/api/v3/asns_id.rst index 8229f11ecb..f933cf65bd 100644 --- a/docs/source/api/v3/asns_id.rst +++ b/docs/source/api/v3/asns_id.rst @@ -57,7 +57,7 @@ Request Structure Accept: */* Cookie: mojolicious=... Content-Length: 29 - Content-Type: application/x-www-form-urlencoded + Content-Type: application/json {"asn": 2, "cachegroupId": 1} diff --git a/docs/source/api/v3/consistenthash.rst b/docs/source/api/v3/consistenthash.rst index 5e8ee252dc..a2b6db1aa4 100644 --- a/docs/source/api/v3/consistenthash.rst +++ b/docs/source/api/v3/consistenthash.rst @@ -43,7 +43,7 @@ Request Structure Accept: */* Cookie: mojolicious=... Content-Length: 80 - Content-Type: application/x-www-form-urlencoded + Content-Type: application/json {"regex":"/.*?(/.*?/).*?(m3u8)","requestPath":"/test/path/asset.m3u8","cdnId":2} diff --git a/docs/source/api/v4/asns_id.rst b/docs/source/api/v4/asns_id.rst index 6312c46d20..6cf34e1a3b 100644 --- a/docs/source/api/v4/asns_id.rst +++ b/docs/source/api/v4/asns_id.rst @@ -58,7 +58,7 @@ Request Structure Accept: */* Cookie: mojolicious=... Content-Length: 29 - Content-Type: application/x-www-form-urlencoded + Content-Type: application/json {"asn": 2, "cachegroupId": 1} diff --git a/docs/source/api/v4/consistenthash.rst b/docs/source/api/v4/consistenthash.rst index b0d8f18a60..a0ae597fd1 100644 --- a/docs/source/api/v4/consistenthash.rst +++ b/docs/source/api/v4/consistenthash.rst @@ -44,7 +44,7 @@ Request Structure Accept: */* Cookie: mojolicious=... Content-Length: 80 - Content-Type: application/x-www-form-urlencoded + Content-Type: application/json {"regex":"/.*?(/.*?/).*?(m3u8)","requestPath":"/test/path/asset.m3u8","cdnId":2} diff --git a/docs/source/api/v5/asns_id.rst b/docs/source/api/v5/asns_id.rst index 1773fedc45..026cd1f38a 100644 --- a/docs/source/api/v5/asns_id.rst +++ b/docs/source/api/v5/asns_id.rst @@ -58,7 +58,7 @@ Request Structure Accept: */* Cookie: mojolicious=... Content-Length: 29 - Content-Type: application/x-www-form-urlencoded + Content-Type: application/json {"asn": 2, "cachegroupId": 1} diff --git a/docs/source/api/v5/consistenthash.rst b/docs/source/api/v5/consistenthash.rst index ecc6abbfc3..35c4070457 100644 --- a/docs/source/api/v5/consistenthash.rst +++ b/docs/source/api/v5/consistenthash.rst @@ -44,7 +44,7 @@ Request Structure Accept: */* Cookie: mojolicious=... Content-Length: 80 - Content-Type: application/x-www-form-urlencoded + Content-Type: application/json {"regex":"/.*?(/.*?/).*?(m3u8)","requestPath":"/test/path/asset.m3u8","cdnId":2} diff --git a/docs/source/requirements.txt b/docs/source/requirements.txt index ca100b5d8b..1bb8a28fef 100644 --- a/docs/source/requirements.txt +++ b/docs/source/requirements.txt @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -Sphinx>=5.1,<5.2 +Sphinx>=7.0,<7.1 sphinx-rtd-theme>=1.3 sphinx_autodoc_typehints>=1.24 Pygments>=2.6