{
  "opencollection": "1.0.0",
  "info": {
    "name": "LaunchDarkly Relay Proxy Access Tokens Segments API",
    "version": "8.0"
  },
  "items": [
    {
      "info": {
        "name": "Segments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List segments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8030/segments/:projectKey/:environmentKey",
            "params": [
              {
                "name": "projectKey",
                "value": "",
                "type": "path",
                "description": "The project key identifying a LaunchDarkly project."
              },
              {
                "name": "environmentKey",
                "value": "",
                "type": "path",
                "description": "The environment key identifying a specific environment."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of segments to return."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Number of segments to skip for pagination."
              }
            ]
          },
          "docs": "Returns a list of all user segments in the specified project and environment."
        },
        {
          "info": {
            "name": "Create a segment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:8030/segments/:projectKey/:environmentKey",
            "params": [
              {
                "name": "projectKey",
                "value": "",
                "type": "path",
                "description": "The project key identifying a LaunchDarkly project."
              },
              {
                "name": "environmentKey",
                "value": "",
                "type": "path",
                "description": "The environment key identifying a specific environment."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new user segment in the specified project and environment."
        },
        {
          "info": {
            "name": "Get a segment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8030/segments/:projectKey/:environmentKey/:segmentKey",
            "params": [
              {
                "name": "projectKey",
                "value": "",
                "type": "path",
                "description": "The project key identifying a LaunchDarkly project."
              },
              {
                "name": "environmentKey",
                "value": "",
                "type": "path",
                "description": "The environment key identifying a specific environment."
              },
              {
                "name": "segmentKey",
                "value": "",
                "type": "path",
                "description": "The segment key identifying a specific user segment."
              }
            ]
          },
          "docs": "Returns a single user segment by its key."
        },
        {
          "info": {
            "name": "Update a segment",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "http://localhost:8030/segments/:projectKey/:environmentKey/:segmentKey",
            "params": [
              {
                "name": "projectKey",
                "value": "",
                "type": "path",
                "description": "The project key identifying a LaunchDarkly project."
              },
              {
                "name": "environmentKey",
                "value": "",
                "type": "path",
                "description": "The environment key identifying a specific environment."
              },
              {
                "name": "segmentKey",
                "value": "",
                "type": "path",
                "description": "The segment key identifying a specific user segment."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates a segment using a JSON Patch or semantic patch representation."
        },
        {
          "info": {
            "name": "Delete a segment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://localhost:8030/segments/:projectKey/:environmentKey/:segmentKey",
            "params": [
              {
                "name": "projectKey",
                "value": "",
                "type": "path",
                "description": "The project key identifying a LaunchDarkly project."
              },
              {
                "name": "environmentKey",
                "value": "",
                "type": "path",
                "description": "The environment key identifying a specific environment."
              },
              {
                "name": "segmentKey",
                "value": "",
                "type": "path",
                "description": "The segment key identifying a specific user segment."
              }
            ]
          },
          "docs": "Permanently deletes a user segment."
        }
      ]
    }
  ],
  "bundled": true
}