@Path(value="/projects/p/{projectSlug:[a-zA-Z0-9]+([a-zA-Z0-9_\\-{.}]*[a-zA-Z0-9]+)?}/iterations/i/{iterationSlug:[a-zA-Z0-9]+([a-zA-Z0-9_\\-{.}]*[a-zA-Z0-9]+)?}/locales")
@Produces(value={"application/xml","application/json"})
public interface ProjectIterationLocalesResource
ProjectLocalesResource} Project locales
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_PATH |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
get()
Returns list of active locales for a single project-version.
|
javax.ws.rs.core.Response |
getSourceLocales()
Returns list of active source locales of all documents for a single project-version.
|
static final String SERVICE_PATH
@GET @Produces(value={"application/vnd.zanata.project.locales+xml","application/vnd.zanata.project.locales+json","application/xml","application/json"}) javax.ws.rs.core.Response get()
ProjectVersionResource.getLocales(String, String)
@GET @Path(value="/source") @Produces(value="application/json") javax.ws.rs.core.Response getSourceLocales()
Copyright © 2017 Zanata Project. All rights reserved.