API Reference
GETget_os_list

Get OS List

Get OS List is a GET request to https://api.sharkcluster.com/get_os_list in the Infrastructure section of the SharkCluster API. Fetches a list of all supported Operating System images (e.g., Ubuntu 22.04, CentOS 7) available for server provisioning. It takes no parameters.

Request URL

GEThttps://api.sharkcluster.com/get_os_list

How do you call Get OS List?

  1. 1Send a GET request to https://api.sharkcluster.com/get_os_list.

What does Get OS List return?

A failed call explains the problem in the body, for example "Internal server error".

Request sample

const axios = require('axios');

axios.get('https://api.sharkcluster.com/get_os_list')
  .then(res => console.log("Supported Operating Systems:", res.data.os))
  .catch(err => console.error(err));

Stuck on an integration?

Raise a ticket from the panel with the endpoint and the response you got back — it reaches an engineer with your server already attached.

Contact us