Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
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. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Reference Backups API
version: 1.0.0
servers:
- url: https://%7Baccount-domain%7D.console.eon.io/api
description: https://{account-domain}.console.eon.io/api
tags:
- name: Backups
paths:
/v1/projects/{projectId}/resources/{id}/take-snapshot:
post:
operationId: backups_takeSnapshot
summary: Take Snapshot
description: 'Takes an on-demand snapshot of the specified resource.
This operation is asynchronous.
It triggers a backup job and returns a job ID, which can be used to track the progress of the backup job.
You can follow the progress of the backup job by calling Get Backup Job with the job ID.'
tags:
- Backups
parameters:
- name: projectId
in: path
description: 'ID of the project the resource is in.
You can get your project ID from the [API Credentials](https://console.eon.io/global-management/api-credentials) page in your global management console.
'
required: true
schema:
type: string
format: uuid
- name: id
in: path
description: Eon-assigned ID of the resource to back up.
required: true
schema:
type: string
format: uuid
responses:
'202':
description: Backup job started.
content:
application/json:
schema:
$ref: '#/components/schemas/TakeSnapshotResponse'
'429':
description: Limit exceeded for the number of simultaneous on-demand backup jobs.
content:
application/json:
schema:
description: Any type
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/TakeSnapshotRequest'
security:
- ApiKeyAuth: []
components:
schemas:
TakeSnapshotResponse:
type: object
properties:
jobId:
type: string
format: uuid
description: Backup job ID.
required:
- jobId
title: TakeSnapshotResponse
TakeSnapshotRequest:
type: object
properties:
vaultId:
type: string
description: 'Eon-assigned ID of the vault to store the snapshot in.
'
retentionDays:
type: integer
description: Number of days to retain the snapshot.
required:
- vaultId
- retentionDays
title: TakeSnapshotRequest
securitySchemes:
ApiKeyAuth:
type: http
scheme: bearer