{
  "openapi" : "3.0.1",
  "info" : {
    "title" : "OpenAPI definition",
    "version" : "v0"
  },
  "servers" : [ {
    "url" : "/"
  } ],
  "paths" : {
    "/v1/events" : {
      "get" : {
        "tags" : [ "audit-events-controller-impl" ],
        "summary" : "findAll",
        "operationId" : "findAll",
        "parameters" : [ {
          "name" : "search",
          "in" : "query",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "maxItems",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        }, {
          "name" : "skipCount",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        }, {
          "name" : "sort",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/hal+json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ListResponseContentCloudRuntimeEventObjectCloudRuntimeEventType"
                }
              },
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ListResponseContentCloudRuntimeEventObjectCloudRuntimeEventType"
                }
              }
            }
          },
          "401" : {
            "description" : "Unauthorized"
          },
          "403" : {
            "description" : "Forbidden"
          },
          "404" : {
            "description" : "Not Found"
          }
        },
        "security" : [ {
          "oauth" : [ ]
        } ]
      }
    },
    "/v1/events/{eventId}" : {
      "get" : {
        "tags" : [ "audit-events-controller-impl" ],
        "summary" : "findById",
        "operationId" : "findById",
        "parameters" : [ {
          "name" : "eventId",
          "in" : "path",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/hal+json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/EntryResponseContentCloudRuntimeEventObjectCloudRuntimeEventType"
                }
              },
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/EntryResponseContentCloudRuntimeEventObjectCloudRuntimeEventType"
                }
              }
            }
          },
          "401" : {
            "description" : "Unauthorized"
          },
          "403" : {
            "description" : "Forbidden"
          },
          "404" : {
            "description" : "Not Found"
          }
        },
        "security" : [ {
          "oauth" : [ ]
        } ]
      }
    },
    "/admin/v1/events" : {
      "get" : {
        "tags" : [ "audit-events-admin-controller-impl" ],
        "summary" : "findAll",
        "operationId" : "findAll",
        "parameters" : [ {
          "name" : "maxItems",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        }, {
          "name" : "skipCount",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        }, {
          "name" : "sort",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/hal+json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ListResponseContentCloudRuntimeEventObjectCloudRuntimeEventType"
                }
              },
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ListResponseContentCloudRuntimeEventObjectCloudRuntimeEventType"
                }
              }
            }
          },
          "401" : {
            "description" : "Unauthorized"
          },
          "403" : {
            "description" : "Forbidden"
          },
          "404" : {
            "description" : "Not Found"
          }
        },
        "security" : [ {
          "oauth" : [ ]
        } ]
      },
      "delete" : {
        "tags" : [ "audit-events-delete-controller" ],
        "summary" : "deleteEvents",
        "operationId" : "deleteEvents",
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/hal+json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ListResponseContentCloudRuntimeEventObjectCloudRuntimeEventType"
                }
              },
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ListResponseContentCloudRuntimeEventObjectCloudRuntimeEventType"
                }
              }
            }
          },
          "401" : {
            "description" : "Unauthorized"
          },
          "403" : {
            "description" : "Forbidden"
          },
          "404" : {
            "description" : "Not Found"
          }
        },
        "security" : [ {
          "oauth" : [ ]
        } ]
      }
    }
  },
  "components" : {
    "schemas" : {
      "CloudRuntimeEventModel" : {
        "title" : "CloudRuntimeEventModel",
        "type" : "object",
        "properties" : {
          "messageId" : {
            "type" : "string"
          },
          "entityId" : {
            "type" : "string"
          },
          "sequenceNumber" : {
            "type" : "integer",
            "format" : "int32"
          },
          "appName" : {
            "type" : "string"
          },
          "serviceFullName" : {
            "type" : "string"
          },
          "serviceName" : {
            "type" : "string"
          },
          "serviceType" : {
            "type" : "string"
          },
          "serviceVersion" : {
            "type" : "string"
          },
          "appVersion" : {
            "type" : "string"
          },
          "timestamp" : {
            "type" : "integer",
            "format" : "int64"
          },
          "entity" : {
            "type" : "object"
          },
          "eventType" : {
            "type" : "string",
            "enum" : [ "ACTIVITY_STARTED", "ACTIVITY_CANCELLED", "ACTIVITY_COMPLETED", "ERROR_RECEIVED", "SIGNAL_RECEIVED", "TIMER_SCHEDULED", "TIMER_FIRED", "TIMER_CANCELLED", "TIMER_EXECUTED", "TIMER_FAILED", "TIMER_RETRIES_DECREMENTED", "MESSAGE_WAITING", "MESSAGE_RECEIVED", "MESSAGE_SENT", "INTEGRATION_REQUESTED", "INTEGRATION_RESULT_RECEIVED", "INTEGRATION_ERROR_RECEIVED", "PROCESS_DEPLOYED", "PROCESS_CREATED", "PROCESS_STARTED", "PROCESS_COMPLETED", "PROCESS_CANCELLED", "PROCESS_SUSPENDED", "PROCESS_RESUMED", "PROCESS_UPDATED", "SEQUENCE_FLOW_TAKEN", "TASK_CANDIDATE_GROUP_ADDED", "TASK_CANDIDATE_GROUP_REMOVED", "TASK_CANDIDATE_USER_ADDED", "TASK_CANDIDATE_USER_REMOVED", "TASK_ASSIGNED", "TASK_COMPLETED", "TASK_CREATED", "TASK_UPDATED", "TASK_ACTIVATED", "TASK_SUSPENDED", "TASK_CANCELLED", "VARIABLE_CREATED", "VARIABLE_UPDATED", "VARIABLE_DELETED", "APPLICATION_DEPLOYED" ]
          },
          "id" : {
            "type" : "string"
          },
          "processInstanceId" : {
            "type" : "string"
          },
          "processDefinitionId" : {
            "type" : "string"
          },
          "processDefinitionKey" : {
            "type" : "string"
          },
          "businessKey" : {
            "type" : "string"
          },
          "parentProcessInstanceId" : {
            "type" : "string"
          },
          "processDefinitionVersion" : {
            "type" : "integer",
            "format" : "int32"
          }
        }
      },
      "EntriesResponseContentCloudRuntimeEventObjectCloudRuntimeEventType" : {
        "title" : "EntriesResponseContentCloudRuntimeEventObjectCloudRuntimeEventType",
        "type" : "object",
        "properties" : {
          "entries" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/EntryResponseContentCloudRuntimeEventObjectCloudRuntimeEventType"
            }
          },
          "pagination" : {
            "$ref" : "#/components/schemas/PaginationMetadata"
          }
        }
      },
      "EntryResponseContentCloudRuntimeEventObjectCloudRuntimeEventType" : {
        "title" : "EntryResponseContentCloudRuntimeEventObjectCloudRuntimeEventType",
        "type" : "object",
        "properties" : {
          "entry" : {
            "$ref" : "#/components/schemas/CloudRuntimeEventModel"
          }
        }
      },
      "ListResponseContentCloudRuntimeEventObjectCloudRuntimeEventType" : {
        "title" : "ListResponseContentCloudRuntimeEventObjectCloudRuntimeEventType",
        "type" : "object",
        "properties" : {
          "list" : {
            "$ref" : "#/components/schemas/EntriesResponseContentCloudRuntimeEventObjectCloudRuntimeEventType"
          }
        }
      },
      "PaginationMetadata" : {
        "title" : "PaginationMetadata",
        "type" : "object",
        "properties" : {
          "skipCount" : {
            "type" : "integer",
            "format" : "int64"
          },
          "maxItems" : {
            "type" : "integer",
            "format" : "int64"
          },
          "count" : {
            "type" : "integer",
            "format" : "int64"
          },
          "hasMoreItems" : {
            "type" : "boolean"
          },
          "totalItems" : {
            "type" : "integer",
            "format" : "int64"
          }
        }
      }
    }
  },
  "x-service-url-prefix" : ""
}