@Path(value="/copytrans")
@Produces(value={"application/xml","application/json"})
@Consumes(value={"application/xml","application/json"})
public interface CopyTransResource
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_PATH |
Modifier and Type | Method and Description |
---|---|
CopyTransStatus |
getCopyTransStatus(String projectSlug,
String iterationSlug,
String docId)
Retrieves the status for a Translation copy process for a document.
|
CopyTransStatus |
startCopyTrans(String projectSlug,
String iterationSlug,
String docId)
Starts a Translation copy for an individual document.
|
static final String SERVICE_PATH
@POST @Path(value="/proj/{projectSlug}/iter/{iterationSlug}/doc/{docId:.+}") CopyTransStatus startCopyTrans(@PathParam(value="projectSlug") String projectSlug, @PathParam(value="iterationSlug") String iterationSlug, @PathParam(value="docId") String docId)
projectSlug
- Project identifieriterationSlug
- Project version identifierdocId
- Document Id to copy translations into.@GET @Path(value="/proj/{projectSlug}/iter/{iterationSlug}/doc/{docId:.+}") CopyTransStatus getCopyTransStatus(@PathParam(value="projectSlug") String projectSlug, @PathParam(value="iterationSlug") String iterationSlug, @PathParam(value="docId") String docId)
projectSlug
- Project identifieriterationSlug
- Project version identifierdocId
- Document IdCopyright © 2018 Zanata Project. All rights reserved.