$.ajax({
url: "/stabile/systems?uuid=&action=activate",
type: "GET",
success: function(result) {$("#scoperesult").text(result);}
});
|
| Name | Method | Parameters | Description |
|---|---|---|---|
| appstore | GET | appid,callback | Look up app info for app with given appid in appstore on origo.io. Data is returned as padded JSON (JSONP).
Optionally provide name of your JSONP callback function, which should parse the returned script data. If no appid is provided, all available masters at Origo Registry are returned. |
| arraylist | GET | uuid | List systems current user has access to.
|
| backup | GET | uuid | Suspend, resume, start, shutdown, destroy og backup individual servers or servers belonging to a system.
|
| buildsystem | GET | name, master, storagepool, system, instances, networkuuid, bschedule, networktype1, ports, memory, vcpu, vmemory, vgpu, diskbus, cdrom, boot, loader, nicmodel1, nicmac1, networkuuid2, nicmac2, storagepool2, monitors, managementlink, start | Build a complete system from cloned master image.
master is the only required parameter. Set [storagepool2] to -1 if you want data images to be put on node storage. |
| changemonitoremail | GET | uuid,email | Change the email for all monitors belonging to server with given uuid. May be called with command line switches -u server uuid, -m old email, -k new email.
|
| deletesystem | GET | uuid | Removes specified system, i.e. completely deletes all servers, images, networks and backups belonging to a system.
Use with care. |
| destroy | GET | uuid | Suspend, resume, start, shutdown, destroy og backup individual servers or servers belonging to a system.
|
| downloadmaster | GET | filename,stackmaster,user | Downloads a master image (and if relevant the associated data image) with [filename] belonging to [user] (default "common") to the engine from Origo Registry.
|
| flatlist | GET | uuid | List systems current user has access to.
|
| getmetrics | GET | uuid,metric,from,until,last,format | Get performance and load metrics in JSON format from Graphite backend. [metric] is one of: cpuload, diskreads, diskwrites, networkactivityrx, networkactivitytx
From and until are Unix timestamps. Alternatively specify "last" number of seconds you want metrics for. Format is "json" (default) or "csv". |
| getupdateschedule | GET | uuid | Returns the update schedule for a server: "w" for weekly, "d" for dayily, "h" for hourly,
and the action: 1 = install security updates, 2 = install any updates Scheduling of software updates requires the server to have an updatelink defined, i.e. be integrated with Origo OS. |
| installsystem | GET | installsystem,installaccount | Helper function to initiate the installation of a new stack with system ID [installsystem] to account [installaccount] by redirecting with appropriate cookies set.
|
| list | GET | uuid | List systems current user has access to.
|
| listuptime | GET | yearmonth,uuid,format | List uptime for defined monitors. If uuid is supplied, only uptime for matching server or servers belonging to matching
system is shown. Format is either html or json. |
| metrics | GET | uuid,metric,from,to | Get performance and load metrics in JSON format from RRD backend. [metric] is one of: cpuload, diskreads, diskwrites, networkactivityrx, networkactivitytx
From and to are Unix timestamps. |
| monitors | GET | uuid | Handling of monitors
|
| monitors_acknowledge | GET | id | Enable, disable or acknowledge a monitor. Id is of the form serveruuid:service
|
| monitors_disable | GET | id | Enable, disable or acknowledge a monitor. Id is of the form serveruuid:service
|
| monitors_enable | GET | id | Enable, disable or acknowledge a monitor. Id is of the form serveruuid:service
|
| monitors_remove | PUT | id | Enable, disable or acknowledge a monitor. Id is of the form serveruuid:service
|
| monitors_save | PUT | id | Enable, disable or acknowledge a monitor. Id is of the form serveruuid:service
|
| packages | GET | uuid,updates,security | Handling of packages. Set [updates] to list only updateable packages or [security] to list only updateable security packages.
|
| packages_load | POST | uuid | Load list of installed software packages that are installed on the image. Image must contain a valid OS.
|
| packages_remove | DELETE | uuid | Remove packages from register belonging to server or system with given uuid.
|
| packages_update | POST | uuid,security | Updates software packages belonging to server or system with given uuid and optionally only [security] packages.
|
| register | GET | uuid,format | Print software register for server or system of servers with given uuid. Format is html, csv or json (default).
|
| remove | DELETE | uuid | Delete a system from database and make all member servers free agents.
|
| removesystem | GET | uuid | Removes specified system, i.e. completely deletes all servers, images, networks and backups belonging to a system.
Use with care. |
| removeusersystems | GET | username | Removes all systems belonging to a user, i.e. completely deletes all servers, images and networks belonging to an account.
Use with extreme care. |
| resetmonitoring | GET | Reset mon daemon while keeping states.
|
|
| resettoaccountinfo | GET | Recursively reset contact data for all systems and servers
|
|
| resume | GET | uuid | Suspend, resume, start, shutdown, destroy og backup individual servers or servers belonging to a system.
|
| save | PUT | uuid, name, servers, memory, vcpu, vmemory, vgpu, fullname, email, phone, opfullname, opemail, opphone, alertemail, services, recovery, notes, networkuuids | Save properties for a system. If no uuid is provided, a new stack is created.[networkuuids] is a comma-separated list of networks reserved to this stack for use not associated with specific servers.
[networkuuids] is a list of UUIDs of linked network connections, i.e. connections reserved for this system to handle Specify '--' to clear a value. |
| setupdateschedule | GET | uuid,schedule,scheduleaction | Saves the update [schedule] for a server: "w" for weekly, "d" for dayily, "h" for hourly or "" for no schedule.
On schedule perform the [action]: 1 = install security updates, 2 = install any updates Scheduling of software updates requires the server to have an updatelink defined, i.e. be integrated with Origo OS. |
| shutdown | GET | uuid | Suspend, resume, start, shutdown, destroy og backup individual servers or servers belonging to a system.
|
| snapshot | GET | uuid | Suspend, resume, start, shutdown, destroy og backup individual servers or servers belonging to a system.
|
| start | GET | uuid | Suspend, resume, start, shutdown, destroy og backup individual servers or servers belonging to a system.
|
| start_server | GET | uuid | Start specific server.
|
| suspend | GET | uuid | Suspend, resume, start, shutdown, destroy og backup individual servers or servers belonging to a system.
|
| tablelist | GET | uuid | List systems current user has access to.
|
| unsnap | GET | uuid | Suspend, resume, start, shutdown, destroy og backup individual servers or servers belonging to a system.
|
| updateaccountinfo | PUT | fullname, email, phone, opfullname, opemail, opphone, alertemail, allowfrom, allowinternalapi | Save user information.
|
| updatebasestackfiles | GET | uuid | Attempts to update the base Origo integration libraries in the VM to the newest versions from Gitlab.
|
| updateengineinfo | PUT | downloadmasters, downloadallmasters, externaliprangestart, externaliprangeend, proxyiprangestart, proxyiprangeend, proxygw, vmreadlimit, vmwritelimit, vmiopsreadlimit, vmiopswritelimit | Save engine information.
|
| uuidlookup | GET | uuid | Simple action for looking up a uuid or part of a uuid and returning the complete uuid.
|
| uuidshow | GET | uuid | Simple action for showing a single system.
|