{
  "opencollection": "1.0.0",
  "info": {
    "name": "SigNoz alerts spanmapper API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "spanmapper",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List span attribute mapping groups",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}:{port}{base_path}/api/v1/span_mapper_groups",
            "params": [
              {
                "name": "category",
                "value": "",
                "type": "query"
              },
              {
                "name": "enabled",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "SigNoz-Api-Key",
              "value": "{{SigNoz-Api-Key}}",
              "placement": "header"
            }
          },
          "docs": "Returns all span attribute mapping groups for the authenticated org."
        },
        {
          "info": {
            "name": "Create a span attribute mapping group",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}:{port}{base_path}/api/v1/span_mapper_groups",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "SigNoz-Api-Key",
              "value": "{{SigNoz-Api-Key}}",
              "placement": "header"
            }
          },
          "docs": "Creates a new span attribute mapping group for the org."
        },
        {
          "info": {
            "name": "Update a span attribute mapping group",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{host}:{port}{base_path}/api/v1/span_mapper_groups/:groupId",
            "params": [
              {
                "name": "groupId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "SigNoz-Api-Key",
              "value": "{{SigNoz-Api-Key}}",
              "placement": "header"
            }
          },
          "docs": "Partially updates an existing mapping group's name, condition, or enabled state."
        },
        {
          "info": {
            "name": "Delete a span attribute mapping group",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{host}:{port}{base_path}/api/v1/span_mapper_groups/:groupId",
            "params": [
              {
                "name": "groupId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "SigNoz-Api-Key",
              "value": "{{SigNoz-Api-Key}}",
              "placement": "header"
            }
          },
          "docs": "Hard-deletes a mapping group and cascades to all its mappers."
        },
        {
          "info": {
            "name": "List span mappers for a group",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}:{port}{base_path}/api/v1/span_mapper_groups/:groupId/span_mappers",
            "params": [
              {
                "name": "groupId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "SigNoz-Api-Key",
              "value": "{{SigNoz-Api-Key}}",
              "placement": "header"
            }
          },
          "docs": "Returns all mappers belonging to a mapping group."
        },
        {
          "info": {
            "name": "Create a span mapper",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}:{port}{base_path}/api/v1/span_mapper_groups/:groupId/span_mappers",
            "params": [
              {
                "name": "groupId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "SigNoz-Api-Key",
              "value": "{{SigNoz-Api-Key}}",
              "placement": "header"
            }
          },
          "docs": "Adds a new mapper to the specified mapping group."
        },
        {
          "info": {
            "name": "Update a span mapper",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{host}:{port}{base_path}/api/v1/span_mapper_groups/:groupId/span_mappers/:mapperId",
            "params": [
              {
                "name": "groupId",
                "value": "",
                "type": "path"
              },
              {
                "name": "mapperId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "SigNoz-Api-Key",
              "value": "{{SigNoz-Api-Key}}",
              "placement": "header"
            }
          },
          "docs": "Partially updates an existing mapper's field context, config, or enabled state."
        },
        {
          "info": {
            "name": "Delete a span mapper",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{host}:{port}{base_path}/api/v1/span_mapper_groups/:groupId/span_mappers/:mapperId",
            "params": [
              {
                "name": "groupId",
                "value": "",
                "type": "path"
              },
              {
                "name": "mapperId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "SigNoz-Api-Key",
              "value": "{{SigNoz-Api-Key}}",
              "placement": "header"
            }
          },
          "docs": "Hard-deletes a mapper from a mapping group."
        }
      ]
    }
  ],
  "bundled": true
}