StackRox DBService API
The DBService API from StackRox — 4 operation(s) for dbservice.
The DBService API from StackRox — 4 operation(s) for dbservice.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/stackrox-dbservice-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Reference AlertService DB Service API
version: '1'
description: API reference for the StackRox Kubernetes Security Platform (upstream of Red Hat Advanced Cluster Security). Provides risk analysis, visibility, runtime alerts, policy management, compliance checking, and vulnerability management for containerized workloads. Authentication uses API tokens generated via /v1/apitokens/generate and passed as Bearer tokens.
contact:
email: support@stackrox.com
url: https://www.stackrox.io/
license:
name: All Rights Reserved
url: https://www.stackrox.com/
servers:
- url: https://{central-host}
description: StackRox Central API server
variables:
central-host:
default: stackrox.localhost
description: StackRox Central hostname or IP
security:
- ApiToken: []
tags:
- name: DBService
paths:
/v1/db/exportcaps:
get:
operationId: GetExportCapabilities
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/v1GetDBExportCapabilitiesResponse'
tags:
- DBService
/v1/db/interruptrestore/{processId}/{attemptId}:
post:
operationId: InterruptRestoreProcess
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/v1InterruptDBRestoreProcessResponse'
parameters:
- name: processId
in: path
required: true
schema:
type: string
- name: attemptId
in: path
required: true
schema:
type: string
tags:
- DBService
/v1/db/restore:
get:
operationId: GetActiveRestoreProcess
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/v1GetActiveDBRestoreProcessResponse'
tags:
- DBService
/v1/db/restore/{id}:
delete:
operationId: CancelRestoreProcess
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/v1Empty'
parameters:
- name: id
in: path
required: true
schema:
type: string
tags:
- DBService
components:
schemas:
v1GetActiveDBRestoreProcessResponse:
type: object
properties:
activeStatus:
$ref: '#/components/schemas/v1DBRestoreProcessStatus'
v1DBRestoreProcessMetadata:
type: object
properties:
id:
type: string
description: An ID identifying the restore process. Auto-assigned.
header:
$ref: '#/components/schemas/v1DBRestoreRequestHeader'
startTime:
type: string
format: date-time
description: The time at which the restore process was started.
initiatingUserName:
type: string
description: The user who initiated the database restore process.
description: 'The metadata of an ongoing or completed restore process. This is the *static* metadata, which will not change
(i.e., it is not a status).'
v1DBExportManifestFile:
type: object
properties:
name:
type: string
description: 'The name of the file. This may or may not be a (relative) file path and up to the server to interpret.
For databases exported as ZIP files, this is the path relative to the root of the archive.'
encoding:
$ref: '#/components/schemas/DBExportManifestEncodingType'
encodedSize:
type: string
format: int64
decodedSize:
type: string
format: int64
decodedCrc32:
type: integer
format: int64
description: The CRC32 (IEEE) checksum of the decoded(!) data.
description: A single file in the restore body.
v1DBRestoreRequestHeader:
type: object
properties:
formatName:
type: string
description: The name of the database export format. Mandatory.
manifest:
$ref: '#/components/schemas/v1DBExportManifest'
localFile:
$ref: '#/components/schemas/DBRestoreRequestHeaderLocalFileInfo'
DBRestoreProcessStatusResumeInfo:
type: object
properties:
pos:
type: string
format: int64
v1DBExportManifest:
type: object
properties:
files:
type: array
items:
$ref: '#/components/schemas/v1DBExportManifestFile'
description: 'A DB export manifest describes the file contents of a restore request. To prevent data loss, a manifest is always
interpreted as binding, i.e., the server must ensure that it will read and make use of every file listed in the
manifest, otherwise it must reject the request.'
v1Empty:
type: object
v1DBExportFormatFile:
type: object
properties:
name:
type: string
optional:
type: boolean
format: boolean
v1InterruptDBRestoreProcessResponse:
type: object
properties:
resumeInfo:
$ref: '#/components/schemas/DBRestoreProcessStatusResumeInfo'
DBExportManifestEncodingType:
type: string
enum:
- UNKNOWN
- UNCOMPREESSED
- DEFLATED
default: UNKNOWN
description: The encoding of the file data in the restore body, usually for compression purposes.
v1DBExportFormat:
type: object
properties:
formatName:
type: string
files:
type: array
items:
$ref: '#/components/schemas/v1DBExportFormatFile'
description: DBExportFormat describes a format (= a collection of files) for the database export.
DBRestoreRequestHeaderLocalFileInfo:
type: object
properties:
path:
type: string
description: The full path of the file.
bytesSize:
type: string
format: int64
description: The size of the file, in bytes. 0 if unknown.
description: 'LocalFileInfo provides information about the file on the local machine of the user initiating the restore
process, in order to provide information to other users about ongoing restore processes.'
v1DBRestoreProcessStatusState:
type: string
enum:
- UNKNOWN
- NOT_STARTED
- IN_PROGRESS
- PAUSED
- COMPLETED
default: UNKNOWN
v1DBRestoreProcessStatus:
type: object
properties:
metadata:
$ref: '#/components/schemas/v1DBRestoreProcessMetadata'
attemptId:
type: string
state:
$ref: '#/components/schemas/v1DBRestoreProcessStatusState'
resumeInfo:
$ref: '#/components/schemas/DBRestoreProcessStatusResumeInfo'
error:
type: string
bytesRead:
type: string
format: int64
filesProcessed:
type: string
format: int64
v1GetDBExportCapabilitiesResponse:
type: object
properties:
formats:
type: array
items:
$ref: '#/components/schemas/v1DBExportFormat'
supportedEncodings:
type: array
items:
$ref: '#/components/schemas/DBExportManifestEncodingType'
securitySchemes:
ApiToken:
type: apiKey
in: header
name: Authorization
description: 'StackRox API token. Format: Bearer {token}'