When the Force.com/Developer Console is open and checking for updates I can see it polling the server with Ajax POST calls to https://instance.salesforce.com/_ui/common/apex/debug/ApexCSIAPI.
Has anyone examined these requests and the corresponding responses (JSON?) to see if they can pull data or perform actions that aren't otherwise available via the official APIs? I'm interested in any documentation or examples of calling it from code.
One of the important post back parameters is "action".
E.g.
- action: POLL seems to be used for checking for new log messages and is passed with a number of alreadyFetched parameters with Log Ids (key prefix 07L) that have already been loaded.
- action: COMPILE with a bodies parameter containing JSON for the class id (key prefix 01p) and apex body.
I'm aware that if this isn't documented anywhere officially it wouldn't be considered supported and Salesforce would be free to change it as they please and make breaking changes.