diff --git a/website/docs/api/environment.md b/website/docs/api/environment.md index 1e577cf96b..44b73b3428 100644 --- a/website/docs/api/environment.md +++ b/website/docs/api/environment.md @@ -44,7 +44,7 @@ curl -X POST -H "Content-Type: application/json" -d ' "anaconda-navigator=1.9.12=py37_0"] } } -' http://127.0.0.1:8080/api/v1/environment +' http://127.0.0.1:32080/api/v1/environment ``` **Example Response:** @@ -77,7 +77,7 @@ curl -X POST -H "Content-Type: application/json" -d ' **Example Request:** ```sh -curl -X GET http://127.0.0.1:8080/api/v1/environment +curl -X GET http://127.0.0.1:32080/api/v1/environment ``` **Example Response:** @@ -125,7 +125,7 @@ curl -X GET http://127.0.0.1:8080/api/v1/environment **Example Request:** ```sh -curl -X GET http://127.0.0.1:8080/api/v1/environment/my-submarine-env +curl -X GET http://127.0.0.1:32080/api/v1/environment/my-submarine-env ``` **Example Response:** @@ -170,7 +170,7 @@ curl -X PATCH -H "Content-Type: application/json" -d ' "alabaster=0.7.12=py37_0"] } } -' http://127.0.0.1:8080/api/v1/environment/my-submarine-env +' http://127.0.0.1:32080/api/v1/environment/my-submarine-env ``` **Example Response:** @@ -203,7 +203,7 @@ curl -X PATCH -H "Content-Type: application/json" -d ' **Example Request:** ```sh -curl -X DELETE http://127.0.0.1:8080/api/v1/environment/my-submarine-env +curl -X DELETE http://127.0.0.1:32080/api/v1/environment/my-submarine-env ``` **Example Response:** diff --git a/website/docs/api/experiment-template.md b/website/docs/api/experiment-template.md index 08434757a5..f57654d9e2 100644 --- a/website/docs/api/experiment-template.md +++ b/website/docs/api/experiment-template.md @@ -129,7 +129,7 @@ curl -X POST -H "Content-Type: application/json" -d ' } } } -' http://127.0.0.1:8080/api/v1/template +' http://127.0.0.1:32080/api/v1/template ``` @@ -138,7 +138,7 @@ curl -X POST -H "Content-Type: application/json" -d ' **Example Request:** ```sh -curl -X GET http://127.0.0.1:8080/api/v1/template +curl -X GET http://127.0.0.1:32080/api/v1/template ``` ### Get experiment template @@ -146,7 +146,7 @@ curl -X GET http://127.0.0.1:8080/api/v1/template **Example Request:** ```sh -curl -X GET http://127.0.0.1:8080/api/v1/template/my-tf-mnist-template +curl -X GET http://127.0.0.1:32080/api/v1/template/my-tf-mnist-template ``` @@ -202,7 +202,7 @@ curl -X PATCH -H "Content-Type: application/json" -d ' } } } -' http://127.0.0.1:8080/api/v1/template/my-tf-mnist-template +' http://127.0.0.1:32080/api/v1/template/my-tf-mnist-template ``` > "description", "parameters", "experimentSpec", "author" etc can be updated using this API. @@ -215,7 +215,7 @@ curl -X PATCH -H "Content-Type: application/json" -d ' **Example Request:** ```sh -curl -X DELETE http://127.0.0.1:8080/api/v1/template/my-tf-mnist-template +curl -X DELETE http://127.0.0.1:32080/api/v1/template/my-tf-mnist-template ``` @@ -233,5 +233,5 @@ curl -X POST -H "Content-Type: application/json" -d ' "experiment_name":"newexperiment1" } } -' http://127.0.0.1:8080/api/v1/experiment/my-tf-mnist-template +' http://127.0.0.1:32080/api/v1/experiment/my-tf-mnist-template ``` diff --git a/website/docs/api/experiment.md b/website/docs/api/experiment.md index 8f77fc3ef0..04c6e8bf1b 100644 --- a/website/docs/api/experiment.md +++ b/website/docs/api/experiment.md @@ -54,7 +54,7 @@ curl -X POST -H "Content-Type: application/json" -d ' } } } -' http://127.0.0.1:8080/api/v1/experiment +' http://127.0.0.1:32080/api/v1/experiment ``` **Example Response:** @@ -126,7 +126,7 @@ curl -X POST -H "Content-Type: application/json" -d ' } } } -' http://127.0.0.1:8080/api/v1/experiment +' http://127.0.0.1:32080/api/v1/experiment ``` Above example assume environment "my-submarine-env" already exists in Submarine. Please refer Environment API Reference doc to Create/Update/Delete/List Environment REST API's @@ -174,7 +174,7 @@ Above example assume environment "my-submarine-env" already exists in Submarine. **Example Request:** ```sh -curl -X GET http://127.0.0.1:8080/api/v1/experiment +curl -X GET http://127.0.0.1:32080/api/v1/experiment ``` **Example Response:** @@ -254,7 +254,7 @@ curl -X GET http://127.0.0.1:8080/api/v1/experiment **Example Request:** ```sh -curl -X GET http://127.0.0.1:8080/api/v1/experiment/experiment_1592057447228_0001 +curl -X GET http://127.0.0.1:32080/api/v1/experiment/experiment_1592057447228_0001 ``` **Example Response:** @@ -326,7 +326,7 @@ curl -X PATCH -H "Content-Type: application/json" -d ' } } } -' http://127.0.0.1:8080/api/v1/experiment/experiment_1592057447228_0001 +' http://127.0.0.1:32080/api/v1/experiment/experiment_1592057447228_0001 ``` **Example Response:** @@ -367,7 +367,7 @@ curl -X PATCH -H "Content-Type: application/json" -d ' **Example Request:** ```sh -curl -X DELETE http://127.0.0.1:8080/api/v1/experiment/experiment_1592057447228_0001 +curl -X DELETE http://127.0.0.1:32080/api/v1/experiment/experiment_1592057447228_0001 ``` **Example Response:** @@ -414,7 +414,7 @@ curl -X DELETE http://127.0.0.1:8080/api/v1/experiment/experiment_1592057447228_ **Example Request:** ```sh -curl -X GET http://127.0.0.1:8080/api/v1/experiment/logs +curl -X GET http://127.0.0.1:32080/api/v1/experiment/logs ``` **Example Response:** @@ -457,7 +457,7 @@ curl -X GET http://127.0.0.1:8080/api/v1/experiment/logs **Example Request:** ```sh -curl -X GET http://127.0.0.1:8080/api/v1/experiment/logs/experiment_1589199154923_0002 +curl -X GET http://127.0.0.1:32080/api/v1/experiment/logs/experiment_1589199154923_0002 ``` **Example Response:**