Merge "Replace the create user REQ and RESP JSON files"

This commit is contained in:
Jenkins 2015-08-01 00:30:32 +00:00 committed by Gerrit Code Review
commit e4ce6e8858
3 changed files with 30 additions and 2 deletions

View File

@ -0,0 +1,9 @@
{
"user": {
"tenantId": "null",
"name": "jqsmith",
"email": "john.smith@example.org",
"password": "null",
"enabled": true
}
}

View File

@ -0,0 +1,9 @@
{
"user": {
"id": "u1000",
"name": "jqsmith",
"email": "john.smith@example.org",
"enabled": true,
"username": "jqsmith"
}
}

View File

@ -461,7 +461,7 @@
<request>
<representation mediaType="application/json" element="identity:user">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="../samples/user.json"/>
<xsdxt:code href="../samples/user-create-request.json"/>
</wadl:doc>
<param xmlns="http://wadl.dev.java.net/2009/02" name="X-Auth-Token" style="header"
type="xsd:string" required="true">
@ -484,6 +484,11 @@
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">The user
email.</wadl:doc>
</param>
<param xmlns="http://wadl.dev.java.net/2009/02" name="password" style="plain"
type="xsd:string" required="true">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">The user
password.</wadl:doc>
</param>
<param xmlns="http://wadl.dev.java.net/2009/02" name="enabled" style="plain"
type="xsd:bool" required="true">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">Indicates whether
@ -494,7 +499,7 @@
<response status="201">
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="../samples/user.json"/>
<xsdxt:code href="../samples/user-create-response.json"/>
</wadl:doc>
<param xmlns="http://wadl.dev.java.net/2009/02" name="id" style="plain"
type="xsd:string" required="true">
@ -511,6 +516,11 @@
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">The user
email.</wadl:doc>
</param>
<param xmlns="http://wadl.dev.java.net/2009/02" name="username" style="plain"
type="xsd:string" required="true">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">The user
username.</wadl:doc>
</param>
<param xmlns="http://wadl.dev.java.net/2009/02" name="enabled" style="plain"
type="xsd:bool" required="true">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">Indicates whether