Server

Use these endpoints to manage Server operations on a Crate Operator host. The reference below includes request attributes, response shapes, and executable request examples.

The Server object

List of available ports on the server.

Required attributes

ports array<integer>
GET /v1/ports/available

Get available ports on the server

Returns one or more ports that are currently not in use on the server.

Parameters

count integer query

Number of available ports to return (default 1).

Responses

200 OK
400 Bad Request
500 Server Error