@Path(value="/stats")
public interface StatisticsResource
Modifier and Type | Method and Description |
---|---|
ContainerTranslationStatistics |
getStatistics(String projectSlug,
String iterationSlug,
boolean includeDetails,
boolean includeWordStats,
String[] locales)
Get translation statistics for a Project iteration and (optionally) it's underlying documents.
|
ContainerTranslationStatistics |
getStatistics(String projectSlug,
String iterationSlug,
String docId,
boolean includeWordStats,
String[] locales)
Get translation statistics for a Document.
|
@GET @Path(value="/proj/{projectSlug}/iter/{iterationSlug}") ContainerTranslationStatistics getStatistics(@PathParam(value="projectSlug") String projectSlug, @PathParam(value="iterationSlug") String iterationSlug, @QueryParam(value="detail")@DefaultValue(value="false") boolean includeDetails, @QueryParam(value="word")@DefaultValue(value="false") boolean includeWordStats, @QueryParam(value="locale") String[] locales)
projectSlug
- Project identifier.iterationSlug
- Project Iteration identifier.includeDetails
- Indicates whether to include detailed statistics for the project iteration's documents.includeWordStats
- Indicates whether to include word-level statistics. Default is only message level stats.locales
- Locale statistics to be fetched. If this is empty, all locale statistics will be returned. This
parameter may be specified multiple times if multiple locales are to be fetched.@GET @Path(value="/proj/{projectSlug}/iter/{iterationSlug}/doc/{docId:.*}") ContainerTranslationStatistics getStatistics(@PathParam(value="projectSlug") String projectSlug, @PathParam(value="iterationSlug") String iterationSlug, @PathParam(value="docId") String docId, @QueryParam(value="word")@DefaultValue(value="false") boolean includeWordStats, @QueryParam(value="locale") String[] locales)
projectSlug
- Project identifier.iterationSlug
- Project Iteration identifier.docId
- Document identifier.includeWordStats
- Indicates whether to include word-level statistics. Default is only message level stats.locales
- Locale statistics to be fetched. If this is empty, all locale statistics will be returned. This
parameter may be specified multiple times if multiple locales are to be fetched.Copyright © 2013 Zanata Project. All rights reserved.