{
  "opencollection": "1.0.0",
  "info": {
    "name": "LaunchDarkly Relay Proxy",
    "version": "8.0"
  },
  "items": [
    {
      "info": {
        "name": "Status",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Relay Proxy status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8030/status"
          },
          "docs": "Returns the overall health status of the Relay Proxy and detailed connection status for each configured environment. No authentication is required. The top-level status is \"healthy\" if all environments are connected, or \"degraded\" if any environment is disconnected."
        }
      ]
    },
    {
      "info": {
        "name": "Server-Side Evaluation",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Evaluate all flags for a context (GET)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8030/sdk/evalx/contexts/:contextBase64",
            "params": [
              {
                "name": "contextBase64",
                "value": "",
                "type": "path",
                "description": "A base64-encoded JSON representation of the evaluation context."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Evaluates all feature flags for the given context and returns the results. The context is provided as a base64-encoded JSON object in the URL path. Requires an SDK key in the Authorization header."
        }
      ]
    },
    {
      "info": {
        "name": "Client-Side Evaluation",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Evaluate all flags for a client-side context (GET)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8030/sdk/evalx/:envId/contexts/:contextBase64",
            "params": [
              {
                "name": "envId",
                "value": "",
                "type": "path",
                "description": "The client-side environment ID."
              },
              {
                "name": "contextBase64",
                "value": "",
                "type": "path",
                "description": "A base64-encoded JSON representation of the evaluation context."
              }
            ]
          },
          "docs": "Evaluates all client-side enabled feature flags for the given context. Uses the environment ID in the URL path for authentication."
        }
      ]
    },
    {
      "info": {
        "name": "Server-Side Streaming",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Stream all flag data (server-side)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8030/all",
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Establishes a Server-Sent Events (SSE) stream that delivers real-time flag data updates for server-side SDKs. Requires an SDK key in the Authorization header."
        },
        {
          "info": {
            "name": "Stream flag updates (server-side)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8030/flags",
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Establishes a Server-Sent Events (SSE) stream that delivers only flag updates (not segments) for server-side SDKs."
        }
      ]
    },
    {
      "info": {
        "name": "Client-Side Streaming",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Stream evaluated flags (client-side)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8030/eval/:envId/:contextBase64",
            "params": [
              {
                "name": "envId",
                "value": "",
                "type": "path",
                "description": "The client-side environment ID."
              },
              {
                "name": "contextBase64",
                "value": "",
                "type": "path",
                "description": "A base64-encoded JSON representation of the evaluation context."
              }
            ]
          },
          "docs": "Establishes a Server-Sent Events (SSE) stream that delivers evaluated flag values for the given context to client-side SDKs."
        }
      ]
    },
    {
      "info": {
        "name": "PHP Polling",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get latest all flags (PHP polling)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8030/sdk/latest-all",
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Returns the latest flag data for PHP server-side SDKs that use polling mode instead of streaming. Requires an SDK key in the Authorization header."
        }
      ]
    }
  ],
  "bundled": true
}