These are the HTTP commands that can be sent to the web server inside Combat Manager when the Local Service API is turned on.
Passcode - if a passcode is set in the client, all API calls will require a header named passcode set to the client's passcode value
Current Character ID (added 1.7.7) - on any Get API with {charid} in the URL, you can use "current" to reference the character with the current turn, if there is one. If there is one, the API will fail.
Increase or decrease temporary damage
Hides or unhides a character
Idles or activates character
Add the named condition to a character
{
"ID": "a70f10db-820f-4a7b-9587-0949b0be8d62",
"Name": "Dazed",
"Turns": "3"
}
ID – Character ID
Remote the named condition from a character
{
"ID": "a70f10db-820f-4a7b-9587-0949b0be8d62",
"Name": "Dazed"
}
Get a list of feats by ID
{
ID – ID of the feat in either the library or the DB
"Feats": [
{
"ID": "27",
"Custom": false
},
{
"ID": "61",
"Custom": false
}
]
}
Custom – Is the feat in the Custom DB or the library
Get a single feat
{
ID – ID of the feat in either the library or the DB
"ID": "245",
"Custom": false
}
Custom – Is the feat in the Custom DB or the library
Returns a list of feats matching the parameters
{
"Name" : "Rapid"
"IsCustom" : false
"Type" : "combat"
}
Name (optional) – Case insensitive text, matches if feat name contains text
IsCustom (optional) – Is from the player’s custom DB or from the build in library
Type (optional) – Case insensitive test, type of the feat
Get a list of magic items by ID
{
ID – ID of the magic item in either the library or the DB
"MagicItems": [
{
"ID": "134",
"Custom": false
},
{
"ID": "95",
"Custom": false
}
]
}
Custom – Is the magic in the Custom DB or the library.
Note: There are currently no custom magic items.
Get a single magic item
{
ID – ID of the magic item in either the library or the DB
"ID": "245",
"Custom": false
}
Custom – Is the magic item in the Custom DB or the library Note: Custom magic
items not currently available.
Returns a list of magic items matching the parameters
{
"Name" : "Wonder"
"IsCustom" : false
"MinCL" : 1
"MaxCL" : 8
"Slot" : "none"
"Group" : "Rod"
}
Name (optional) – Case insensitive text, matches if feat name contains text
IsCustom (optional) – Is from the player’s custom DB or from the build in library
MinCL (optional) – Minimum CL of the item
MaxCL (optional) – Maximum CL of the Item
Slot (optional) – Case insensitive text, slot of the item
Group (optional) – Case insensitive text, group of the item
Add existing monsters to combat
{
IsMonster – Add to the monster list or the player list
"IsMonster": true,
"Monsters": [
{
"ID": "245",
"Custom": false
}
]
}
Monsters – List of monsters to add
ID – ID of the monster in either the library or the DB
Custom – Is the monster in the Custom DB or the library
Get a list of monsters by ID
ID – ID of the monster in either the library or the DB
{
"Monsters": [
{
"ID": "245",
"Custom": false
},
{
"ID": "247",
"Custom": false
}
]
}
Custom – Is the monster in the Custom DB or the library
Get a single monster
{
ID – ID of the monster in either the library or the DB
"ID": "245",
"Custom": false
}
Custom – Is the monster in the Custom DB or the library
Returns a list of monsters matching the parameters
{
"Name" : "Kobold"
"IsCustom" : false
"IsNPC" : false
"MinCR" : "1/4"
"Max" : "5"
}
Name (optional) – Case insensitive text, matches if monster name contains text
IsCustom (optional) – Is from the player’s custom DB or from the build in library
IsNPC (optional) – Is from the NPC section of the library or the bestiary section
MinCR (optional) – Minimum CR
MaxCR (optional) – Maximum CR
Get a list of spells by ID
{
ID – ID of the spell in either the library or the DB
"Spells": [
{
"ID": "88",
"Custom": false
},
{
"ID": "120",
"Custom": false
}
]
}
Custom – Is the spell in the Custom DB or the library
Get a single spell
{
ID – ID of the spell in either the library or the DB
"ID": "245",
"Custom": false
}
Custom – Is the spell in the Custom DB or the library
Returns a list of spells matching the parameters
{
"Name" : "Revenge"
"IsCustom" : false
"School" : "illusion"
"Subschool" : "phantasm"
}
Name (optional) – Case insensitive text, matches if spell name contains text
IsCustom (optional) – Is from the player’s custom DB or from the build in library
School (optional) – Case insensitive text, school of the spell
Subschool (optional) – Case insensitive text, subschool of the spell
Combat – Combat Tab
Feats – Feats Tab
Spells – Spells Tab
Monsters – Monster Tab
Rules – Rules Tab
Treasure – Treasure Tab
Magicitems – Magic Items Sub Tab
Treasure Generator – Treasure Generator Sub Tab
Maps – Maps Tab
Close the Combat List window
Sends updates
{
"Name": "State",
"ID": 1,
"Data": {
Combat state here
}
}
Name – Name of the message. Determines type of data being sent
ID – An ID Number for the message
Data – The JSON Data for the message
State – An updated Combat State