diff-openapi
16 removals
Words removed | 64 |
Total words | 1721 |
Words removed (%) | 3.72 |
971 lines
21 additions
Words added | 22 |
Total words | 1679 |
Words added (%) | 1.31 |
974 lines
{
{
"openapi": "3.0.0",
"openapi": "3.0.0",
"paths": {
"paths": {
"/v1/health/services": {
"/v1/health/services": {
"get": {
"get": {
"operationId": "check",
"operationId": "check",
"parameters": [],
"parameters": [],
"responses": {
"responses": {
"200": {
"200": {
"description": "The Health Check is successful",
"description": "The Health Check is successful",
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"type": "object",
"type": "object",
"properties": {
"properties": {
"status": {
"status": {
"type": "string",
"type": "string",
"example": "ok"
"example": "ok"
},
},
"info": {
"info": {
"type": "object",
"type": "object",
"example": {
"example": {
"database": {
"database": {
"status": "up"
"status": "up"
}
}
},
},
"additionalProperties": {
"additionalProperties": {
"type": "object",
"type": "object",
"required": [
"required": [
"status"
"status"
],
],
"properties": {
"properties": {
"status": {
"status": {
"type": "string"
"type": "string"
}
}
},
},
"additionalProperties": true
"additionalProperties": true
},
},
"nullable": true
"nullable": true
},
},
"error": {
"error": {
"type": "object",
"type": "object",
"example": {},
"example": {},
"additionalProperties": {
"additionalProperties": {
"type": "object",
"type": "object",
"required": [
"required": [
"status"
"status"
],
],
"properties": {
"properties": {
"status": {
"status": {
"type": "string"
"type": "string"
}
}
},
},
"additionalProperties": true
"additionalProperties": true
},
},
"nullable": true
"nullable": true
},
},
"details": {
"details": {
"type": "object",
"type": "object",
"example": {
"example": {
"database": {
"database": {
"status": "up"
"status": "up"
}
}
},
},
"additionalProperties": {
"additionalProperties": {
"type": "object",
"type": "object",
"required": [
"required": [
"status"
"status"
],
],
"properties": {
"properties": {
"status": {
"status": {
"type": "string"
"type": "string"
}
}
},
},
"additionalProperties": true
"additionalProperties": true
}
}
}
}
}
}
}
}
}
}
}
}
},
},
"503": {
"503": {
"description": "The Health Check is not successful",
"description": "The Health Check is not successful",
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"type": "object",
"type": "object",
"properties": {
"properties": {
"status": {
"status": {
"type": "string",
"type": "string",
"example": "error"
"example": "error"
},
},
"info": {
"info": {
"type": "object",
"type": "object",
"example": {
"example": {
"database": {
"database": {
"status": "up"
"status": "up"
}
}
},
},
"additionalProperties": {
"additionalProperties": {
"type": "object",
"type": "object",
"required": [
"required": [
"status"
"status"
],
],
"properties": {
"properties": {
"status": {
"status": {
"type": "string"
"type": "string"
}
}
},
},
"additionalProperties": true
"additionalProperties": true
},
},
"nullable": true
"nullable": true
},
},
"error": {
"error": {
"type": "object",
"type": "object",
"example": {
"example": {
"redis": {
"redis": {
"status": "down",
"status": "down",
"message": "Could not connect"
"message": "Could not connect"
}
}
},
},
"additionalProperties": {
"additionalProperties": {
"type": "object",
"type": "object",
"required": [
"required": [
"status"
"status"
],
],
"properties": {
"properties": {
"status": {
"status": {
"type": "string"
"type": "string"
}
}
},
},
"additionalProperties": true
"additionalProperties": true
},
},
"nullable": true
"nullable": true
},
},
"details": {
"details": {
"type": "object",
"type": "object",
"example": {
"example": {
"database": {
"database": {
"status": "up"
"status": "up"
},
},
"redis": {
"redis": {
"status": "down",
"status": "down",
"message": "Could not connect"
"message": "Could not connect"
}
}
},
},
"additionalProperties": {
"additionalProperties": {
"type": "object",
"type": "object",
"required": [
"required": [
"status"
"status"
],
],
"properties": {
"properties": {
"status": {
"status": {
"type": "string"
"type": "string"
}
}
},
},
"additionalProperties": true
"additionalProperties": true
}
}
}
}
}
}
}
}
}
}
}
}
}
}
},
},
"tags": [
"tags": [
"Health"
"Health"
]
]
}
}
},
},
"/v1/player/assets/users/{entityId}": {
"/v1/player/assets/users/{entityId}": {
"post": {
"post": {
"operationId": "getUserAssetsForGamePost",
"operationId": "getUserAssetsForGamePost",
"summary": "Get all the assets of a profile (NFT assets, e.g. ERC721 / ERC1155)",
"summary": "Get all the assets of a profile (NFT assets, e.g. ERC721 / ERC1155)",
"parameters": [
"parameters": [
{
{
"name": "entityId",
"name": "entityId",
"required": true,
"required": true,
"in": "path",
"in": "path",
"schema": {
"schema": {
"type": "string"
"type": "string"
}
}
}
}
],
],
"requestBody": {
"requestBody": {
"required": true,
"required": true,
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/GetAssetsForUserBodyInput"
"$ref": "#/components/schemas/GetAssetsForUserBodyInput"
}
}
}
}
}
}
},
},
"responses": {
"responses": {
"200": {
"200": {
"description": "",
"description": "",
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/GetAssetsForUserResponse"
"$ref": "#/components/schemas/GetAssetsForUserResponse"
}
}
}
}
}
}
}
}
},
},
"tags": [
"tags": [
"Assets"
"Assets"
],
],
"security": [
"security": [
{
{
"Beam API game key": []
"beam-api-key": []
}
}
]
]
}
}
},
},
"/v1/player/assets/users/{entityId}/currencies": {
"/v1/player/assets/users/{entityId}/currencies": {
"get": {
"get": {
"operationId": "getUserCurrencies",
"operationId": "getUserCurrencies",
"summary": "Get all the currencies owned by an account (ERC20)",
"summary": "Get all the currencies owned by an account (ERC20)",
"parameters": [
"parameters": [
{
{
"name": "entityId",
"name": "entityId",
"required": true,
"required": true,
"in": "path",
"in": "path",
"schema": {
"schema": {
"type": "string"
"type": "string"
}
}
},
},
{
{
"name": "chainId",
"name": "chainId",
"required": false,
"required": false,
"in": "query",
"in": "query",
"schema": {
"schema": {
"type": "number"
"type": "number"
}
}
}
}
],
],
"responses": {
"responses": {
"200": {
"200": {
"description": "",
"description": "",
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/GetUserCurrenciesResponse"
"$ref": "#/components/schemas/GetUserCurrenciesResponse"
}
}
}
}
}
}
}
}
},
},
"tags": [
"tags": [
"Assets"
"Assets"
],
],
"security": [
"security": [
{
{
"Beam API game key": []
"beam-api-key": []
}
}
]
]
}
}
},
},
"/v1/player/assets/users/{entityId}/native": {
"/v1/player/assets/users/{entityId}/native": {
"get": {
"get": {
"operationId": "getUserNativeCurrency",
"operationId": "getUserNativeCurrency",
"summary": "Get the native token balance",
"summary": "Get the native token balance",
"parameters": [
"parameters": [
{
{
"name": "entityId",
"name": "entityId",
"required": true,
"required": true,
"in": "path",
"in": "path",
"schema": {
"schema": {
"type": "string"
"type": "string"
}
}
},
},
{
{
"name": "chainId",
"name": "chainId",
"required": false,
"required": false,
"in": "query",
"in": "query",
"schema": {
"schema": {
"type": "number"
"type": "number"
}
}
}
}
],
],
"responses": {
"responses": {
"200": {
"200": {
"description": "",
"description": "",
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/GetUserNativeCurrencyResponse"
"$ref": "#/components/schemas/GetUserNativeCurrencyResponse"
}
}
}
}
}
}
}
}
},
},
"tags": [
"tags": [
"Assets"
"Assets"
],
],
"security": [
"security": [
{
{
"Beam API game key": []
"beam-api-key": []
}
}
]
]
}
}
},
},
"/v1/player/assets/users/{entityId}/transfer-asset": {
"/v1/player/assets/users/{entityId}/transfer-asset": {
"post": {
"post": {
"operationId": "TransferAsset",
"operationId": "TransferAsset",
"summary": "Transfer an asset (NFT assets, ERC721 / ERC1155)",
"summary": "Transfer an asset (NFT assets, ERC721 / ERC1155)",
"parameters": [
"parameters": [
{
{
"name": "entityId",
"name": "entityId",
"required": true,
"required": true,
"in": "path",
"in": "path",
"schema": {
"schema": {
"type": "string"
"type": "string"
}
}
}
}
],
],
"requestBody": {
"requestBody": {
"required": true,
"required": true,
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/TransferAssetRequestInput"
"$ref": "#/components/schemas/TransferAssetRequestInput"
}
}
}
}
}
}
},
},
"responses": {
"responses": {
"201": {
"201": {
"description": "",
"description": "",
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/CommonOperationResponse"
"$ref": "#/components/schemas/CommonOperationResponse"
}
}
}
}
}
}
}
}
},
},
"tags": [
"tags": [
"Assets"
"Assets"
],
],
"security": [
"security": [
{
{
"Beam API game key": []
"beam-api-key": []
}
}
]
]
}
}
},
},
"/v1/player/assets/users/{entityId}/transfer-token": {
"/v1/player/assets/users/{entityId}/transfer-token": {
"post": {
"post": {
"operationId": "TransferToken",
"operationId": "TransferToken",
"summary": "Transfer a token (token assets, ERC20)",
"summary": "Transfer a token (token assets, ERC20)",
"parameters": [
"parameters": [
{
{
"name": "entityId",
"name": "entityId",
"required": true,
"required": true,
"in": "path",
"in": "path",
"schema": {
"schema": {
"type": "string"
"type": "string"
}
}
}
}
],
],
"requestBody": {
"requestBody": {
"required": true,
"required": true,
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/TransferTokenRequestInput"
"$ref": "#/components/schemas/TransferTokenRequestInput"
}
}
}
}
}
}
},
},
"responses": {
"responses": {
"201": {
"201": {
"description": "",
"description": "",
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/CommonOperationResponse"
"$ref": "#/components/schemas/CommonOperationResponse"
}
}
}
}
}
}
}
}
},
},
"tags": [
"tags": [
"Assets"
"Assets"
],
],
"security": [
"security": [
{
{
"Beam API game key": []
"beam-api-key": []
}
}
]
]
}
}
},
},
"/v1/player/assets/users/{entityId}/transfer-native": {
"/v1/player/assets/users/{entityId}/transfer-native": {
"post": {
"post": {
"operationId": "TransferNativeToken",
"operationId": "TransferNativeToken",
"summary": "Transfer the native token",
"summary": "Transfer the native token",
"parameters": [
"parameters": [
{
{
"name": "entityId",
"name": "entityId",
"required": true,
"required": true,
"in": "path",
"in": "path",
"schema": {
"schema": {
"type": "string"
"type": "string"
}
}
}
}
],
],
"requestBody": {
"requestBody": {
"required": true,
"required": true,
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/TransferNativeTokenRequestInput"
"$ref": "#/components/schemas/TransferNativeTokenRequestInput"
}
}
}
}
}
}
},
},
"responses": {
"responses": {
"201": {
"201": {
"description": "",
"description": "",
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/CommonOperationResponse"
"$ref": "#/components/schemas/CommonOperationResponse"
}
}
}
}
}
}
}
}
},
},
"tags": [
"tags": [
"Assets"
"Assets"
],
],
"security": [
"security": [
{
{
"Beam API game key": []
"beam-api-key": []
}
}
]
]
}
}
},
},
"/v1/player/assets/{assetAddress}": {
"/v1/player/assets/{assetAddress}": {
"post": {
"post": {
"operationId": "getContractAssetsPost",
"operationId": "getContractAssetsPost",
"summary": "Get all the assets of contract (NFT assets, e.g. ERC721 / ERC1155)",
"summary": "Get all the assets of contract (NFT assets, e.g. ERC721 / ERC1155)",
"parameters": [
"parameters": [
{
{
"name": "assetAddress",
"name": "assetAddress",
"required": true,
"required": true,
"in": "path",
"in": "path",
"schema": {
"schema": {
"type": "string"
"type": "string"
}
}
}
}
],
],
"requestBody": {
"requestBody": {
"required": true,
"required": true,
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/GetAssetsForContractBodyInput"
"$ref": "#/components/schemas/GetAssetsForContractBodyInput"
}
}
}
}
}
}
},
},
"responses": {
"responses": {
"200": {
"200": {
"description": "",
"description": "",
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/GetAssetsForContractResponse"
"$ref": "#/components/schemas/GetAssetsForContractResponse"
}
}
}
}
}
}
}
}
},
},
"tags": [
"tags": [
"Assets"
"Assets"
],
],
"security": [
"security": [
{
{
"Beam API game key": []
"beam-api-key": []
}
}
]
]
}
}
},
},
"/v1/player/assets/{assetAddress}/{assetId}": {
"/v1/player/assets/{assetAddress}/{assetId}": {
"get": {
"get": {
"operationId": "getAsset",
"operationId": "getAsset",
"summary": "Get a single NFT (e.g. ERC721 / ERC1155)",
"summary": "Get a single NFT (e.g. ERC721 / ERC1155)",
"parameters": [
"parameters": [
{
{
"name": "chainId",
"name": "chainId",
"required": false,
"required": false,
"in": "query",
"in": "query",
"schema": {
"schema": {
"type": "number"
"type": "number"
}
}
},
},
{
{
"name": "assetAddress",
"name": "assetAddress",
"required": true,
"required": true,
"in": "path",
"in": "path",
"schema": {
"schema": {
"type": "string"
"type": "string"
}
}
},
},
{
{
"name": "assetId",
"name": "assetId",
"required": true,
"required": true,
"in": "path",
"in": "path",
"schema": {
"schema": {
"type": "string"
"type": "string"
}
}
},
},
{
{
"name": "entityId",
"name": "entityId",
"required": false,
"required": false,
"in": "query",
"in": "query",
"schema": {
"schema": {
"type": "string"
"type": "string"
}
}
},
},
{
{
"name": "owners",
"name": "owners",
"required": false,
"required": false,
"in": "query",
"in": "query",
"description": "If true, will return owners of the token",
"description": "If true, will return owners of the token",
"schema": {
"schema": {
"type": "boolean"
"type": "boolean"
}
}
}
}
],
],
"responses": {
"responses": {
"200": {
"200": {
"description": "",
"description": "",
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/GetAssetResponse"
"$ref": "#/components/schemas/GetAssetResponse"
}
}
}
}
}
}
}
}
},
},
"tags": [
"tags": [
"Assets"
"Assets"
],
],
"security": [
"security": [
{
{
"Beam API game key": []
"beam-api-key": []
}
}
]
]
}
}
},
},
"/v1/player/marketplace": {
"/v1/player/marketplace": {
"post": {
"post": {
"operationId": "getListedAssets",
"operationId": "getListedAssets",
"summary": "Get all listed assets for a game (NFT assets, e.g. ERC721 / ERC1155)",
"summary": "Get all listed assets for a game (NFT assets, e.g. ERC721 / ERC1155)",
"parameters": [],
"parameters": [],
"requestBody": {
"requestBody": {
"required": true,
"required": true,
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/GetListedAssetsBodyInput"
"$ref": "#/components/schemas/GetListedAssetsBodyInput"
}
}
}
}
}
}
},
},
"responses": {
"responses": {
"200": {
"200": {
"description": "",
"description": "",
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/GetAssetListingsResponse"
"$ref": "#/components/schemas/GetAssetListingsResponse"
}
}
}
}
}
}
}
}
},
},
"tags": [
"tags": [
"Marketplace"
"Marketplace"
],
],
"security": [
"security": [
{
{
"Beam API game key": []
"beam-api-key": []
}
}
]
]
}
}
},
},
"/v1/player/marketplace/users/{entityId}": {
"/v1/player/marketplace/users/{entityId}": {
"post": {
"post": {
"operationId": "getListedAssetsForUser",
"operationId": "getListedAssetsForUser",
"summary": "Get all the assets listed by a profile (NFT assets, e.g. ERC721 / ERC1155)",
"summary": "Get all the assets listed by a profile (NFT assets, e.g. ERC721 / ERC1155)",
"parameters": [
"parameters": [
{
{
"name": "entityId",
"name": "entityId",
"required": true,
"required": true,
"in": "path",
"in": "path",
"schema": {
"schema": {
"type": "string"
"type": "string"
}
}
}
}
],
],
"requestBody": {
"requestBody": {
"required": true,
"required": true,
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/GetListedAssetsBodyInput"
"$ref": "#/components/schemas/GetListedAssetsBodyInput"
}
}
}
}
}
}
},
},
"responses": {
"responses": {
"200": {
"200": {
"description": "",
"description": "",
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/GetAssetListingsResponse"
"$ref": "#/components/schemas/GetAssetListingsResponse"
}
}
}
}
}
}
}
}
},
},
"tags": [
"tags": [
"Marketplace"
"Marketplace"
],
],
"security": [
"security": [
{
{
"Beam API game key": []
"beam-api-key": []
}
}
]
]
}
}
},
},
"/v1/player/marketplace/users/{entityId}/listing": {
"/v1/player/marketplace/users/{entityId}/listing": {
"post": {
"post": {
"operationId": "listAsset",
"operationId": "listAsset",
"summary": "List an asset for sale",
"summary": "List an asset for sale",
"parameters": [
"parameters": [
{
{
"name": "entityId",
"name": "entityId",
"required": true,
"required": true,
"in": "path",
"in": "path",
"schema": {
"schema": {
"type": "string"
"type": "string"
}
}
}
}
],
],
"requestBody": {
"requestBody": {
"required": true,
"required": true,
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/SellAssetRequestInput"
"$ref": "#/components/schemas/SellAssetRequestInput"
}
}
}
}
}
}
},
},
"responses": {
"responses": {
"201": {
"201": {
"description": "",
"description": "",
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/CommonOperationResponse"
"$ref": "#/components/schemas/CommonOperationResponse"
}
}
}
}
}
}
}
}
},
},
"tags": [
"tags": [
"Marketplace"
"Marketplace"
],
],
"security": [
"security": [
{
{
"Beam API game key": []
"beam-api-key": []
}
}
]
]
}
}
},
},
"/v1/player/marketplace/users/{entityId}/listing/{orderId}": {
"/v1/player/marketplace/users/{entityId}/listing/{orderId}": {
"post": {
"post": {
"operationId": "buyListedAsset",
"operationId": "buyListedAsset",
"summary": "Buy listed asset",
"summary": "Buy listed asset",
"parameters": [
"parameters": [
{
{
"name": "entityId",
"name": "entityId",
"required": true,
"required": true,
"in": "path",
"in": "path",
"schema": {
"schema": {
"type": "string"
"type": "string"
}
}
},
},
{
{
"name": "orderId",
"name": "orderId",
"required": true,
"required": true,
"in": "path",
"in": "path",
"schema": {
"schema": {
"type": "string"
"type": "string"
}
}
}
}
],
],
"requestBody": {
"requestBody": {
"required": true,
"required": true,
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/BuyAssetRequestInput"
"$ref": "#/components/schemas/BuyAssetRequestInput"
}
}
}
}
}
}
},
},
"responses": {
"responses": {
"200": {
"200": {
"description": "",
"description": "",
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/CommonOperationResponse"
"$ref": "#/components/schemas/CommonOperationResponse"
}
}
}
}
}
}
}
}
},
},
"tags": [
"tags": [
"Marketplace"
"Marketplace"
],
],
"security": [
"security": [
{
{
"Beam API game key": []
"beam-api-key": []
}
}
]
]
},
},
"delete": {
"delete": {
"operationId": "cancelListing",
"operationId": "cancelListing",
"summary": "Cancel asset listing",
"summary": "Cancel asset listing",
"parameters": [
"parameters": [
{
{
"name": "chainId",
"name": "chainId",
"required": false,
"required": false,
"in": "query",
"in": "query",
"schema": {
"schema": {
"type": "number"
"type": "number"
}
}
},
},
{
{
"name": "entityId",
"name": "entityId",
"required": true,
"required": true,
"in": "path",
"in": "path",
"schema": {
"schema": {
"type": "string"
"type": "string"
}
}
},
},
{
{
"name": "orderId",
"name": "orderId",
"required": true,
"required": true,
"in": "path",
"in": "path",
"schema": {
"schema": {
"type": "string"
"type": "string"
}
}
}
}
],
],
"requestBody": {
"requestBody": {
"required": true,
"required": true,
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/CancelAssetListingRequestInput"
"$ref": "#/components/schemas/CancelAssetListingRequestInput"
}
}
}
}
}
}
},
},
"responses": {
"responses": {
"200": {
"200": {
"description": "",
"description": "",
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/CommonOperationResponse"
"$ref": "#/components/schemas/CommonOperationResponse"
}
}
}
}
}
}
}
}
},
},
"tags": [
"tags": [
"Marketplace"
"Marketplace"
],
],
"security": [
"security": [
{
{
"Beam API game key": []
"beam-api-key": []
}
}
]
]
}
}
},
},
"/v1/player/marketplace/users/{entityId}/offers": {
"/v1/player/marketplace/users/{entityId}/offers": {
"post": {
"post": {
"operationId": "createAssetOffer",
"operationId": "createAssetOffer",
"summary": "Make an offer for an asset",
"summary": "Make an offer for an asset",
"parameters": [
"parameters": [
{
{
"name": "entityId",
"name": "entityId",
"required": true,
"required": true,
"in": "path",
"in": "path",
"schema": {
"schema": {
"type": "string"
"type": "string"
}
}
}
}
],
],
"requestBody": {
"requestBody": {
"required": true,
"required": true,
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/CreateAssetOfferRequestInput"
"$ref": "#/components/schemas/CreateAssetOfferRequestInput"
}
}
}
}
}
}
},
},
"responses": {
"responses": {
"201": {
"201": {
"description": "",
"description": "",
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/CommonOperationResponse"
"$ref": "#/components/schemas/CommonOperationResponse"
}
}
}
}
}
}
}
}
},
},
"tags": [
"tags": [
"Marketplace"
"Marketplace"
],
],
"security": [
"security": [
{
{
"Beam API game key": []
"beam-api-key": []
}
}
]
]
},
},
"get": {
"get": {
"operationId": "getUserOffers",
"operationId": "getUserOffers",
"summary": "Get all offers that a user created",
"summary": "Get all offers that a user created",
"parameters": [
"parameters": [
{
{
"name": "chainId",
"name": "chainId",
"required": false,
"required": false,
"in": "query",
"in": "query",
"schema": {
"schema": {
"type": "number"
"type": "number"
}
}
},
},
{
{
"name": "entityId",
"name": "entityId",
"required": true,
"required": true,
"in": "path",
"in": "path",
"schema": {
"schema": {
"type": "string"
"type": "string"
}
}
},
},
{
{
"name": "continuation",
"name": "continuation",
"required": false,
"required": false,
"in": "query",
"in": "query",
"schema": {
"schema": {
"type": "string"
"type": "string"
}
}
}
}
],
],
"responses": {
"responses": {
"200": {
"200": {
"description": "",
"description": "",
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/GetAssetListingsResponse"
"$ref": "#/components/schemas/GetAssetListingsResponse"
}
}
}
}
}
}
}
}
},
},
"tags": [
"tags": [
"Marketplace"
"Marketplace"
],
],
"security": [
"security": [
{
{
"Beam API game key": []
"beam-api-key": []
}
}
]
]
}
}
},
},
"/v1/player/marketplace/users/{entityId}/offers/asset/{assetAddress}/{assetId}": {
"/v1/player/marketplace/users/{entityId}/offers/asset/{assetAddress}/{assetId}": {
"get": {
"get": {
"operationId": "getUserAssetOffers",
"operationId": "getUserAssetOffers",
"summary": "Get all asset offers that a user created for a specific asset",
"summary": "Get all asset offers that a user created for a specific asset",
"parameters": [
"parameters": [
{
{
"name": "entityId",
"name": "entityId",
"required": true,
"required": true,
"in": "path",
"in": "path",
"schema": {
"schema": {
"type": "string"
"type": "string"
}
}
},
},
{
{
"name": "assetAddress",
"name": "assetAddress",
"required": true,
"required": true,
"in": "path",
"in": "path",
"schema": {
"schema": {
"type": "string"
"type": "string"
}
}
},
},
{
{
"name": "assetId",
"name": "assetId",
"required": true,
"required": true,
"in": "path",
"in": "path",
"schema": {
"schema": {
"type": "string"
"type": "string"
}
}
},
},
{
{
"name": "chainId",
"name": "chainId",
"required": false,
"required": false,
"in": "query",
"in": "query",
"schema": {
"schema": {
"type": "number"
"type": "number"
}
}
},
},
{
{
"name": "continuation",
"name": "continuation",
"required": false,
"required": false,
"in": "query",
"in": "query",
"schema": {
"schema": {
"type": "string"
"type": "string"
}
}
}
}
],
],
"responses": {
"responses": {
"200": {
"200": {
"description": "",
"description": "",
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/GetAssetListingsResponse"
"$ref": "#/components/schemas/GetAssetListingsResponse"
}
}
}
}
}
}
}
}
},
},
"tags": [
"tags": [
"Marketplace"
"Marketplace"
],
],
"security": [
"security": [
{
{
"Beam API game key": []
"beam-api-key": []
}
}
]
]
}
}
},
},
"/v1/player/marketplace/users/{entityId}/offers/{offerId}/accept": {
"/v1/player/marketplace/users/{entityId}/offers/{offerId}/accept": {
"post": {
"post": {
"operationId": "acceptAssetOffer",
"operationId": "acceptAssetOffer",
"summary": "Accept an offer for an asset",
"summary": "Accept an offer for an asset",
"parameters": [
"parameters": [
{
"name": "entityId",
"required": true,
"i