Red Hat Bugzilla – Bug 759983
RFE: Features for Skynet integration
Last modified: 2014-08-04 18:26:27 EDT
I need to get a few features implemented for the integration with Skynet:
1. Deterministic URLs to the editor for a specific document
2. The ability to get translation statistics (like x% completed) for a document via the REST interface..
3. The ability to list the available translation resources for a document. At the moment the ITranslationResources.getTranslations() function assumes the caller is asking for a specific language, which forces me run through every locale when downloading the translations (50 odd locales * 500 documents makes for a very lengthy downloading process).
4. The ability to create a project, project revision, specify languages and assigned a user to a language via the REST API . This is so I can create the Skynet project via code rather than having to set it up manually via the web page each time.
For point 1, you can now use a URL like this:
The parameter '&doc=7368-139660' is optional, but the client will load quite slowly without it, because it will populate the docs list with every Skynet topic. That parameter will ensure a filtered view, which only shows that topic.
For the other points, could I get you to submit separate RFEs with more detailed requirements, with me on the CC list?
Point 3 is a little unclear, but I think it might already be covered by ITranslationResources.getResources in v1.4 or SourceDocResource.getResource() in v1.6. (It's the same REST resource, we just changed the Java mappings.)
Point 4: unofficially, you can already create a project/version through REST - IProjectResource.put and IProjectIterationResource.put. You can't specify a project's languages this way yet though.
I'm not sure what you mean about assigning users to languages, or why Skynet needs to do it. Please expand on all of these requirements when you create the separate RFE.
Although you had already informed me about point 1, thanks again for the clarification and a bit of extra information.
I've made an RFE for point 2 (Bug #831894) and 3 (Bug #831887) which should clear it up.
As for point 4 in regards to the users, I haven't a clue what Matt meant on this one so I'll leave that for him to answer.
Also regarding point 4, does this imply that Skynet will be pushing to multiple projects in Zanata? Otherwise, you won't need to create projects very often...
Given point 3 is being tracked in its own bug and Number 4 seems to have been fixed, closing this issue.
Please reopen if there is a problem.
Isaac, how has Number 4 been fixed?