cfedermann / mt-serverland

Open Server Architecture for Machine Translation
http://www.dfki.de/~cfedermann
11 stars 6 forks source link

[API] Add "protobuf" output format #3

Closed cfedermann closed 14 years ago

cfedermann commented 14 years ago

Add output in base64-encoded, serialized protobuf format.

URLs would change to "dashboard/api/protobuf/requests/", as Piston does not implement this format, some adaption code might be required inside dashboard/api/handlers.py.

This requires some additional .proto files for WorkerServer and TranslationRequest objects as they can be queried using the interface...

wroberts commented 14 years ago

I've checked in an Emitter class that implements the basics of this.

cfedermann commented 14 years ago

Cool, I have added it to the main branch.

cfedermann commented 14 years ago

Works, closed.