Revert Ingestion Policy By Version

Revert Ingestion Policy By Version

Revert to a specific historical version of a ingestion policy

Request
URI
POST
https:////api/v2/usage/ingestionpolicy/{id}/revert/{version}
COPY
Path Parameters
string
id
Required

id

integer
version
Required

version


Authentication
This operation uses the following authentication methods.
Responses
200

successful operation

Returns ResponseContainerIngestionPolicyReadModel of type(s) application/json
{
    "status": {
        "result": "string",
        "message": "string",
        "code": "integer"
    },
    "response": {
        "accounts": [
            {
                "name": "string",
                "id": "string",
                "description": "string"
            }
        ],
        "groups": [
            {
                "name": "string",
                "id": "string",
                "description": "string"
            }
        ],
        "metadata": {
            "usageInBillingPeriod": "integer",
            "customer": "string",
            "ingestionPolicyId": "string"
        },
        "name": "string",
        "id": "string",
        "description": "string",
        "scope": "string",
        "alert": {
            "tagpaths": [
                "string"
            ],
            "targetEndpoints": [
                "string"
            ],
            "modifyAclAccess": "boolean",
            "lastEventTime": "integer",
            "hidden": "boolean",
            "severity": "string",
            "minutes": "integer",
            "name": "string",
            "id": "string",
            "target": "string",
            "application": [
                "string"
            ],
            "service": [
                "string"
            ],
            "createdEpochMillis": "integer",
            "updatedEpochMillis": "integer",
            "targetInfo": [
                {
                    "method": "string",
                    "id": "string",
                    "name": "string"
                }
            ],
            "systemOwned": "boolean",
            "tags": {
                "customerTags": [
                    "string"
                ]
            },
            "status": [
                "string"
            ],
            "event": {
                "computedHlps": [
                    {
                        "severity": "string",
                        "host": "string",
                        "startTime": "integer",
                        "label": "string",
                        "observed": "integer",
                        "firing": "integer"
                    }
                ],
                "table": "string",
                "name": "string",
                "id": "string",
                "startTime": "integer",
                "endTime": "integer",
                "createdEpochMillis": "integer",
                "updatedEpochMillis": "integer",
                "tags": [
                    "string"
                ],
                "metricsUsed": [
                    "string"
                ],
                "createdAt": "integer",
                "hosts": [
                    "string"
                ],
                "summarizedEvents": "integer",
                "alertTags": [
                    "string"
                ],
                "isUserEvent": "boolean",
                "isEphemeral": "boolean",
                "creatorId": "string",
                "updaterId": "string",
                "updatedAt": "integer",
                "runningState": "string",
                "canDelete": "boolean",
                "canClose": "boolean",
                "creatorType": [
                    "string"
                ]
            },
            "orphan": "boolean",
            "deleted": "boolean",
            "acl": {
                "canView": [
                    "string"
                ],
                "canModify": [
                    "string"
                ]
            },
            "created": "integer",
            "processRateMinutes": "integer",
            "createUserId": "string",
            "updated": "integer",
            "updateUserId": "string",
            "queryFailing": "boolean",
            "lastFailedTime": "integer",
            "lastErrorMessage": "string",
            "additionalInformation": "string",
            "metricsUsed": [
                "string"
            ],
            "hostsUsed": [
                "string"
            ],
            "inTrash": "boolean",
            "lastProcessedMillis": "integer",
            "pointsScannedAtLastQuery": "integer",
            "includeObsoleteMetrics": "boolean",
            "lastQueryTime": "integer",
            "condition": "string",
            "conditionQueryType": "string",
            "conditionQBEnabled": "boolean",
            "conditionQBSerialization": "string",
            "displayExpression": "string",
            "displayExpressionQueryType": "string",
            "displayExpressionQBEnabled": "boolean",
            "creatorId": "string",
            "updaterId": "string",
            "displayExpressionQBSerialization": "string",
            "alertSources": [
                {
                    "hidden": "boolean",
                    "color": "string",
                    "name": "string",
                    "query": "string",
                    "description": "string",
                    "queryType": "string",
                    "queryBuilderEnabled": "boolean",
                    "queryBuilderSerialization": "string",
                    "alertSourceType": [
                        "string"
                    ]
                }
            ],
            "resolveAfterMinutes": "integer",
            "snoozed": "integer",
            "failingHostLabelPairs": [
                {
                    "severity": "string",
                    "host": "string",
                    "startTime": "integer",
                    "label": "string",
                    "observed": "integer",
                    "firing": "integer"
                }
            ],
            "querySyntaxError": "boolean",
            "runbookLinks": [
                "string"
            ],
            "triageDashboards": [
                {
                    "dashboardId": "string",
                    "description": "string"
                }
            ],
            "alertTriageDashboards": [
                {
                    "dashboardId": "string",
                    "description": "string"
                }
            ],
            "inMaintenanceHostLabelPairs": [
                {
                    "severity": "string",
                    "host": "string",
                    "startTime": "integer",
                    "label": "string",
                    "observed": "integer",
                    "firing": "integer"
                }
            ],
            "activeMaintenanceWindows": [
                "string"
            ],
            "prefiringHostLabelPairs": [
                {
                    "severity": "string",
                    "host": "string",
                    "startTime": "integer",
                    "label": "string",
                    "observed": "integer",
                    "firing": "integer"
                }
            ],
            "notificants": [
                "string"
            ],
            "lastNotificationMillis": "integer",
            "notificationResendFrequencyMinutes": "integer",
            "alertsLastDay": "integer",
            "alertsLastWeek": "integer",
            "alertsLastMonth": "integer",
            "numPointsInFailureFrame": "integer",
            "noDataEvent": {
                "computedHlps": [
                    {
                        "severity": "string",
                        "host": "string",
                        "startTime": "integer",
                        "label": "string",
                        "observed": "integer",
                        "firing": "integer"
                    }
                ],
                "table": "string",
                "name": "string",
                "id": "string",
                "startTime": "integer",
                "endTime": "integer",
                "createdEpochMillis": "integer",
                "updatedEpochMillis": "integer",
                "tags": [
                    "string"
                ],
                "metricsUsed": [
                    "string"
                ],
                "createdAt": "integer",
                "hosts": [
                    "string"
                ],
                "summarizedEvents": "integer",
                "alertTags": [
                    "string"
                ],
                "isUserEvent": "boolean",
                "isEphemeral": "boolean",
                "creatorId": "string",
                "updaterId": "string",
                "updatedAt": "integer",
                "runningState": "string",
                "canDelete": "boolean",
                "canClose": "boolean",
                "creatorType": [
                    "string"
                ]
            },
            "systemAlertVersion": "integer",
            "alertType": "string",
            "evaluateRealtimeData": "boolean",
            "secureMetricDetails": "boolean",
            "enablePDIncidentBySeries": "boolean",
            "chartSettings": {
                "type": "string",
                "min": "number",
                "max": "number",
                "customTags": [
                    "string"
                ],
                "expectedDataSpacing": "integer",
                "fixedLegendEnabled": "boolean",
                "fixedLegendUseRawStats": "boolean",
                "plainMarkdownContent": "string",
                "lineType": "string",
                "stackType": "string",
                "windowing": "string",
                "windowSize": "integer",
                "showHosts": "boolean",
                "showLabels": "boolean",
                "showRawValues": "boolean",
                "showValueColumn": "boolean",
                "autoColumnTags": "boolean",
                "columnTags": "string",
                "tagMode": "string",
                "numTags": "integer",
                "groupBySource": "boolean",
                "sortValuesDescending": "boolean",
                "defaultSortColumn": "string",
                "y1Max": "number",
                "y1Min": "number",
                "y1Units": "string",
                "y0ScaleSIBy1024": "boolean",
                "y1ScaleSIBy1024": "boolean",
                "y0UnitAutoscaling": "boolean",
                "y1UnitAutoscaling": "boolean",
                "invertDynamicLegendHoverControl": "boolean",
                "fixedLegendPosition": "string",
                "fixedLegendDisplayStats": [
                    "string"
                ],
                "fixedLegendFilterSort": "string",
                "fixedLegendShowSourceName": "boolean",
                "fixedLegendShowMetricName": "boolean",
                "fixedLegendFilterLimit": "integer",
                "fixedLegendFilterField": "string",
                "fixedLegendHideLabel": "boolean",
                "xmax": "number",
                "xmin": "number",
                "ymax": "number",
                "ymin": "number",
                "timeBasedColoring": "boolean",
                "sparklineDisplayValueType": "string",
                "sparklineDisplayColor": "string",
                "sparklineDisplayVerticalPosition": "string",
                "sparklineDisplayHorizontalPosition": "string",
                "sparklineDisplayFontSize": "string",
                "sparklineDisplayPrefix": "string",
                "sparklineDisplayPostfix": "string",
                "sparklineSize": "string",
                "sparklineLineColor": "string",
                "sparklineFillColor": "string",
                "sparklineValueColorMapColors": [
                    "string"
                ],
                "sparklineValueColorMapValuesV2": [
                    "number"
                ],
                "sparklineValueColorMapValues": [
                    "integer"
                ],
                "sparklineValueColorMapApplyTo": "string",
                "sparklineDecimalPrecision": "integer",
                "sparklineValueTextMapText": [
                    "string"
                ],
                "sparklineValueTextMapThresholds": [
                    "number"
                ],
                "chartDefaultColor": "string",
                "logsTable": {
                    "columns": [
                        "string"
                    ]
                }
            },
            "ingestionPolicyId": "string",
            "failingHostLabelPairLinks": [
                "string"
            ],
            "sortAttr": "integer",
            "severityList": [
                "string"
            ],
            "alertChartUnits": "string",
            "alertChartBase": "integer",
            "alertChartDescription": "string"
        },
        "lastUpdatedMs": "integer",
        "lastUpdatedAccountId": "string",
        "customer": "string",
        "sources": [
            "string"
        ],
        "alertId": "string",
        "isLimited": "boolean",
        "limitPPS": "integer",
        "namespaces": [
            "string"
        ],
        "pointTags": [
            {
                "key": "string",
                "value": "string"
            }
        ],
        "tagsAnded": "boolean"
    }
}
status
Required

status

response
Optional

response