Here's a REST api spec that qz and I discussed earlier this week:
EE API
# COUNTRY ADMIN
GET /countries - get list of countries (UUID/API_ID, name, server, etc)
GET /country - get specific country information (UUID/API_ID, name, server, etc)
POST /country - create new country
DELETE /country - delete country
PUT /country - Update country information
# COUNTRY MANAGEMENT
GET /country_info - returns country information data
GET /government - returns current government
PUT /government - sets government
GET /industry - returns current industry %s
PUT /industry - sets industry percents
GET /taxrate - returns current tax rate (%)
PUT /taxrate - sets tax rate
GET /gdi - return whether the country is in GDI & join/leave time constraints
PUT /gdi - join or leave GDI
# ECONOMIC
GET /market/private/buy - returns information about private market volume + price
POST /market/private/buy - buys items from private market
GET /market/private/sell - returns information about private market sell price + number of items owned
POST /market/private/sell - sells items on the private market
GET /build - returns number of each building type, vacant land, but and building cost
POST /build - builds buildings
DELETE /build - destroy buildings
GET /cash - returns additional revenue per turn information
POST /cash - cashes turns
GET /explore - returns current acreage, current acreage unbuilt, expected per-turn explore rate, bpt
POST /explore - explores turns
GET /market/public/buy - returns price, volume, asking price, and max-buy for each item
POST /market/public/buy- attempts to buy items from the market
GET /market/public/sell - returns price, volume, asking price, and max-buy for each item
POST /market/public/sell- attempts to sell items on the market
GET /market/tech/buy - returns price, volume, asking price, and max-buy for each tech
POST /market/tech/buy - attempts to buy tech from the market
GET /market/tech/sell - returns price, volume, asking price, and max-buy for each tech on the market
POST /market/tech/sell - attempts to sell tech on the market
GET /market/standing_orders, alias /market/so - returns a list of current standing orders
POST /market/standing_orders, alias /market/so - creates a standing order
DELETE /market/standing_orders, alias /market/so - deletes one or more standing orders
GET /research - returns information about tech levels, tpt, max techable points
POST /research - create research
# WAR
GET /military - returns list of current troops, number of generals available, brigade status information and max oil support
GET /warroom - returns military status, troop counts, oil usage, planned strike cool down time
POST /warroom - launch an attack
GET /spy - return information on spy effectiveness, number of operations available, list of operations available
POST /spy - run a spy op
GET /previous_spyops - return a list of spy’s previously performed (i.e., country/military/market ops)
GET /previous_spyop - return specific spy information
# ALLIES
GET /relations - returns a list of current relations and statuses
POST /relations - send a request for a pact
PUT /relations - accept or decline a pact
DELETE /relations - cancel a pact
GET /foriegn_aid - returns information about what you can send and how often
POST /foreign_aid - send a foreign aid package
GET /clan - return the country’s current clan information
POST /clan - join a clan
DELETE /clan - leave a clan
PUT /clan - make changes to a clan (admin)
GET /clans - list of clans + members + nw