CommonServices
contains some "free" services (i18n)
The following resources are applicable:
- /commonServices/getAllI18nResources
- /commonServices/getI18nResources
- /commonServices/validateCronExpression
/commonServices/getAllI18nResources
Mount Point: /restServices/commonServices/getAllI18nResources
Available Since: 1.4-M3
GET
Available Since: 1.4-M3
will return properties available in org/apache/archiva/i18n/default.properties load default (en) then override with locale used so at least en are returned if no translation in the locale asked. This method will add redback resources too. note Archva wins
Parameters
name | description | type | default |
---|---|---|---|
locale | (no documentation provided) | query |
Response Body
element: | (custom) |
media types: | text/plain |
(no documentation provided)
/commonServices/getI18nResources
Mount Point: /restServices/commonServices/getI18nResources
Available Since: 1.4-M3
GET
Available Since: 1.4-M3
will return properties available in org/apache/archiva/i18n/default.properties load default (en) then override with locale used so at least en are returned if no translation in the locale asked.
Parameters
name | description | type | default |
---|---|---|---|
locale | (no documentation provided) | query |
Response Body
element: | (custom) |
media types: | text/plain |
(no documentation provided)
/commonServices/validateCronExpression
Mount Point: /restServices/commonServices/validateCronExpression
Available Since: 1.4-M3
GET
Available Since: 1.4-M3
Parameters
name | description | type | default |
---|---|---|---|
cronExpression | (no documentation provided) | query |
Response Body
element: | (custom) |
media types: | application/xml application/json |
(no documentation provided)