Expand JSON API

Registered by aj00200

The Anon+ API needs to be expanded to include a way to request information from the network and to reduce polling to requesting information from a queue as needed. Polling should be avoided if at all possible (which it may be inside the XMLRPC specs, but probably isn't inside of the Python implementation).

Blueprint information

Status:
Complete
Approver:
Vomun Developers
Priority:
Undefined
Drafter:
Vomun Developers
Direction:
Approved
Assignee:
Vomun Developers
Definition:
Approved
Series goal:
Accepted for 0.0.0
Implementation:
Implemented
Milestone target:
milestone icon build-5
Started by
aj00200
Completed by
aj00200

Sprints

Whiteboard

Data in the network will eventually be stored in some kind of block. I think the API should look something like this:

api.register('Application name', 'Application ID') # This creates a queue for our application and registers it in the UI as active
api.request('blockID') # Request data in a block
api.request('blockID2')
api.get_queue() # Returns a list of block objects

We could also do stuff like:
api.insert_block('contents') # Insert contents for network storage. A block ID is generated based on the hash of the contents.
api.route_to('KeyFingerprint', 'contents') # contents will be routed to the owner of the key

-----

The API is no longer an XMLRPC API, we have switched to JSON.
Pharno is currently handling this but isn't part of the Vomun Developers team. He can be marked as this being assigned to him when he verifies his account.

-------------------
This blueprint has been implemented. The API is functional but code which the API depends on is not. I will add those as dependencies because they block functioning of the API.

--Aj00200

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.