Return-Path: X-Original-To: apmail-archiva-commits-archive@www.apache.org Delivered-To: apmail-archiva-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 78EC217CBB for ; Tue, 24 Feb 2015 23:48:07 +0000 (UTC) Received: (qmail 50887 invoked by uid 500); 24 Feb 2015 23:47:09 -0000 Delivered-To: apmail-archiva-commits-archive@archiva.apache.org Received: (qmail 50780 invoked by uid 500); 24 Feb 2015 23:47:09 -0000 Mailing-List: contact commits-help@archiva.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@archiva.apache.org Delivered-To: mailing list commits@archiva.apache.org Received: (qmail 49530 invoked by uid 99); 24 Feb 2015 23:47:08 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2015 23:47:08 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id D75E4AC0309 for ; Tue, 24 Feb 2015 23:47:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1662140 [44/48] - in /archiva/site-content/docs/2.2.0: ./ adminguide/ adminguide/webservices/ css/ customising/ images/ images/logos/ images/profiles/ images/tour/ img/ js/ rest-docs-archiva-rest-api/ rest-docs-archiva-rest-api/css/ rest-d... Date: Tue, 24 Feb 2015 23:46:59 -0000 To: commits@archiva.apache.org From: olamy@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150224234707.D75E4AC0309@hades.apache.org> Added: archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/ns0_role.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/ns0_role.html?rev=1662140&view=auto ============================================================================== --- archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/ns0_role.html (added) +++ archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/ns0_role.html Tue Feb 24 23:46:54 2015 @@ -0,0 +1,237 @@ + + + + + + + + + + + + + role + + + + + + + + + + + + + + + +
+
+ +
+
+

role

+ + + + + + + + + + + + + +
Namespace:(default namespace)
XML Schema:ns0.xsd
Available Since:1.4
+ +

XML

+

Elements

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name (type)min/max
occurs
description
+ name (string) + 0/1 +
+ description (string) + 0/1 +
+ assignable (boolean) + 1/1 +
+ childRoleNames (string) + 0/unbounded +
+ permissions (permission) + 0/unbounded +
+ permanent (boolean) + 1/1 +
+ parentRoleNames (string) + 0/unbounded +
+ parentsRolesUsers (user) + 0/unbounded +
+ users (user) + 0/unbounded +
+ otherUsers (user) + 0/unbounded +
+ removedUsers (user) + 0/unbounded +
+ + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/ns0_roleTemplate.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/ns0_roleTemplate.html?rev=1662140&view=auto ============================================================================== --- archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/ns0_roleTemplate.html (added) +++ archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/ns0_roleTemplate.html Tue Feb 24 23:46:54 2015 @@ -0,0 +1,197 @@ + + + + + + + + + + + + + roleTemplate + + + + + + + + + + + + + + + +
+
+ +
+
+

roleTemplate

+ + + + + + + + + + + + + +
Namespace:(default namespace)
XML Schema:ns0.xsd
Available Since:2.0
+ +

XML

+

Elements

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name (type)min/max
occurs
description
+ id (string) + 0/1 +
+ namePrefix (string) + 0/1 +
+ delimiter (string) + 0/1 +
+ description (string) + 0/1 +
+ resource (string) + 0/1 +
+ roles (string) + 0/unbounded +
+ + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/ns0_stringList.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/ns0_stringList.html?rev=1662140&view=auto ============================================================================== --- archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/ns0_stringList.html (added) +++ archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/ns0_stringList.html Tue Feb 24 23:46:54 2015 @@ -0,0 +1,160 @@ + + + + + + + + + + + + + stringList + + + + + + + + + + + + + + + +
+
+ +
+
+

stringList

+ + + + + + + + + + + + + +
Namespace:(default namespace)
XML Schema:ns0.xsd
Available Since:2.1
+

+ jaxrs fail to return List so use this contains for rest services returning that +

+ +

XML

+

Elements

+ + + + + + + + + + + +
name (type)min/max
occurs
description
+ strings (string) + 0/unbounded +
+ + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/ns0_user.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/ns0_user.html?rev=1662140&view=auto ============================================================================== --- archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/ns0_user.html (added) +++ archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/ns0_user.html Tue Feb 24 23:46:54 2015 @@ -0,0 +1,273 @@ + + + + + + + + + + + + + user + + + + + + + + + + + + + + + +
+
+ +
+
+

user

+ + + + + + + + + +
Namespace:(default namespace)
XML Schema:ns0.xsd
+ +

XML

+

Elements

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name (type)min/max
occurs
description
+ username (string) + 0/1 +
+ fullName (string) + 0/1 +
+ email (string) + 0/1 +
+ validated (boolean) + 1/1 +
+ locked (boolean) + 1/1 +
+ password (string) + 0/1 +
+ passwordChangeRequired (boolean) + 1/1 +
+ permanent (boolean) + 1/1 +
+ confirmPassword (string) + 0/1 +
+ timestampAccountCreation (string) + 0/1 +
+ timestampLastLogin (string) + 0/1 +
+ timestampLastPasswordChange (string) + 0/1 +
+ previousPassword (string) + 0/1 +
+ assignedRoles (string) + 0/unbounded +
+ readOnly (boolean) + 1/1 +
+ userManagerId (string) + 0/1 +
+ + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/ns0_userRegistrationRequest.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/ns0_userRegistrationRequest.html?rev=1662140&view=auto ============================================================================== --- archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/ns0_userRegistrationRequest.html (added) +++ archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/ns0_userRegistrationRequest.html Tue Feb 24 23:46:54 2015 @@ -0,0 +1,165 @@ + + + + + + + + + + + + + userRegistrationRequest + + + + + + + + + + + + + + + +
+
+ +
+
+

userRegistrationRequest

+ + + + + + + + + + + + + +
Namespace:(default namespace)
XML Schema:ns0.xsd
Available Since:2.0
+ +

XML

+

Elements

+ + + + + + + + + + + + + + + + +
name (type)min/max
occurs
description
+ user (user) + 0/1 +
+ applicationUrl (string) + 0/1 +
+ + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/resource_LdapGroupMappingService.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/resource_LdapGroupMappingService.html?rev=1662140&view=auto ============================================================================== --- archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/resource_LdapGroupMappingService.html (added) +++ archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/resource_LdapGroupMappingService.html Tue Feb 24 23:46:54 2015 @@ -0,0 +1,258 @@ + + + + + + + + + + + + + LdapGroupMappingService + + + + + + + + + + + + + + + +
+
+ +
+
+

LdapGroupMappingService

+ +

+

The following resources are applicable:

+ + +

/ldapGroupMappingService

+

Mount Point: /redbackServices/ldapGroupMappingService

+

Available Since: 2.1

+

+ The following operations are supported on this resource: +

+ + +

GET

+

Available Since: 2.1

+

Response Body

+ + + + + + + + + +
element:(custom)
media types:application/xml
application/json
+

(no documentation provided)

+ +

PUT

+

Available Since: 2.1

+

Request Body

+ + + + + + + + + +
element:ldapGroupMapping
media types:application/xml
application/json
+

(no documentation provided)

+

Response Body

+ + + + + + + + + +
element:(custom)
media types:application/xml
application/json
+

(no documentation provided)

+ +

POST

+

Available Since: 2.1

+

Request Body

+ + + + + + + + + +
element:ldapGroupMappingUpdateRequest
media types:application/xml
application/json
+

(no documentation provided)

+

Response Body

+ + + + + + + + + +
element:(custom)
media types:application/xml
application/json
+

(no documentation provided)

+ +

/ldapGroupMappingService/{group}

+

Mount Point: /redbackServices/ldapGroupMappingService/{group}

+

Available Since: 2.1

+ +

DELETE

+

Available Since: 2.1

+

Parameters

+ + + + + + + + + + + + + +
namedescriptiontypedefault
group + (no documentation provided) + path
+

Response Body

+ + + + + + + + + +
element:(custom)
media types:application/xml
application/json
+

(no documentation provided)

+ +

/ldapGroupMappingService/ldapGroups

+

Mount Point: /redbackServices/ldapGroupMappingService/ldapGroups

+

Available Since: 2.1

+ +

GET

+

Available Since: 2.1

+

Response Body

+ + + + + + + + + +
element:stringList
media types:application/xml
application/json
+

(no documentation provided)

+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/resource_LoginService.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/resource_LoginService.html?rev=1662140&view=auto ============================================================================== --- archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/resource_LoginService.html (added) +++ archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/resource_LoginService.html Tue Feb 24 23:46:54 2015 @@ -0,0 +1,300 @@ + + + + + + + + + + + + + LoginService + + + + + + + + + + + + + + + +
+
+ +
+
+

LoginService

+ +

+

The following resources are applicable:

+ + +

/loginService/addAuthenticationKey

+

Mount Point: /redbackServices/loginService/addAuthenticationKey

+ +

GET

+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
namedescriptiontypedefault
providerKey + (no documentation provided) + query
principal + (no documentation provided) + query
purpose + (no documentation provided) + query
expirationMinutes + (no documentation provided) + query
+

Response Body

+ + + + + + + + + +
element:(custom)
media types:application/xml
text/plain
application/json
+

(no documentation provided)

+ +

/loginService/isLogged

+

Mount Point: /redbackServices/loginService/isLogged

+

Available Since: 1.4

+ +

GET

+

Available Since: 1.4

+

+ simply check if current user has an http session opened with authz passed and return user data +

+

Response Body

+ + + + + + + + + +
element:user
media types:application/xml
application/json
+

(no documentation provided)

+ +

/loginService/logIn

+

Mount Point: /redbackServices/loginService/logIn

+ +

POST

+

+ check username/password and create a http session. +So no more need of reuse username/password for all ajaxRequest +

+

Request Body

+ + + + + + + + + +
element:loginRequest
media types:*/*
application/xml
+

(no documentation provided)

+

Response Body

+ + + + + + + + + +
element:user
media types:application/xml
text/plain
application/json
+

(no documentation provided)

+ +

/loginService/logout

+

Mount Point: /redbackServices/loginService/logout

+

Available Since: 1.4

+ +

GET

+

Available Since: 1.4

+

+ clear user http session +

+

Response Body

+ + + + + + + + + +
element:(custom)
media types:application/xml
text/plain
application/json
+

(no documentation provided)

+ +

/loginService/ping

+

Mount Point: /redbackServices/loginService/ping

+ +

GET

+

Response Body

+ + + + + + + + + +
element:(custom)
media types:application/xml
text/plain
application/json
+

(no documentation provided)

+ +

/loginService/pingWithAutz

+

Mount Point: /redbackServices/loginService/pingWithAutz

+ +

GET

+

Response Body

+ + + + + + + + + +
element:(custom)
media types:application/xml
text/plain
application/json
+

(no documentation provided)

+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/resource_PasswordService.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/resource_PasswordService.html?rev=1662140&view=auto ============================================================================== --- archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/resource_PasswordService.html (added) +++ archiva/site-content/docs/2.2.0/rest-docs-redback-rest-api/resource_PasswordService.html Tue Feb 24 23:46:54 2015 @@ -0,0 +1,239 @@ + + + + + + + + + + + + + PasswordService + + + + + + + + + + + + + + + +
+
+ +
+
+

PasswordService

+ +

+

The following resources are applicable:

+ + +

/passwordService/changePassword

+

Mount Point: /redbackServices/passwordService/changePassword

+

Available Since: 1.4

+ +

GET

+

Available Since: 1.4

+

+ used to change the password on passwordChangeRequired state. +

+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
namedescriptiontypedefault
userName + (no documentation provided) + query
previousPassword + (no documentation provided) + query
password + (no documentation provided) + query
passwordConfirmation + (no documentation provided) + query
+

Response Body

+ + + + + + + + + +
element:user
media types:application/xml
text/plain
application/json
+

(no documentation provided)

+ +

/passwordService/changePasswordWithKey

+

Mount Point: /redbackServices/passwordService/changePasswordWithKey

+

Available Since: 1.4

+ +

GET

+

Available Since: 1.4

+

+ used to change the password on first user connection after registration use. +the key is mandatory and a control will be done on the username provided. +need to be logged by UserService#validateUserFromKey(String) +

+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + +
namedescriptiontypedefault
password + (no documentation provided) + query
passwordConfirmation + (no documentation provided) + query
key + (no documentation provided) + query
+

Response Body

+ + + + + + + + + +
element:user
media types:application/xml
text/plain
application/json
+

username

+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file