Check for a proxy startup status

Not applicable

Hi there! Is there any way to check if a proxy got started after being deployed? (except sending requests to an endpoint in order to see a response from the started proxy)

Thank you in advance.

Solved Solved
1 1 208
1 ACCEPTED SOLUTION

Hi @Yevhen Lkjhg, I think if the proxy is successfully deployed, then it is ready to accept request/calls.

Maybe use this proxy to check proxy deployment status,

https://apidocs.apigee.com/management/apis/get/organizations/%7Borg_name%7D/apis/%7Bapi_name%7D/depl...

If the proxy is successfully deployed to any one of the environments, it will give 200OK with all details in environment tag.

{
      "name": "test",
      "revision": [
        {
          "configuration": {
            "basePath": "/",
            "configVersion": "xxxxxx",
            "steps": []
          },
          "name": "1",
          "server": [
            {
              "pod": {
                "name": "rxxxx",
                "region": "xxxxxxx1"
              },
              "status": "deployed",    <!----------------------------->
              "type": [
                "message-processor"
              ],

If proxy deployment failed. then also it will give 200OK, but the environment variable will be empty.

{
  "environment": [],
  "name": "proxy-name",
  "organization": "org-name"
}

View solution in original post

1 REPLY 1

Hi @Yevhen Lkjhg, I think if the proxy is successfully deployed, then it is ready to accept request/calls.

Maybe use this proxy to check proxy deployment status,

https://apidocs.apigee.com/management/apis/get/organizations/%7Borg_name%7D/apis/%7Bapi_name%7D/depl...

If the proxy is successfully deployed to any one of the environments, it will give 200OK with all details in environment tag.

{
      "name": "test",
      "revision": [
        {
          "configuration": {
            "basePath": "/",
            "configVersion": "xxxxxx",
            "steps": []
          },
          "name": "1",
          "server": [
            {
              "pod": {
                "name": "rxxxx",
                "region": "xxxxxxx1"
              },
              "status": "deployed",    <!----------------------------->
              "type": [
                "message-processor"
              ],

If proxy deployment failed. then also it will give 200OK, but the environment variable will be empty.

{
  "environment": [],
  "name": "proxy-name",
  "organization": "org-name"
}