Server Version

Servers in Metorial are version controlled. Metorial automatically updates servers to the latest version when available. These endpoints help you keep track of server versions in the Metorial catalog.

Server Version object

Attributes

object

String

id

String

The unique identifier of the server version

oauth

Object

OAuth configuration for the server version

identifier

String

A unique string identifier for the server version

server_id

String

The ID of the associated server

server_variant_id

String

The ID of the associated server variant

get_launch_params

String

Parameters used to launch this server version

source

Object

The source configuration for this server version

schema

Object

The actual schema definition

server

Object

created_at

Date

Timestamp when the server version was created

{
"object": "server.server_version",
"oauth": {
"status": "disabled"
},
"source": {
"type": "docker",
"docker": {}
},
"schema": {},
"server": {
"object": "server#preview",
"type": "public"
}
}

List server versions

Retrieve all versions for a given server

URL Parameters

server_id

String

The unique identifier for the server

Query Parameters

limit

NumberOptional

after

StringOptional

before

StringOptional

cursor

StringOptional

order

EnumOptional

variant_id

StringOptional
GEThttp://api.metorial.com/servers/:server_id/versions
curl -X GET "https://api.metorial.com/servers/ser_Rm4Mnheq2bfEPhBhP7SY/versions" \
-H "Authorization: Bearer metorial_sk_..."

Get server version

Retrieve details for a specific server version

URL Parameters

server_id

String

The unique identifier for the server

server_version_id

String

The unique identifier for the server_version

GEThttp://api.metorial.com/servers/:server_id/versions/:server_version_id
curl -X GET "https://api.metorial.com/servers/ser_Rm4Mnheq2bfEPhBhP7SY/versions/ser_Rm4Mnheq2bfEPhBhP7SY" \
-H "Authorization: Bearer metorial_sk_..."