catena-tools-core (v1)

How To Use The API Explorer

On the right hand side of this page, you will see a list of "Servers".

  • Mock server: This server will return mock responses to all requests. It is best used when evaluating the shape of the Catena API.
  • Localhost: This server will point at a locally running version of Catena. It is best used when you want to make real requests or to validate that Catena is properly running on your machine.
  • Custom Domain: This server will point at any domain you specify with the domain variable. It is best used when you have a version of Catena deployed to a live environment and you want to make real requests against it.

To configure which server is shown in example requests:

  1. Select the "Try it" button on any API operation within the API explorer
  1. Select your environment
  1. If you want to point the API explorer to an instance of Catena you have deployed, select "Custom Domain" and configure the domain environment variable.
  1. You're all set! This setting will be cached across all API operations exposed in these docs.
Languages
Servers
Mock server
https://docs.catenatools.com/_mock/apis/catena-tools-core/
Localhost
http://localhost:5000/
Custom Domain
https://{domain}/

CatenaApiKeys

CatenaApiKeys

Operations

CatenaAccounts

CatenaAccounts

Operations

CatenaServerManager

The server manager service portion of the integrated broker. This is what game servers interact with to handle matches.

Operations

CatenaAuthentication

CatenaAuthentication

Operations

CatenaSessions

A service that can be used to probe the session store directly for development or diagnostics. Not intended for regular production use!

Operations

CatenaTitles

CatenaTitles

Operations

CatenaServerReleases

CatenaServerManagement

Operations

CatenaPlatformAuth

A service for managing Catena-authoritative functionality with regards to validation and authentication. Used by validators in the Authentication service that log the user into the Catena platform.

Operations

CatenaParties

CatenaParties

Operations

CatenaNodeInspection

A service that can be used inspect the Catena node.

Operations

CatenaNodeControl

A service that can be used control the Catena node.

Operations

CatenaMatchBroker

An integrated match broker service which sits between the matchmaker, clients, and game servers/hosting to coordinate capacity and notify clients when servers are ready to accept connections. This implementation integrates the broker and capacity/server manager roles.

Operations

CatenaFriends

CatenaFriends

Operations

Events

Events

Operations

CatenaEntitlements

Operations

CatenaLeaderboards

Operations

CatenaMatchmaking

Operations

CatenaServerCatalog

Operations

ScheduleConfigOnHost allows a user to schedule a config as defined by the process monitor job specification on a specific host based on the criteria specified within the job configuration.

Request

Bodyapplication/json
configobject(Pxmon.Config)

Config is the config for a job that can run on a pxmon supported node. it is a name, definition of artifacts and a job.

curl -i -X POST \
  https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/fleets/deploy \
  -H 'Content-Type: application/json' \
  -d '{
    "config": {
      "name": "string",
      "artifacts": [
        {
          "name": "string",
          "remote": "string",
          "integrity": {
            "alg": "string",
            "hash": "string"
          },
          "config": "string"
        }
      ],
      "job": {
        "requirements": {
          "property1": "string",
          "property2": "string"
        },
        "exec": [
          {
            "cmd": "string",
            "args": [
              "string"
            ],
            "environment": [
              "string"
            ]
          }
        ],
        "include": [
          {
            "name": "string",
            "dest": "string",
            "executable": true
          }
        ],
        "restartPolicy": "string"
      }
    }
  }'

Responses

Success

Bodyapplication/json
hostIdstring
responsesArray of strings
Response
application/json
{ "hostId": "string", "responses": [ "string" ] }

List known hosts performs host filtering based on requirements

Request

curl -i -X GET \
  https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/fleets/hosts

Responses

Success

Bodyapplication/json
hostsArray of objects(Catena.CatenaServerCatalog.Host)
Response
application/json
{ "hosts": [ { … } ] }

catena.catena_server_catalog.CatenaServerCatalog_ExecuteAction

Request

Path
hostIdstringrequired
Bodyapplication/json
hostIdstring
requestobject(Pxmon.ExecuteActionRequest)
curl -i -X POST \
  'https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/fleets/hosts/{hostId}/action' \
  -H 'Content-Type: application/json' \
  -d '{
    "hostId": "string",
    "request": {
      "targetPx": "string",
      "stateAfterAction": "string",
      "req": {
        "method": "string",
        "body": "string",
        "path": "string",
        "port": 0,
        "headers": {
          "property1": "string",
          "property2": "string"
        }
      }
    }
  }'

Responses

Success

Bodyapplication/json
object(Catena.CatenaServerCatalog.ExecuteActionResponse)
Response
application/json
{}

CatenaSteamDiag

Operations