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 1AD3310B81 for ; Thu, 5 Sep 2013 04:32:10 +0000 (UTC) Received: (qmail 76100 invoked by uid 500); 5 Sep 2013 04:31:33 -0000 Delivered-To: apmail-archiva-commits-archive@archiva.apache.org Received: (qmail 75927 invoked by uid 500); 5 Sep 2013 04:31:25 -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 75637 invoked by uid 99); 5 Sep 2013 04:31:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Sep 2013 04:31:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Sep 2013 04:31:09 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id C96572388CBE; Thu, 5 Sep 2013 04:29:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1520206 [44/48] - in /archiva/site-content/docs/2.0.0-SNAPSHOT: ./ adminguide/ adminguide/webservices/ css/ customising/ images/ images/logos/ images/profiles/ images/tour/ img/ js/ rest-docs-archiva-rest-api/ rest-docs-archiva-rest-api/cs... Date: Thu, 05 Sep 2013 04:29:02 -0000 To: commits@archiva.apache.org From: olamy@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20130905042919.C96572388CBE@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Added: archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/ns0_resource.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/ns0_resource.html?rev=1520206&view=auto ============================================================================== --- archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/ns0_resource.html (added) +++ archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/ns0_resource.html Thu Sep 5 04:28:53 2013 @@ -0,0 +1,205 @@ + + + + + + + + + + + + + resource + + + + + + + + + + + + + + + +
+
+ +
+
+

resource

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

XML

+

Elements

+ + + + + + + + + + + + + + + + + + + + + +
name (type)min/max
occurs
description
+ identifier (string) + 0/1 +
+ pattern (boolean) + 1/1 +
+ permanent (boolean) + 1/1 +
+ +

JSON

+ + + + + + + + + + + + + + + + + + + + + +
propertytypedescription
identifier + identifier (string) + +
pattern + pattern (boolean) + +
permanent + permanent (boolean) + +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/ns0_role.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/ns0_role.html?rev=1520206&view=auto ============================================================================== --- archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/ns0_role.html (added) +++ archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/ns0_role.html Thu Sep 5 04:28:53 2013 @@ -0,0 +1,333 @@ + + + + + + + + + + + + + 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 +
+ +

JSON

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
propertytypedescription
name + name (string) + +
description + description (string) + +
assignable + assignable (boolean) + +
childRoleNames + array of childRoleNames (string) + +
permissions + array of permissions (permission) + +
permanent + permanent (boolean) + +
parentRoleNames + array of parentRoleNames (string) + +
parentsRolesUsers + array of parentsRolesUsers (user) + +
users + array of users (user) + +
otherUsers + array of otherUsers (user) + +
removedUsers + array of removedUsers (user) + +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/ns0_roleTemplate.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/ns0_roleTemplate.html?rev=1520206&view=auto ============================================================================== --- archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/ns0_roleTemplate.html (added) +++ archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/ns0_roleTemplate.html Thu Sep 5 04:28:53 2013 @@ -0,0 +1,253 @@ + + + + + + + + + + + + + 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 +
+ +

JSON

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
propertytypedescription
id + id (string) + +
namePrefix + namePrefix (string) + +
delimiter + delimiter (string) + +
description + description (string) + +
resource + resource (string) + +
roles + array of roles (string) + +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/ns0_stringList.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/ns0_stringList.html?rev=1520206&view=auto ============================================================================== --- archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/ns0_stringList.html (added) +++ archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/ns0_stringList.html Thu Sep 5 04:28:53 2013 @@ -0,0 +1,176 @@ + + + + + + + + + + + + + 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 +
+ +

JSON

+ + + + + + + + + + + +
propertytypedescription
strings + array of strings (string) + +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/ns0_user.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/ns0_user.html?rev=1520206&view=auto ============================================================================== --- archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/ns0_user.html (added) +++ archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/ns0_user.html Thu Sep 5 04:28:53 2013 @@ -0,0 +1,409 @@ + + + + + + + + + + + + + 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 +
+ +

JSON

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
propertytypedescription
username + username (string) + +
fullName + fullName (string) + +
email + email (string) + +
validated + validated (boolean) + +
locked + locked (boolean) + +
password + password (string) + +
passwordChangeRequired + passwordChangeRequired (boolean) + +
permanent + permanent (boolean) + +
confirmPassword + confirmPassword (string) + +
timestampAccountCreation + timestampAccountCreation (string) + +
timestampLastLogin + timestampLastLogin (string) + +
timestampLastPasswordChange + timestampLastPasswordChange (string) + +
previousPassword + previousPassword (string) + +
assignedRoles + array of assignedRoles (string) + +
readOnly + readOnly (boolean) + +
userManagerId + userManagerId (string) + +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/ns0_userRegistrationRequest.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/ns0_userRegistrationRequest.html?rev=1520206&view=auto ============================================================================== --- archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/ns0_userRegistrationRequest.html (added) +++ archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/ns0_userRegistrationRequest.html Thu Sep 5 04:28:53 2013 @@ -0,0 +1,189 @@ + + + + + + + + + + + + + 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 +
+ +

JSON

+ + + + + + + + + + + + + + + + +
propertytypedescription
user + user (user) + +
applicationUrl + applicationUrl (string) + +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/resource_LdapGroupMappingService.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/resource_LdapGroupMappingService.html?rev=1520206&view=auto ============================================================================== --- archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/resource_LdapGroupMappingService.html (added) +++ archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/resource_LdapGroupMappingService.html Thu Sep 5 04:28:53 2013 @@ -0,0 +1,252 @@ + + + + + + + + + + + + + LdapGroupMappingService + + + + + + + + + + + + + + + +
+
+ +
+
+

LdapGroupMappingService

+ +

+

The following resources are part of this group:

+ + +

/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/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)

+ +

/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)

+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/resource_LoginService.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/resource_LoginService.html?rev=1520206&view=auto ============================================================================== --- archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/resource_LoginService.html (added) +++ archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/resource_LoginService.html Thu Sep 5 04:28:53 2013 @@ -0,0 +1,288 @@ + + + + + + + + + + + + + LoginService + + + + + + + + + + + + + + + +
+
+ +
+
+

LoginService

+ +

+

The following resources are part of this group:

+ + +

/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.0.0-SNAPSHOT/rest-docs-redback-rest-api/resource_PasswordService.html URL: http://svn.apache.org/viewvc/archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/resource_PasswordService.html?rev=1520206&view=auto ============================================================================== --- archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/resource_PasswordService.html (added) +++ archiva/site-content/docs/2.0.0-SNAPSHOT/rest-docs-redback-rest-api/resource_PasswordService.html Thu Sep 5 04:28:53 2013 @@ -0,0 +1,235 @@ + + + + + + + + + + + + + PasswordService + + + + + + + + + + + + + + + +
+
+ +
+
+

PasswordService

+ +

+

The following resources are part of this group:

+ + +

/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