926 lines
27 KiB
JSON
926 lines
27 KiB
JSON
{
|
|
"info": {
|
|
"name": "Zombie Invasion API",
|
|
"description": "API endpoints for the Zombie Invasion Dota 2 custom game. Base URL: http://localhost:6100/api\n\nAuth: x-custom-key header from GetDedicatedServerKeyV3(\"zombie_invasion\")\nCheat mode fallback key: menya_ebut_negry_tolpoy",
|
|
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
|
|
"_exporter_id": "manual"
|
|
},
|
|
"auth": {
|
|
"type": "apikey",
|
|
"apikey": [
|
|
{
|
|
"key": "key",
|
|
"value": "menya_ebut_negry_tolpoy",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "value",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "in",
|
|
"value": "header",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"item": [
|
|
{
|
|
"name": "Player",
|
|
"item": [
|
|
{
|
|
"name": "Create Player Profile",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"steam_id\": \"76561198000000001\",\n \"player_name\": \"TestPlayer\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/player",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["player"]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Get Player Profile",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/player/{{steam_id}}",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["player", "{{steam_id}}"]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Get Player Match History",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/player/{{steam_id}}/history?limit=10&offset=0",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["player", "{{steam_id}}", "history"],
|
|
"query": [
|
|
{"key": "limit", "value": "10"},
|
|
{"key": "offset", "value": "0"}
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Get Game Players",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/game/{{game_id}}/players",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["game", "{{game_id}}", "players"]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Redeem Promo Code",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"code\": \"PROMO2024\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/player/{{steam_id}}/promo/redeem",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["player", "{{steam_id}}", "promo", "redeem"]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Get Sounds Wheel",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/player/{{steam_id}}/sounds_wheel",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["player", "{{steam_id}}", "sounds_wheel"]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Purchase Deal",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"deal_key\": \"starter_pack\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/player/{{steam_id}}/deal-purchase",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["player", "{{steam_id}}", "deal-purchase"]
|
|
}
|
|
},
|
|
"response": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Battle Pass",
|
|
"item": [
|
|
{
|
|
"name": "Get Battle Pass Data",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/battlepass/{{steam_id}}",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["battlepass", "{{steam_id}}"]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Get Battle Pass Quests",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/battlepass/{{steam_id}}/quests",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["battlepass", "{{steam_id}}", "quests"]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Sync Quest Progress",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"quest_id\": \"kill_zombies_1\",\n \"progress\": 42\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/battlepass/{{steam_id}}/quests/progress",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["battlepass", "{{steam_id}}", "quests", "progress"]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Claim Quest Reward",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"quest_id\": \"kill_zombies_1\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/battlepass/{{steam_id}}/quests/claim",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["battlepass", "{{steam_id}}", "quests", "claim"]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Record Hero Played",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"hero_name\": \"npc_dota_hero_axe\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/battlepass/{{steam_id}}/hero-played",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["battlepass", "{{steam_id}}", "hero-played"]
|
|
}
|
|
},
|
|
"response": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Payments",
|
|
"item": [
|
|
{
|
|
"name": "Create Robokassa Payment Link",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"steam_id\": \"{{steam_id}}\",\n \"amount_rub\": 100\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/payments/robokassa/link",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["payments", "robokassa", "link"]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Create Bundle Payment Link",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"steam_id\": \"{{steam_id}}\",\n \"bundle_id\": \"starter_bundle\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/payments/bundles/link",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["payments", "bundles", "link"]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Get Deals Catalog",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/payments/deals?steam_id={{steam_id}}",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["payments", "deals"],
|
|
"query": [
|
|
{"key": "steam_id", "value": "{{steam_id}}"}
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Cards",
|
|
"item": [
|
|
{
|
|
"name": "Get Card Levels",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/player/{{steam_id}}/card-levels",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["player", "{{steam_id}}", "card-levels"]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Update Card Levels",
|
|
"request": {
|
|
"method": "PUT",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"card_levels\": {\n \"1\": 3,\n \"2\": 1\n }\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/player/{{steam_id}}/card-levels",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["player", "{{steam_id}}", "card-levels"]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Get All Decks",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/player/{{steam_id}}/decks",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["player", "{{steam_id}}", "decks"]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Get Deck by Index",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/player/{{steam_id}}/decks/0",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["player", "{{steam_id}}", "decks", "0"]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Save Deck",
|
|
"request": {
|
|
"method": "PUT",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"name\": \"My Deck\",\n \"cards\": [1, 2, 3, 4, 5]\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/player/{{steam_id}}/decks/0",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["player", "{{steam_id}}", "decks", "0"]
|
|
}
|
|
},
|
|
"response": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Equipment",
|
|
"item": [
|
|
{
|
|
"name": "Get Equipment State",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/player/{{steam_id}}/equipment",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["player", "{{steam_id}}", "equipment"]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Save Equipment State",
|
|
"request": {
|
|
"method": "PUT",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"equipment\": {\n \"weapon\": \"sword_t1\",\n \"armor\": \"plate_t2\"\n }\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/player/{{steam_id}}/equipment",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["player", "{{steam_id}}", "equipment"]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Post Equipment Drop",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"item\": {\n \"name\": \"helmet_t3\",\n \"rarity\": \"epic\"\n }\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/player/{{steam_id}}/equipment/drop",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["player", "{{steam_id}}", "equipment", "drop"]
|
|
}
|
|
},
|
|
"response": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Arsenal",
|
|
"item": [
|
|
{
|
|
"name": "Get Arsenal Loadouts",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/player/{{steam_id}}/arsenal_loadouts",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["player", "{{steam_id}}", "arsenal_loadouts"]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Save Arsenal Loadouts",
|
|
"request": {
|
|
"method": "PUT",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"arsenal_loadouts\": {\n \"npc_dota_hero_axe\": {\n \"weapon\": \"ars_abc123\",\n \"armor\": \"ars_def456\"\n }\n }\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/player/{{steam_id}}/arsenal_loadouts",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["player", "{{steam_id}}", "arsenal_loadouts"]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Get Arsenal Inventory",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/player/{{steam_id}}/arsenal_inventory",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["player", "{{steam_id}}", "arsenal_inventory"]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Save Arsenal Inventory",
|
|
"request": {
|
|
"method": "PUT",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"arsenal_inventory\": {\n \"instances\": {\n \"ars_abc123\": {\n \"instanceId\": \"ars_abc123\",\n \"itemName\": \"sword_of_doom\",\n \"quality\": \"legendary\",\n \"upgradeLevel\": 3,\n \"serial\": 42,\n \"globalSerial\": 999,\n \"ownerName\": \"TestPlayer\",\n \"pinned\": true,\n \"favorite\": false,\n \"stats\": []\n }\n }\n }\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/player/{{steam_id}}/arsenal_inventory",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["player", "{{steam_id}}", "arsenal_inventory"]
|
|
}
|
|
},
|
|
"response": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Arsenal Marketplace",
|
|
"item": [
|
|
{
|
|
"name": "Get Public Listings",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/arsenal_market/listings?stats=bonus_damage,attack_speed",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["arsenal_market", "listings"],
|
|
"query": [
|
|
{"key": "stats", "value": "bonus_damage,attack_speed", "disabled": true}
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Get My Listings",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/player/{{steam_id}}/arsenal_market/my_listings",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["player", "{{steam_id}}", "arsenal_market", "my_listings"]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Get Market Slots",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/player/{{steam_id}}/arsenal_market/slots",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["player", "{{steam_id}}", "arsenal_market", "slots"]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Get Sales History",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/player/{{steam_id}}/arsenal_market/sales",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["player", "{{steam_id}}", "arsenal_market", "sales"]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Create Listing",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"instance_id\": \"ars_abc123\",\n \"instanceId\": \"ars_abc123\",\n \"item_instance_id\": \"ars_abc123\",\n \"itemInstanceId\": \"ars_abc123\",\n \"serial\": 42,\n \"global_serial\": 999,\n \"globalSerial\": 999,\n \"item_name\": \"sword_of_doom\",\n \"itemName\": \"sword_of_doom\",\n \"quality\": \"legendary\",\n \"upgrade_level\": 3,\n \"upgradeLevel\": 3,\n \"price_free\": 5000,\n \"priceFree\": 5000,\n \"request_id\": \"market_create_001\",\n \"requestId\": \"market_create_alt_001\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/player/{{steam_id}}/arsenal_market/create",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["player", "{{steam_id}}", "arsenal_market", "create"]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Buy Listing",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"listing_id\": \"list_xyz789\",\n \"request_id\": \"market_buy_001\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/player/{{steam_id}}/arsenal_market/buy",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["player", "{{steam_id}}", "arsenal_market", "buy"]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Cancel Listing",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"listing_id\": \"list_xyz789\",\n \"request_id\": \"market_cancel_001\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/player/{{steam_id}}/arsenal_market/cancel",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["player", "{{steam_id}}", "arsenal_market", "cancel"]
|
|
}
|
|
},
|
|
"response": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Death Sentence Contracts",
|
|
"item": [
|
|
{
|
|
"name": "Get Contracts",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/player/{{steam_id}}/death_sentence_contracts",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["player", "{{steam_id}}", "death_sentence_contracts"]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Save Contracts",
|
|
"request": {
|
|
"method": "PUT",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "{{x-custom-key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"death_sentence_contracts\": {\n \"roster\": [\n {\n \"instanceId\": \"dsc_abc123\",\n \"serial\": 1,\n \"titleIndex\": 0,\n \"rarity\": \"epic\",\n \"rewardMultiplier\": 2.5,\n \"traitId\": \"none\",\n \"complicationIds\": [\"comp_fire\", \"comp_poison\"],\n \"durability\": 3,\n \"durabilityMax\": 3,\n \"pinned\": false,\n \"favorite\": true\n }\n ]\n }\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/player/{{steam_id}}/death_sentence_contracts",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["player", "{{steam_id}}", "death_sentence_contracts"]
|
|
}
|
|
},
|
|
"response": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"variable": [
|
|
{
|
|
"key": "base_url",
|
|
"value": "http://localhost:6100/api",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "x-custom-key",
|
|
"value": "localhost",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "steam_id",
|
|
"value": "76561198000000001",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "game_id",
|
|
"value": "12345",
|
|
"type": "string"
|
|
}
|
|
]
|
|
}
|