{
"asyncapi": "2.2.0",
"info": {
"title": "Rust public API",
"description": "test",
"version": "0.9.0",
"license": {
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
}
},
"servers": {
"production": {
"url": "148.251.43.103:4222",
"protocol": "nats",
"description": "GamingAPI NATS production broker "
}
},
"defaultContentType": "application/json",
"channels": {
"v0/rust/servers/{server_id}/events/started": {
"description": "Channel for the API to process for when a server has started",
"parameters": {
"server_id": {
"description": "The ID of the server",
"schema": {
"type": "string",
"x-parser-schema-id": "server_id"
}
}
},
"publish": {
"operationId": "ServerStarted",
"description": "You can consume this event to learn when the server was started",
"message": {
"name": "ServerStarted",
"payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerStarted",
"required": [
"timestamp"
],
"properties": {
"timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z",
"x-parser-schema-id": "<anonymous-schema-1>"
}
}
},
"x-parser-original-schema-format": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-original-payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerStarted",
"required": [
"timestamp"
],
"properties": {
"timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z"
}
}
},
"schemaFormat": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-message-parsed": true
}
}
},
"v0/rust/servers/{server_id}/events/stopped": {
"description": "Channel for the API to process for when a server has stopped",
"parameters": {
"server_id": {
"description": "The ID of the server",
"schema": {
"type": "string",
"x-parser-schema-id": "server_id"
}
}
},
"publish": {
"operationId": "ServerStopped",
"description": "You can consume this event to learn when the server was stopped",
"message": {
"name": "ServerStopped",
"payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerStopped",
"required": [
"timestamp"
],
"properties": {
"timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z",
"x-parser-schema-id": "<anonymous-schema-2>"
}
}
},
"x-parser-original-schema-format": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-original-payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerStopped",
"required": [
"timestamp"
],
"properties": {
"timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z"
}
}
},
"schemaFormat": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-message-parsed": true
}
}
},
"v0/rust/servers/{server_id}/events/player/{steam_id}/chatted": {
"description": "Event for when a player used the chat",
"parameters": {
"server_id": {
"description": "The ID of the server",
"schema": {
"type": "string",
"x-parser-schema-id": "server_id"
}
},
"steam_id": {
"description": "The steam ID of a player",
"schema": {
"type": "string",
"x-parser-schema-id": "steam_id"
}
}
},
"publish": {
"operationId": "PlayerChatted",
"description": "You can consume this event to learn when a player used the in-game chat",
"message": {
"name": "PlayerChatted",
"payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ChatMessage",
"required": [
"steam_id",
"player_name",
"full_message",
"is_admin",
"timestamp"
],
"properties": {
"steam_id": {
"type": "string",
"description": "The player's steamID64, must be 17 chars long.",
"pattern": "^[0-9]{17}$",
"x-parser-schema-id": "<anonymous-schema-3>"
},
"player_name": {
"type": "string",
"x-parser-schema-id": "<anonymous-schema-4>"
},
"raw_message": {
"type": "string",
"description": "The raw message before being converted with title and rank",
"x-parser-schema-id": "<anonymous-schema-5>"
},
"full_message": {
"type": "string",
"x-parser-schema-id": "<anonymous-schema-6>"
},
"is_admin": {
"type": "boolean",
"x-parser-schema-id": "<anonymous-schema-7>"
},
"rank": {
"type": "integer",
"x-parser-schema-id": "<anonymous-schema-8>"
},
"title": {
"type": "string",
"x-parser-schema-id": "<anonymous-schema-9>"
},
"timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z",
"x-parser-schema-id": "<anonymous-schema-10>"
}
}
},
"x-parser-original-schema-format": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-original-payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ChatMessage",
"required": [
"steam_id",
"player_name",
"full_message",
"is_admin",
"timestamp"
],
"properties": {
"steam_id": {
"type": "string",
"description": "The player's steamID64, must be 17 chars long.",
"pattern": "^[0-9]{17}$"
},
"player_name": {
"type": "string"
},
"raw_message": {
"type": "string",
"description": "The raw message before being converted with title and rank"
},
"full_message": {
"type": "string"
},
"is_admin": {
"type": "boolean"
},
"rank": {
"type": "integer"
},
"title": {
"type": "string"
},
"timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z"
}
}
},
"schemaFormat": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-message-parsed": true
}
}
},
"v0/rust/servers/{server_id}/events/wiped": {
"description": "Channel for the API to process when a server has just wiped",
"parameters": {
"server_id": {
"description": "The ID of the server",
"schema": {
"type": "string",
"x-parser-schema-id": "server_id"
}
}
},
"publish": {
"operationId": "ServerWiped",
"message": {
"name": "ServerWiped",
"payload": {
"type": "null",
"x-parser-schema-id": "<anonymous-schema-11>"
},
"x-parser-original-schema-format": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-original-payload": {
"type": "null"
},
"schemaFormat": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-message-parsed": true
}
}
},
"v0/rust/servers/{server_id}/players/{steam_id}/events/connected": {
"description": "Channel for the API to process for when a player connects to a server",
"parameters": {
"server_id": {
"description": "The ID of the server",
"schema": {
"type": "string",
"x-parser-schema-id": "server_id"
}
},
"steam_id": {
"description": "The steam ID of a player",
"schema": {
"type": "string",
"x-parser-schema-id": "steam_id"
}
}
},
"publish": {
"operationId": "ServerPlayerConnected",
"message": {
"name": "ServerPlayerConnected",
"payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerPlayerConnected",
"required": [
"player",
"connected_timestamp"
],
"properties": {
"connected_timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z",
"x-parser-schema-id": "<anonymous-schema-12>"
},
"player": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "Player",
"required": [
"id",
"name",
"address"
],
"properties": {
"id": {
"type": "string",
"x-parser-schema-id": "<anonymous-schema-13>"
},
"name": {
"type": "string",
"x-parser-schema-id": "<anonymous-schema-14>"
},
"address": {
"type": "string",
"x-parser-schema-id": "<anonymous-schema-15>"
}
}
}
}
},
"x-parser-original-schema-format": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-original-payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerPlayerConnected",
"required": [
"player",
"connected_timestamp"
],
"properties": {
"connected_timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z"
},
"player": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "Player",
"required": [
"id",
"name",
"address"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"address": {
"type": "string"
}
}
}
}
},
"schemaFormat": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-message-parsed": true
}
}
},
"v0/rust/servers/{server_id}/players/{steam_id}/events/disconnected": {
"description": "Channel for the API to process for when a player disconnects from a server",
"parameters": {
"server_id": {
"description": "The ID of the server",
"schema": {
"type": "string",
"x-parser-schema-id": "server_id"
}
},
"steam_id": {
"description": "The steam ID of a player",
"schema": {
"type": "string",
"x-parser-schema-id": "steam_id"
}
}
},
"publish": {
"operationId": "ServerPlayerDisconnected",
"message": {
"name": "ServerPlayerDisconnected",
"payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerPlayerDisconnected",
"required": [
"player",
"Reason",
"disconnected_timestamp"
],
"properties": {
"disconnected_timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z",
"x-parser-schema-id": "<anonymous-schema-16>"
},
"player": {
"type": "object",
"$id": "ServerPlayerDisconnectedPlayer",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"x-parser-schema-id": "<anonymous-schema-17>"
}
}
},
"reason": {
"type": "string",
"x-parser-schema-id": "<anonymous-schema-18>"
}
}
},
"x-parser-original-schema-format": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-original-payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerPlayerDisconnected",
"required": [
"player",
"Reason",
"disconnected_timestamp"
],
"properties": {
"disconnected_timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z"
},
"player": {
"type": "object",
"$id": "ServerPlayerDisconnectedPlayer",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
}
}
},
"reason": {
"type": "string"
}
}
},
"schemaFormat": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-message-parsed": true
}
}
},
"v0/rust/servers/{server_id}/players/{steam_id}/events/gatheredResources": {
"description": "Channel for the API to process for when a player gathers some resources",
"parameters": {
"server_id": {
"description": "The ID of the server",
"schema": {
"type": "string",
"x-parser-schema-id": "server_id"
}
},
"steam_id": {
"description": "The steam ID of a player",
"schema": {
"type": "string",
"x-parser-schema-id": "steam_id"
}
}
},
"publish": {
"operationId": "ServerPlayerResourceGathered",
"message": {
"name": "ServerPlayerResourceGathered",
"payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerPlayerResourceGathered",
"required": [
"steam_id",
"item_uid",
"item_id",
"amount",
"gathering_item",
"gathered_timestamp"
],
"properties": {
"gathered_timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z",
"x-parser-schema-id": "<anonymous-schema-19>"
},
"steam_id": {
"type": "string",
"description": "The player's steamID64, must be 17 chars long.",
"pattern": "^[0-9]{17}$",
"x-parser-schema-id": "<anonymous-schema-20>"
},
"item_uid": {
"type": "integer",
"x-parser-schema-id": "<anonymous-schema-21>"
},
"item_id": {
"type": "integer",
"x-parser-schema-id": "<anonymous-schema-22>"
},
"amount": {
"type": "integer",
"x-parser-schema-id": "<anonymous-schema-23>"
},
"gathering_item": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ActiveItem",
"properties": {
"uid": {
"type": "integer",
"x-parser-schema-id": "<anonymous-schema-24>"
},
"item_id": {
"type": "integer",
"x-parser-schema-id": "<anonymous-schema-25>"
}
}
},
"gathering_position": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "PlayerPosition",
"required": [
"x",
"y",
"z"
],
"properties": {
"x": {
"type": "number",
"x-parser-schema-id": "<anonymous-schema-26>"
},
"y": {
"type": "number",
"x-parser-schema-id": "<anonymous-schema-27>"
},
"z": {
"type": "number",
"x-parser-schema-id": "<anonymous-schema-28>"
}
}
}
}
},
"x-parser-original-schema-format": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-original-payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerPlayerResourceGathered",
"required": [
"steam_id",
"item_uid",
"item_id",
"amount",
"gathering_item",
"gathered_timestamp"
],
"properties": {
"gathered_timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z"
},
"steam_id": {
"type": "string",
"description": "The player's steamID64, must be 17 chars long.",
"pattern": "^[0-9]{17}$"
},
"item_uid": {
"type": "integer"
},
"item_id": {
"type": "integer"
},
"amount": {
"type": "integer"
},
"gathering_item": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ActiveItem",
"properties": {
"uid": {
"type": "integer"
},
"item_id": {
"type": "integer"
}
}
},
"gathering_position": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "PlayerPosition",
"required": [
"x",
"y",
"z"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"z": {
"type": "number"
}
}
}
}
},
"schemaFormat": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-message-parsed": true
}
}
},
"v0/rust/servers/{server_id}/players/{steam_id}/events/respawned": {
"description": "Channel for the API to process for when a player respawn",
"parameters": {
"server_id": {
"description": "The ID of the server",
"schema": {
"type": "string",
"x-parser-schema-id": "server_id"
}
},
"steam_id": {
"description": "The steam ID of a player",
"schema": {
"type": "string",
"x-parser-schema-id": "steam_id"
}
}
},
"publish": {
"operationId": "ServerPlayerRespawned",
"message": {
"name": "ServerPlayerRespawned",
"payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerPlayerRespawned",
"required": [
"steam_id",
"respawn_timestamp",
"respawn_position"
],
"properties": {
"steam_id": {
"type": "string",
"description": "The player's steamID64, must be 17 chars long.",
"pattern": "^[0-9]{17}$",
"x-parser-schema-id": "<anonymous-schema-29>"
},
"respawn_timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z",
"x-parser-schema-id": "<anonymous-schema-30>"
},
"respawn_position": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "PlayerPosition",
"required": [
"x",
"y",
"z"
],
"properties": {
"x": {
"type": "number",
"x-parser-schema-id": "<anonymous-schema-31>"
},
"y": {
"type": "number",
"x-parser-schema-id": "<anonymous-schema-32>"
},
"z": {
"type": "number",
"x-parser-schema-id": "<anonymous-schema-33>"
}
}
}
}
},
"x-parser-original-schema-format": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-original-payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerPlayerRespawned",
"required": [
"steam_id",
"respawn_timestamp",
"respawn_position"
],
"properties": {
"steam_id": {
"type": "string",
"description": "The player's steamID64, must be 17 chars long.",
"pattern": "^[0-9]{17}$"
},
"respawn_timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z"
},
"respawn_position": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "PlayerPosition",
"required": [
"x",
"y",
"z"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"z": {
"type": "number"
}
}
}
}
},
"schemaFormat": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-message-parsed": true
}
}
},
"v0/rust/servers/{server_id}/players/{steam_id}/events/combat/hit": {
"description": "Channel for the API to process for when a player hits another player",
"parameters": {
"server_id": {
"description": "The ID of the server",
"schema": {
"type": "string",
"x-parser-schema-id": "server_id"
}
},
"steam_id": {
"description": "The steam ID of a player",
"schema": {
"type": "string",
"x-parser-schema-id": "steam_id"
}
}
},
"publish": {
"operationId": "ServerPlayerCombatPlayerhit",
"message": {
"name": "ServerPlayerCombatPlayerhit",
"payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerPlayerCombatPlayerhit",
"required": [
"hit_timestamp",
"player_hit"
],
"properties": {
"hit_timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z",
"x-parser-schema-id": "<anonymous-schema-34>"
},
"player_hit": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "PlayerOnPlayerHit",
"required": [
"hit_area_id",
"hit_distance",
"hit_damage",
"isKill",
"victim",
"attacker"
],
"properties": {
"hit_area_id": {
"type": "integer",
"x-parser-schema-id": "<anonymous-schema-35>"
},
"hit_distance": {
"type": "number",
"x-parser-schema-id": "<anonymous-schema-36>"
},
"hit_damage": {
"type": "number",
"x-parser-schema-id": "<anonymous-schema-37>"
},
"isKill": {
"type": "boolean",
"x-parser-schema-id": "<anonymous-schema-38>"
},
"victim": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "PlayerHit",
"required": [
"steam_id",
"position",
"active_item"
],
"properties": {
"steam_id": {
"type": "string",
"description": "The player's steamID64, must be 17 chars long.",
"pattern": "^[0-9]{17}$",
"x-parser-schema-id": "<anonymous-schema-39>"
},
"position": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "PlayerPosition",
"required": [
"x",
"y",
"z"
],
"properties": {
"x": {
"type": "number",
"x-parser-schema-id": "<anonymous-schema-40>"
},
"y": {
"type": "number",
"x-parser-schema-id": "<anonymous-schema-41>"
},
"z": {
"type": "number",
"x-parser-schema-id": "<anonymous-schema-42>"
}
}
},
"active_item": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ActiveItem",
"properties": {
"uid": {
"type": "integer",
"x-parser-schema-id": "<anonymous-schema-43>"
},
"item_id": {
"type": "integer",
"x-parser-schema-id": "<anonymous-schema-44>"
}
}
}
}
},
"attacker": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "PlayerHit",
"required": [
"steam_id",
"position",
"active_item"
],
"properties": {
"steam_id": {
"type": "string",
"description": "The player's steamID64, must be 17 chars long.",
"pattern": "^[0-9]{17}$",
"x-parser-schema-id": "<anonymous-schema-45>"
},
"position": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "PlayerPosition",
"required": [
"x",
"y",
"z"
],
"properties": {
"x": {
"type": "number",
"x-parser-schema-id": "<anonymous-schema-46>"
},
"y": {
"type": "number",
"x-parser-schema-id": "<anonymous-schema-47>"
},
"z": {
"type": "number",
"x-parser-schema-id": "<anonymous-schema-48>"
}
}
},
"active_item": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ActiveItem",
"properties": {
"uid": {
"type": "integer",
"x-parser-schema-id": "<anonymous-schema-49>"
},
"item_id": {
"type": "integer",
"x-parser-schema-id": "<anonymous-schema-50>"
}
}
}
}
}
}
}
}
},
"x-parser-original-schema-format": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-original-payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerPlayerCombatPlayerhit",
"required": [
"hit_timestamp",
"player_hit"
],
"properties": {
"hit_timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z"
},
"player_hit": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "PlayerOnPlayerHit",
"required": [
"hit_area_id",
"hit_distance",
"hit_damage",
"isKill",
"victim",
"attacker"
],
"properties": {
"hit_area_id": {
"type": "integer"
},
"hit_distance": {
"type": "number"
},
"hit_damage": {
"type": "number"
},
"isKill": {
"type": "boolean"
},
"victim": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "PlayerHit",
"required": [
"steam_id",
"position",
"active_item"
],
"properties": {
"steam_id": {
"type": "string",
"description": "The player's steamID64, must be 17 chars long.",
"pattern": "^[0-9]{17}$"
},
"position": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "PlayerPosition",
"required": [
"x",
"y",
"z"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"z": {
"type": "number"
}
}
},
"active_item": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ActiveItem",
"properties": {
"uid": {
"type": "integer"
},
"item_id": {
"type": "integer"
}
}
}
}
},
"attacker": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "PlayerHit",
"required": [
"steam_id",
"position",
"active_item"
],
"properties": {
"steam_id": {
"type": "string",
"description": "The player's steamID64, must be 17 chars long.",
"pattern": "^[0-9]{17}$"
},
"position": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "PlayerPosition",
"required": [
"x",
"y",
"z"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"z": {
"type": "number"
}
}
},
"active_item": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ActiveItem",
"properties": {
"uid": {
"type": "integer"
},
"item_id": {
"type": "integer"
}
}
}
}
}
}
}
}
},
"schemaFormat": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-message-parsed": true
}
}
},
"v0/rust/servers/{server_id}/players/{steam_id}/events/items/{item_id}/pickup": {
"description": "Channel for the API to process for when a player pickup items ingame",
"parameters": {
"server_id": {
"description": "The ID of the server",
"schema": {
"type": "string",
"x-parser-schema-id": "server_id"
}
},
"steam_id": {
"description": "The steam ID of a player",
"schema": {
"type": "string",
"x-parser-schema-id": "steam_id"
}
},
"item_id": {
"description": "The ID of an item",
"schema": {
"type": "string",
"x-parser-schema-id": "item_id"
}
}
},
"publish": {
"operationId": "ServerPlayerItemPickup",
"message": {
"name": "ServerPlayerItemPickup",
"payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerPlayerItemPickup",
"required": [
"steam_id",
"item_uid",
"item_id",
"pickup_timestamp"
],
"properties": {
"pickup_timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z",
"x-parser-schema-id": "<anonymous-schema-51>"
},
"steam_id": {
"type": "string",
"description": "The player's steamID64, must be 17 chars long.",
"pattern": "^[0-9]{17}$",
"x-parser-schema-id": "<anonymous-schema-52>"
},
"item_uid": {
"type": "integer",
"x-parser-schema-id": "<anonymous-schema-53>"
},
"item_id": {
"type": "integer",
"x-parser-schema-id": "<anonymous-schema-54>"
},
"amount": {
"type": "integer",
"x-parser-schema-id": "<anonymous-schema-55>"
}
}
},
"x-parser-original-schema-format": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-original-payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerPlayerItemPickup",
"required": [
"steam_id",
"item_uid",
"item_id",
"pickup_timestamp"
],
"properties": {
"pickup_timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z"
},
"steam_id": {
"type": "string",
"description": "The player's steamID64, must be 17 chars long.",
"pattern": "^[0-9]{17}$"
},
"item_uid": {
"type": "integer"
},
"item_id": {
"type": "integer"
},
"amount": {
"type": "integer"
}
}
},
"schemaFormat": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-message-parsed": true
}
}
},
"v0/rust/servers/{server_id}/players/{steam_id}/events/items/{item_id}/loot": {
"description": "Channel for the API to process for when a player loots an item ingame",
"parameters": {
"server_id": {
"description": "The ID of the server",
"schema": {
"type": "string",
"x-parser-schema-id": "server_id"
}
},
"steam_id": {
"description": "The steam ID of a player",
"schema": {
"type": "string",
"x-parser-schema-id": "steam_id"
}
},
"item_id": {
"description": "The ID of an item",
"schema": {
"type": "string",
"x-parser-schema-id": "item_id"
}
}
},
"publish": {
"operationId": "ServerPlayerItemLoot",
"message": {
"name": "ServerPlayerItemLoot",
"payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerPlayerItemLoot",
"required": [
"steam_id",
"item_uid",
"item_id",
"loot_timestamp",
"amount",
"container_uid",
"container_prefab"
],
"properties": {
"loot_timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z",
"x-parser-schema-id": "<anonymous-schema-56>"
},
"steam_id": {
"type": "string",
"description": "The player's steamID64, must be 17 chars long.",
"pattern": "^[0-9]{17}$",
"x-parser-schema-id": "<anonymous-schema-57>"
},
"item_uid": {
"type": "integer",
"x-parser-schema-id": "<anonymous-schema-58>"
},
"item_id": {
"type": "integer",
"x-parser-schema-id": "<anonymous-schema-59>"
},
"container_uid": {
"type": "integer",
"x-parser-schema-id": "<anonymous-schema-60>"
},
"container_prefab": {
"type": "string",
"x-parser-schema-id": "<anonymous-schema-61>"
},
"container_position": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "PlayerPosition",
"required": [
"x",
"y",
"z"
],
"properties": {
"x": {
"type": "number",
"x-parser-schema-id": "<anonymous-schema-62>"
},
"y": {
"type": "number",
"x-parser-schema-id": "<anonymous-schema-63>"
},
"z": {
"type": "number",
"x-parser-schema-id": "<anonymous-schema-64>"
}
}
},
"amount": {
"type": "integer",
"x-parser-schema-id": "<anonymous-schema-65>"
}
}
},
"x-parser-original-schema-format": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-original-payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerPlayerItemLoot",
"required": [
"steam_id",
"item_uid",
"item_id",
"loot_timestamp",
"amount",
"container_uid",
"container_prefab"
],
"properties": {
"loot_timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z"
},
"steam_id": {
"type": "string",
"description": "The player's steamID64, must be 17 chars long.",
"pattern": "^[0-9]{17}$"
},
"item_uid": {
"type": "integer"
},
"item_id": {
"type": "integer"
},
"container_uid": {
"type": "integer"
},
"container_prefab": {
"type": "string"
},
"container_position": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "PlayerPosition",
"required": [
"x",
"y",
"z"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"z": {
"type": "number"
}
}
},
"amount": {
"type": "integer"
}
}
},
"schemaFormat": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-message-parsed": true
}
}
},
"v0/rust/servers/{server_id}/players/{steam_id}/events/items/{item_id}/crafted": {
"description": "Channel for the API to process for when a player crafts items ingame",
"parameters": {
"server_id": {
"description": "The ID of the server",
"schema": {
"type": "string",
"x-parser-schema-id": "server_id"
}
},
"steam_id": {
"description": "The steam ID of a player",
"schema": {
"type": "string",
"x-parser-schema-id": "steam_id"
}
},
"item_id": {
"description": "The ID of an item",
"schema": {
"type": "string",
"x-parser-schema-id": "item_id"
}
}
},
"publish": {
"operationId": "ServerPlayerItemCrafted",
"message": {
"name": "ServerPlayerItemCrafted",
"payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerPlayerItemCrafted",
"required": [
"steam_id",
"item_uid",
"item_id",
"craft_timestamp",
"amount"
],
"properties": {
"craft_timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z",
"x-parser-schema-id": "<anonymous-schema-66>"
},
"steam_id": {
"type": "string",
"description": "The player's steamID64, must be 17 chars long.",
"pattern": "^[0-9]{17}$",
"x-parser-schema-id": "<anonymous-schema-67>"
},
"item_uid": {
"type": "integer",
"x-parser-schema-id": "<anonymous-schema-68>"
},
"item_id": {
"type": "integer",
"x-parser-schema-id": "<anonymous-schema-69>"
},
"amount": {
"type": "integer",
"x-parser-schema-id": "<anonymous-schema-70>"
}
}
},
"x-parser-original-schema-format": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-original-payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerPlayerItemCrafted",
"required": [
"steam_id",
"item_uid",
"item_id",
"craft_timestamp",
"amount"
],
"properties": {
"craft_timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z"
},
"steam_id": {
"type": "string",
"description": "The player's steamID64, must be 17 chars long.",
"pattern": "^[0-9]{17}$"
},
"item_uid": {
"type": "integer"
},
"item_id": {
"type": "integer"
},
"amount": {
"type": "integer"
}
}
},
"schemaFormat": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-message-parsed": true
}
}
},
"v0/rust/servers/{server_id}/events/command": {
"description": "Channel for the API to process for when a server command is run",
"parameters": {
"server_id": {
"description": "The ID of the server",
"schema": {
"type": "string",
"x-parser-schema-id": "server_id"
}
}
},
"publish": {
"operationId": "ServerCommand",
"message": {
"name": "ServerCommand",
"payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerCommand",
"required": [
"timestamp"
],
"properties": {
"command": {
"type": "string",
"x-parser-schema-id": "<anonymous-schema-71>"
},
"arguments": {
"type": "string",
"x-parser-schema-id": "<anonymous-schema-72>"
},
"steam_id": {
"type": "string",
"description": "The player's steamID64 which are running the command, must be 17 chars long.",
"pattern": "^[0-9]{17}$",
"x-parser-schema-id": "<anonymous-schema-73>"
},
"timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z",
"x-parser-schema-id": "<anonymous-schema-74>"
}
}
},
"x-parser-original-schema-format": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-original-payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerCommand",
"required": [
"timestamp"
],
"properties": {
"command": {
"type": "string"
},
"arguments": {
"type": "string"
},
"steam_id": {
"type": "string",
"description": "The player's steamID64 which are running the command, must be 17 chars long.",
"pattern": "^[0-9]{17}$"
},
"timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z"
}
}
},
"schemaFormat": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-message-parsed": true
}
}
},
"v0/rust/servers/{server_id}/players/{steam_id}/events/reported": {
"description": "Channel for the API to process for when a player is reported",
"parameters": {
"server_id": {
"description": "The ID of the server",
"schema": {
"type": "string",
"x-parser-schema-id": "server_id"
}
},
"steam_id": {
"description": "The steam ID of a player",
"schema": {
"type": "string",
"x-parser-schema-id": "steam_id"
}
}
},
"publish": {
"operationId": "ServerPlayerReported",
"message": {
"name": "ServerPlayerReported",
"payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerPlayerReported",
"required": [
"reporter_steam_id",
"reported_target_steam_id",
"timestamp"
],
"properties": {
"reporter_steam_id": {
"type": "string",
"description": "The player's steamID64 which reported the player, must be 17 chars long.",
"pattern": "^[0-9]{17}$",
"x-parser-schema-id": "<anonymous-schema-75>"
},
"reported_target_steam_id": {
"type": "string",
"description": "The player's steamID64 which are reported, must be 17 chars long.",
"pattern": "^[0-9]{17}$",
"x-parser-schema-id": "<anonymous-schema-76>"
},
"subject": {
"type": "string",
"x-parser-schema-id": "<anonymous-schema-77>"
},
"message": {
"type": "string",
"x-parser-schema-id": "<anonymous-schema-78>"
},
"reportedType": {
"type": "string",
"x-parser-schema-id": "<anonymous-schema-79>"
},
"timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z",
"x-parser-schema-id": "<anonymous-schema-80>"
}
}
},
"x-parser-original-schema-format": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-original-payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerPlayerReported",
"required": [
"reporter_steam_id",
"reported_target_steam_id",
"timestamp"
],
"properties": {
"reporter_steam_id": {
"type": "string",
"description": "The player's steamID64 which reported the player, must be 17 chars long.",
"pattern": "^[0-9]{17}$"
},
"reported_target_steam_id": {
"type": "string",
"description": "The player's steamID64 which are reported, must be 17 chars long.",
"pattern": "^[0-9]{17}$"
},
"subject": {
"type": "string"
},
"message": {
"type": "string"
},
"reportedType": {
"type": "string"
},
"timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z"
}
}
},
"schemaFormat": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-message-parsed": true
}
}
},
"v0/rust/servers/{server_id}/players/{steam_id}/events/unbanned": {
"description": "Channel for notifying a server unbanned a player",
"parameters": {
"server_id": {
"description": "The ID of the server",
"schema": {
"type": "string",
"x-parser-schema-id": "server_id"
}
},
"steam_id": {
"description": "The steam ID of a player",
"schema": {
"type": "string",
"x-parser-schema-id": "steam_id"
}
}
},
"publish": {
"operationId": "ServerPlayerUnbanned",
"message": {
"name": "ServerPlayerUnbanned",
"payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerPlayerUnbanned",
"required": [
"steam_id",
"timestamp"
],
"properties": {
"steam_id": {
"type": "string",
"description": "The player's steamID64 which are unbanned, must be 17 chars long.",
"pattern": "^[0-9]{17}$",
"x-parser-schema-id": "<anonymous-schema-81>"
},
"name": {
"type": "string",
"x-parser-schema-id": "<anonymous-schema-82>"
},
"timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z",
"x-parser-schema-id": "<anonymous-schema-83>"
}
}
},
"x-parser-original-schema-format": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-original-payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerPlayerUnbanned",
"required": [
"steam_id",
"timestamp"
],
"properties": {
"steam_id": {
"type": "string",
"description": "The player's steamID64 which are unbanned, must be 17 chars long.",
"pattern": "^[0-9]{17}$"
},
"name": {
"type": "string"
},
"timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z"
}
}
},
"schemaFormat": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-message-parsed": true
}
}
},
"v0/rust/servers/{server_id}/players/{steam_id}/events/banned": {
"description": "Channel for notifying a server banned a player",
"parameters": {
"server_id": {
"description": "The ID of the server",
"schema": {
"type": "string",
"x-parser-schema-id": "server_id"
}
},
"steam_id": {
"description": "The steam ID of a player",
"schema": {
"type": "string",
"x-parser-schema-id": "steam_id"
}
}
},
"publish": {
"operationId": "ServerPlayerBanned",
"message": {
"name": "ServerPlayerBanned",
"payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerPlayerBanned",
"required": [
"player_name",
"steam_id",
"timestamp"
],
"properties": {
"player_name": {
"type": "string",
"x-parser-schema-id": "<anonymous-schema-84>"
},
"steam_id": {
"type": "string",
"description": "The player's steamID64, must be 17 chars long.",
"pattern": "^[0-9]{17}$",
"x-parser-schema-id": "<anonymous-schema-85>"
},
"reason": {
"type": "string",
"x-parser-schema-id": "<anonymous-schema-86>"
},
"duration": {
"type": "string",
"x-parser-schema-id": "<anonymous-schema-87>"
},
"timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z",
"x-parser-schema-id": "<anonymous-schema-88>"
}
}
},
"x-parser-original-schema-format": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-original-payload": {
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "ServerPlayerBanned",
"required": [
"player_name",
"steam_id",
"timestamp"
],
"properties": {
"player_name": {
"type": "string"
},
"steam_id": {
"type": "string",
"description": "The player's steamID64, must be 17 chars long.",
"pattern": "^[0-9]{17}$"
},
"reason": {
"type": "string"
},
"duration": {
"type": "string"
},
"timestamp": {
"type": "string",
"example": "2016-08-29T09:12:33.001Z"
}
}
},
"schemaFormat": "application/vnd.aai.asyncapi;version=2.2.0",
"x-parser-message-parsed": true
}
}
}
},
"x-parser-spec-parsed": true,
"x-parser-spec-stringified": true
}