Actions

Available for user tokens and project keys

List

GET https://api.suble.io/projects/:projectId/vm/:vmId/actions/:amount?

Retrieve a list of actions performed on virtual machine.

Path Parameters

NameTypeDescription

projectId

string

Unique Id for the project

vmId

string

Unique Id for the virtual machine

amount

number

Amount of actions that will be fetched. Default: 25

Headers

NameTypeDescription

Authorization

string

User token or project key

[
        {
                "_id": ObjectId,
                "user": ObjectId, // nullable
                "apikey": String, // nullable
                "type": String,
                "command": String,
                "vm": String,
                "running": Boolean,
                "progress": Number,
                "date": Number // Date time unix
        }
]

Last updated