Skip to content

Latest commit

 

History

History
40 lines (21 loc) · 586 Bytes

Capitol.pod

File metadata and controls

40 lines (21 loc) · 586 Bytes

Capitol Methods

Capitol is accessible via the URL /capitol.

The list of methods below represents changes and additions to the methods that all Buildings share.

view ( session_id, building_id )

Same as view in Buildings except:

{
   "status" : { ... },
   "rename_empire_cost" : 29,
}

rename_empire ( session_id, building_id, name )

Spend some essentia to rename your empire.

{
   "status" : { ... }
}

session_id

A session id.

building_id

The unique id of the building.

name

The new name of your empire.