API Reference
GET
get_os_listGet 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
GET
https://api.sharkcluster.com/get_os_listHow do you call Get OS List?
- 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));
Related Infrastructure endpoints
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.