blob: d1be02ae93198ed8563d9d5f03d7d5e2c012e577 [file] [log] [blame]
{
"swagger": "2.0",
"info" : {
"description" : "<h1>Redback :: Integration :: REST :: Api<\/h1><p>Redback integration modules for security and REST<\/p>",
"contact" : {
"name" : "Steffen Grunwald"
},
"license" : {
"url" : "http://www.apache.org/licenses/LICENSE-2.0.txt",
"name" : "The Apache Software License, Version 2.0"
},
"version" : "3.0.0-SNAPSHOT",
"title" : "Apache Archiva Redback REST API"
},
"schemes" : [],
"tags" : [
{
"name" : "LdapGroupMappingService"
}
,
{
"name" : "LoginService"
}
,
{
"name" : "PasswordService"
}
,
{
"name" : "RoleManagementService"
}
,
{
"name" : "UserService"
}
,
{
"name" : "UtilServices"
}
],
"definitions" : {
"json_Application" : {
"type" : "object",
"title" : "Application",
"properties" : {
"version" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"id" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"description" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"longDescription" : {
"readOnly" : false,
"description" : "",
"type" : "string"
}
},
"example" : {
"version" : "...",
"id" : "...",
"description" : "...",
"longDescription" : "..."
},
"description" : ""
}
,
"json_ApplicationRoles" : {
"type" : "object",
"title" : "ApplicationRoles",
"properties" : {
"name" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"description" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"globalRoles" : {
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"type" : "string"
}
},
"roleTemplates" : {
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"$ref" : "#/definitions/json_RoleTemplate"
}
},
"resources" : {
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"type" : "string"
}
}
},
"example" : {
"name" : "...",
"description" : "...",
"globalRoles" : [ "...", "..." ],
"roleTemplates" : [ {
"id" : "...",
"namePrefix" : "...",
"delimiter" : "...",
"description" : "...",
"resource" : "...",
"roles" : [ "...", "..." ]
}, {
"id" : "...",
"namePrefix" : "...",
"delimiter" : "...",
"description" : "...",
"resource" : "...",
"roles" : [ "...", "..." ]
} ],
"resources" : [ "...", "..." ]
},
"description" : ""
}
,
"json_LdapGroupMapping" : {
"type" : "object",
"title" : "LdapGroupMapping",
"properties" : {
"group" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"roleNames" : {
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"type" : "string"
}
}
},
"example" : {
"group" : "...",
"roleNames" : [ "...", "..." ]
},
"description" : ""
}
,
"json_LdapGroupMappingUpdateRequest" : {
"type" : "object",
"title" : "LdapGroupMappingUpdateRequest",
"properties" : {
"ldapGroupMapping" : {
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"$ref" : "#/definitions/json_LdapGroupMapping"
}
}
},
"example" : {
"ldapGroupMapping" : [ {
"group" : "...",
"roleNames" : [ "...", "..." ]
}, {
"group" : "...",
"roleNames" : [ "...", "..." ]
} ]
},
"description" : ""
}
,
"json_LoginRequest" : {
"type" : "object",
"title" : "LoginRequest",
"properties" : {
"username" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"password" : {
"readOnly" : false,
"description" : "",
"type" : "string"
}
},
"example" : {
"username" : "...",
"password" : "..."
},
"description" : ""
}
,
"json_Operation" : {
"type" : "object",
"title" : "Operation",
"required" : ["permanent"],
"properties" : {
"name" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"description" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"permanent" : {
"readOnly" : false,
"description" : "",
"type" : "boolean"
}
},
"example" : {
"name" : "...",
"description" : "...",
"permanent" : true
},
"description" : ""
}
,
"json_Permission" : {
"type" : "object",
"title" : "Permission",
"properties" : {
"name" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"operation" : {
"readOnly" : false,
"$ref" : "#/definitions/json_Operation",
"description" : ""
},
"resource" : {
"readOnly" : false,
"$ref" : "#/definitions/json_Resource",
"description" : ""
}
},
"example" : {
"name" : "...",
"operation" : {
"name" : "...",
"description" : "...",
"permanent" : true
},
"resource" : {
"identifier" : "...",
"pattern" : true,
"permanent" : true
}
},
"description" : ""
}
,
"json_RegistrationKey" : {
"type" : "object",
"title" : "RegistrationKey",
"properties" : {
"key" : {
"readOnly" : false,
"description" : "",
"type" : "string"
}
},
"example" : {
"key" : "..."
},
"description" : ""
}
,
"json_ResetPasswordRequest" : {
"type" : "object",
"title" : "ResetPasswordRequest",
"properties" : {
"username" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"applicationUrl" : {
"readOnly" : false,
"description" : "",
"type" : "string"
}
},
"example" : {
"username" : "...",
"applicationUrl" : "..."
},
"description" : ""
}
,
"json_Resource" : {
"type" : "object",
"title" : "Resource",
"required" : ["pattern", "permanent"],
"properties" : {
"identifier" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"pattern" : {
"readOnly" : false,
"description" : "",
"type" : "boolean"
},
"permanent" : {
"readOnly" : false,
"description" : "",
"type" : "boolean"
}
},
"example" : {
"identifier" : "...",
"pattern" : true,
"permanent" : true
},
"description" : ""
}
,
"json_Role" : {
"type" : "object",
"title" : "Role",
"required" : ["assignable", "permanent"],
"properties" : {
"name" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"description" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"assignable" : {
"readOnly" : false,
"description" : "",
"type" : "boolean"
},
"childRoleNames" : {
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"type" : "string"
}
},
"permissions" : {
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"$ref" : "#/definitions/json_Permission"
}
},
"permanent" : {
"readOnly" : false,
"description" : "",
"type" : "boolean"
},
"parentRoleNames" : {
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"type" : "string"
}
},
"parentsRolesUsers" : {
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"$ref" : "#/definitions/json_User"
}
},
"users" : {
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"$ref" : "#/definitions/json_User"
}
},
"otherUsers" : {
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"$ref" : "#/definitions/json_User"
}
},
"removedUsers" : {
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"$ref" : "#/definitions/json_User"
}
}
},
"example" : {
"name" : "...",
"description" : "...",
"assignable" : true,
"childRoleNames" : [ "...", "..." ],
"permissions" : [ {
"name" : "...",
"operation" : {
"name" : "...",
"description" : "...",
"permanent" : true
},
"resource" : {
"identifier" : "...",
"pattern" : true,
"permanent" : true
}
}, {
"name" : "...",
"operation" : {
"name" : "...",
"description" : "...",
"permanent" : true
},
"resource" : {
"identifier" : "...",
"pattern" : true,
"permanent" : true
}
} ],
"permanent" : true,
"parentRoleNames" : [ "...", "..." ],
"parentsRolesUsers" : [ {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
}, {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
} ],
"users" : [ {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
}, {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
} ],
"otherUsers" : [ {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
}, {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
} ],
"removedUsers" : [ {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
}, {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
} ]
},
"description" : ""
}
,
"json_RoleTemplate" : {
"type" : "object",
"title" : "RoleTemplate",
"properties" : {
"id" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"namePrefix" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"delimiter" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"description" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"resource" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"roles" : {
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"type" : "string"
}
}
},
"example" : {
"id" : "...",
"namePrefix" : "...",
"delimiter" : "...",
"description" : "...",
"resource" : "...",
"roles" : [ "...", "..." ]
},
"description" : ""
}
,
"json_StringList" : {
"type" : "object",
"title" : "StringList",
"properties" : {
"strings" : {
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"type" : "string"
}
}
},
"example" : {
"strings" : [ "...", "..." ]
},
"description" : "jaxrs fail to return List String so use this contains for rest services returning that"
}
,
"json_User" : {
"type" : "object",
"title" : "User",
"required" : ["validated", "locked", "passwordChangeRequired", "permanent", "readOnly"],
"properties" : {
"username" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"fullName" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"email" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"validated" : {
"readOnly" : false,
"description" : "",
"type" : "boolean"
},
"locked" : {
"readOnly" : false,
"description" : "",
"type" : "boolean"
},
"password" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"passwordChangeRequired" : {
"readOnly" : false,
"description" : "",
"type" : "boolean"
},
"permanent" : {
"readOnly" : false,
"description" : "",
"type" : "boolean"
},
"confirmPassword" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"timestampAccountCreation" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"timestampLastLogin" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"timestampLastPasswordChange" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"previousPassword" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"assignedRoles" : {
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"type" : "string"
}
},
"readOnly" : {
"readOnly" : false,
"description" : "",
"type" : "boolean"
},
"userManagerId" : {
"readOnly" : false,
"description" : "",
"type" : "string"
},
"validationToken" : {
"readOnly" : false,
"description" : "",
"type" : "string"
}
},
"example" : {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
},
"description" : ""
}
,
"json_UserRegistrationRequest" : {
"type" : "object",
"title" : "UserRegistrationRequest",
"properties" : {
"user" : {
"readOnly" : false,
"$ref" : "#/definitions/json_User",
"description" : ""
},
"applicationUrl" : {
"readOnly" : false,
"description" : "",
"type" : "string"
}
},
"example" : {
"user" : {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
},
"applicationUrl" : "..."
},
"description" : ""
}
,
"xml_ns0_application" : {
"type" : "object",
"xml" : {
"name" : "application",
"namespace" : ""
},
"title" : "application",
"allOf" : [
{
"properties" : {
"description" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"id" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"longDescription" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"version" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
}
}
}
],
"description" : ""
}
,
"xml_ns0_applicationRoles" : {
"type" : "object",
"xml" : {
"name" : "applicationRole",
"namespace" : ""
},
"title" : "applicationRoles",
"allOf" : [
{
"properties" : {
"description" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"globalRoles" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"type" : "string"
}
},
"name" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"resources" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"type" : "string"
}
},
"roleTemplates" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"$ref" : "#/definitions/xml_ns0_roleTemplate"
}
}
}
}
],
"description" : ""
}
,
"xml_ns0_ldapGroupMapping" : {
"type" : "object",
"xml" : {
"name" : "ldapGroupMapping",
"namespace" : ""
},
"title" : "ldapGroupMapping",
"allOf" : [
{
"properties" : {
"group" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"roleNames" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"type" : "string"
}
}
}
}
],
"description" : ""
}
,
"xml_ns0_ldapGroupMappingUpdateRequest" : {
"type" : "object",
"xml" : {
"name" : "ldapGroupMappingUpdateRequest",
"namespace" : ""
},
"title" : "ldapGroupMappingUpdateRequest",
"allOf" : [
{
"properties" : {
"ldapGroupMapping" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"$ref" : "#/definitions/xml_ns0_ldapGroupMapping"
}
}
}
}
],
"description" : ""
}
,
"xml_ns0_loginRequest" : {
"type" : "object",
"xml" : {
"name" : "loginRequest",
"namespace" : ""
},
"title" : "loginRequest",
"allOf" : [
{
"properties" : {
"password" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"username" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
}
}
}
],
"description" : ""
}
,
"xml_ns0_operation" : {
"type" : "object",
"xml" : {
"name" : "operation",
"namespace" : ""
},
"title" : "operation",
"required" : ["permanent"],
"allOf" : [
{
"properties" : {
"description" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"name" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"permanent" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "boolean"
}
}
}
],
"description" : ""
}
,
"xml_ns0_permission" : {
"type" : "object",
"xml" : {
"name" : "permission",
"namespace" : ""
},
"title" : "permission",
"allOf" : [
{
"properties" : {
"name" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"operation" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"$ref" : "#/definitions/xml_ns0_operation",
"description" : ""
},
"resource" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"$ref" : "#/definitions/xml_ns0_resource",
"description" : ""
}
}
}
],
"description" : ""
}
,
"xml_ns0_registrationKey" : {
"type" : "object",
"xml" : {
"name" : "registrationKey",
"namespace" : ""
},
"title" : "registrationKey",
"allOf" : [
{
"properties" : {
"key" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
}
}
}
],
"description" : ""
}
,
"xml_ns0_resetPasswordRequest" : {
"type" : "object",
"title" : "resetPasswordRequest",
"allOf" : [
{
"properties" : {
"applicationUrl" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"username" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
}
}
}
],
"description" : ""
}
,
"xml_ns0_resource" : {
"type" : "object",
"xml" : {
"name" : "resource",
"namespace" : ""
},
"title" : "resource",
"required" : ["pattern", "permanent"],
"allOf" : [
{
"properties" : {
"identifier" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"pattern" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "boolean"
},
"permanent" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "boolean"
}
}
}
],
"description" : ""
}
,
"xml_ns0_role" : {
"type" : "object",
"xml" : {
"name" : "role",
"namespace" : ""
},
"title" : "role",
"required" : ["assignable", "permanent"],
"allOf" : [
{
"properties" : {
"assignable" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "boolean"
},
"childRoleNames" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"type" : "string"
}
},
"description" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"name" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"otherUsers" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"$ref" : "#/definitions/xml_ns0_user"
}
},
"parentRoleNames" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"type" : "string"
}
},
"parentsRolesUsers" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"$ref" : "#/definitions/xml_ns0_user"
}
},
"permanent" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "boolean"
},
"permissions" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"$ref" : "#/definitions/xml_ns0_permission"
}
},
"removedUsers" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"$ref" : "#/definitions/xml_ns0_user"
}
},
"users" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"$ref" : "#/definitions/xml_ns0_user"
}
}
}
}
],
"description" : ""
}
,
"xml_ns0_roleTemplate" : {
"type" : "object",
"xml" : {
"name" : "roleTemplate",
"namespace" : ""
},
"title" : "roleTemplate",
"allOf" : [
{
"properties" : {
"delimiter" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"description" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"id" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"namePrefix" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"resource" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"roles" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"type" : "string"
}
}
}
}
],
"description" : ""
}
,
"xml_ns0_stringList" : {
"type" : "object",
"xml" : {
"name" : "stringList",
"namespace" : ""
},
"title" : "stringList",
"allOf" : [
{
"properties" : {
"strings" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"type" : "string"
}
}
}
}
],
"description" : "jaxrs fail to return List String so use this contains for rest services returning that"
}
,
"xml_ns0_user" : {
"type" : "object",
"xml" : {
"name" : "user",
"namespace" : ""
},
"title" : "user",
"required" : ["locked", "passwordChangeRequired", "permanent", "readOnly", "validated"],
"allOf" : [
{
"properties" : {
"assignedRoles" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "array",
"items" : {
"type" : "string"
}
},
"confirmPassword" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"email" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"fullName" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"locked" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "boolean"
},
"password" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"passwordChangeRequired" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "boolean"
},
"permanent" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "boolean"
},
"previousPassword" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"readOnly" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "boolean"
},
"timestampAccountCreation" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"timestampLastLogin" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"timestampLastPasswordChange" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"userManagerId" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"username" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"validated" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "boolean"
},
"validationToken" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
}
}
}
],
"description" : ""
}
,
"xml_ns0_userRegistrationRequest" : {
"type" : "object",
"xml" : {
"name" : "userRegistrationRequest",
"namespace" : ""
},
"title" : "userRegistrationRequest",
"allOf" : [
{
"properties" : {
"applicationUrl" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"description" : "",
"type" : "string"
},
"user" : {
"xml" : {
"namespace" : ""
},
"readOnly" : false,
"$ref" : "#/definitions/xml_ns0_user",
"description" : ""
}
}
}
],
"description" : ""
}
},
"paths": {
"\/ldapGroupMappingService" : {
"get" : {
"tags" : [ "LdapGroupMappingService" ],
"operationId" : "getLdapGroupMappings",
"produces" : [ "application/json", "application/xml" ],
"parameters" : [
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "array",
"items" : {
"$ref" : "#/definitions/json_LdapGroupMapping"
}
},
"examples" : [ {
"group" : "...",
"roleNames" : [ "...", "..." ]
} ],
"description" : ""
}
}
}
,
"post" : {
"tags" : [ "LdapGroupMappingService" ],
"operationId" : "updateLdapGroupMapping",
"consumes" : [ "application/json", "application/xml" ],
"produces" : [ "application/json", "application/xml" ],
"parameters" : [
{
"name" : "body",
"required" : false,
"in" : "body",
"schema" : {
"$ref" : "#/definitions/json_LdapGroupMappingUpdateRequest",
"description" : ""
},
"description" : ""
}
],
"responses" : {
"201" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
,
"put" : {
"tags" : [ "LdapGroupMappingService" ],
"operationId" : "addLdapGroupMapping",
"consumes" : [ "application/json", "application/xml" ],
"produces" : [ "application/json", "application/xml" ],
"parameters" : [
{
"name" : "body",
"required" : false,
"in" : "body",
"schema" : {
"$ref" : "#/definitions/json_LdapGroupMapping",
"description" : ""
},
"description" : ""
}
],
"responses" : {
"204" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/ldapGroupMappingService/ldapGroups" : {
"get" : {
"tags" : [ "LdapGroupMappingService" ],
"operationId" : "getLdapGroups",
"produces" : [ "application/json", "application/xml" ],
"parameters" : [
],
"responses" : {
"200" : {
"schema" : {
"$ref" : "#/definitions/json_StringList",
"description" : ""
},
"examples" : {
"strings" : [ "...", "..." ]
},
"description" : ""
}
}
}
}
,
"\/ldapGroupMappingService/{group}" : {
"delete" : {
"tags" : [ "LdapGroupMappingService" ],
"operationId" : "removeLdapGroupMapping",
"produces" : [ "application/json", "application/xml" ],
"parameters" : [
{
"name" : "group",
"in" : "path",
"type" : "string",
"description" : ""
}
],
"responses" : {
"204" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/loginService/addAuthenticationKey" : {
"get" : {
"tags" : [ "LoginService" ],
"operationId" : "addAuthenticationKey",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "expirationMinutes",
"in" : "query",
"required" : true,
"type" : "integer",
"format" : "int32",
"description" : ""
},
{
"name" : "principal",
"in" : "query",
"type" : "string",
"description" : ""
},
{
"name" : "providerKey",
"in" : "query",
"type" : "string",
"description" : ""
},
{
"name" : "purpose",
"in" : "query",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "string"
},
"description" : ""
}
}
}
}
,
"\/loginService/isLogged" : {
"get" : {
"tags" : [ "LoginService" ],
"description" : "simply check if current user has an http session opened with authz passed and return user data",
"operationId" : "isLogged",
"produces" : [ "application/json", "application/xml" ],
"parameters" : [
],
"responses" : {
"200" : {
"schema" : {
"$ref" : "#/definitions/json_User",
"description" : ""
},
"examples" : {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
},
"description" : ""
}
}
}
}
,
"\/loginService/logIn" : {
"post" : {
"tags" : [ "LoginService" ],
"description" : "check username/password and create a http session.\nSo no more need of reuse username/password for all ajaxRequest",
"operationId" : "logIn",
"consumes" : [ "application/json", "application/xml" ],
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "body",
"required" : false,
"in" : "body",
"schema" : {
"$ref" : "#/definitions/json_LoginRequest",
"description" : ""
},
"description" : ""
}
],
"responses" : {
"201" : {
"schema" : {
"$ref" : "#/definitions/json_User",
"description" : ""
},
"examples" : {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
},
"description" : ""
}
}
}
}
,
"\/loginService/logout" : {
"get" : {
"tags" : [ "LoginService" ],
"description" : "clear user http session",
"operationId" : "logout",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/loginService/ping" : {
"get" : {
"tags" : [ "LoginService" ],
"operationId" : "ping",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/loginService/pingWithAutz" : {
"get" : {
"tags" : [ "LoginService" ],
"operationId" : "pingWithAutz",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/passwordService/changePassword" : {
"get" : {
"tags" : [ "PasswordService" ],
"description" : "used to change the password on passwordChangeRequired state.",
"operationId" : "changePassword",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "password",
"in" : "query",
"type" : "string",
"description" : ""
},
{
"name" : "passwordConfirmation",
"in" : "query",
"type" : "string",
"description" : ""
},
{
"name" : "previousPassword",
"in" : "query",
"type" : "string",
"description" : ""
},
{
"name" : "userName",
"in" : "query",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"$ref" : "#/definitions/json_User",
"description" : ""
},
"examples" : {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
},
"description" : ""
}
}
}
}
,
"\/passwordService/changePasswordWithKey" : {
"get" : {
"tags" : [ "PasswordService" ],
"description" : "used to change the password on first user connection after registration use.\nthe key is mandatory and a control will be done on the username provided.\n<b>need to be logged by UserService#validateUserFromKey(String)<\/b>",
"operationId" : "changePasswordWithKey",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "key",
"in" : "query",
"type" : "string",
"description" : ""
},
{
"name" : "password",
"in" : "query",
"type" : "string",
"description" : ""
},
{
"name" : "passwordConfirmation",
"in" : "query",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"$ref" : "#/definitions/json_User",
"description" : "username"
},
"examples" : {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
},
"description" : "username"
}
}
}
}
,
"\/roleManagementService/allRoles" : {
"get" : {
"tags" : [ "RoleManagementService" ],
"operationId" : "getAllRoles",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "array",
"items" : {
"$ref" : "#/definitions/json_Role"
}
},
"examples" : [ {
"name" : "...",
"description" : "...",
"assignable" : true,
"childRoleNames" : [ "...", "..." ],
"permissions" : [ {
"name" : "...",
"operation" : {
"name" : "...",
"description" : "...",
"permanent" : true
},
"resource" : {
"identifier" : "...",
"pattern" : true,
"permanent" : true
}
}, {
"name" : "...",
"operation" : {
"name" : "...",
"description" : "...",
"permanent" : true
},
"resource" : {
"identifier" : "...",
"pattern" : true,
"permanent" : true
}
} ],
"permanent" : true,
"parentRoleNames" : [ "...", "..." ],
"parentsRolesUsers" : [ {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
}, {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
} ],
"users" : [ {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
}, {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
} ],
"otherUsers" : [ {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
}, {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
} ],
"removedUsers" : [ {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
}, {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
} ]
} ],
"description" : ""
}
}
}
}
,
"\/roleManagementService/assignRole" : {
"get" : {
"tags" : [ "RoleManagementService" ],
"description" : "Assigns the role indicated by the roleId to the given principal",
"operationId" : "assignRole",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "principal",
"in" : "query",
"type" : "string",
"description" : ""
},
{
"name" : "roleId",
"in" : "query",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/roleManagementService/assignRoleByName" : {
"get" : {
"tags" : [ "RoleManagementService" ],
"description" : "Assigns the role indicated by the roleName to the given principal",
"operationId" : "assignRoleByName",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "principal",
"in" : "query",
"type" : "string",
"description" : ""
},
{
"name" : "roleName",
"in" : "query",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/roleManagementService/assignTemplatedRole" : {
"get" : {
"tags" : [ "RoleManagementService" ],
"description" : "Assigns the templated role indicated by the templateId\n\nfails if the templated role has not been created",
"operationId" : "assignTemplatedRole",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "principal",
"in" : "query",
"type" : "string",
"description" : ""
},
{
"name" : "resource",
"in" : "query",
"type" : "string",
"description" : ""
},
{
"name" : "templateId",
"in" : "query",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/roleManagementService/createTemplatedRole" : {
"get" : {
"tags" : [ "RoleManagementService" ],
"operationId" : "createTemplatedRole",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "resource",
"in" : "query",
"type" : "string",
"description" : ""
},
{
"name" : "templateId",
"in" : "query",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/roleManagementService/detailledAllRoles" : {
"get" : {
"tags" : [ "RoleManagementService" ],
"operationId" : "getDetailedAllRoles",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "array",
"items" : {
"$ref" : "#/definitions/json_Role"
}
},
"examples" : [ {
"name" : "...",
"description" : "...",
"assignable" : true,
"childRoleNames" : [ "...", "..." ],
"permissions" : [ {
"name" : "...",
"operation" : {
"name" : "...",
"description" : "...",
"permanent" : true
},
"resource" : {
"identifier" : "...",
"pattern" : true,
"permanent" : true
}
}, {
"name" : "...",
"operation" : {
"name" : "...",
"description" : "...",
"permanent" : true
},
"resource" : {
"identifier" : "...",
"pattern" : true,
"permanent" : true
}
} ],
"permanent" : true,
"parentRoleNames" : [ "...", "..." ],
"parentsRolesUsers" : [ {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
}, {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
} ],
"users" : [ {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
}, {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
} ],
"otherUsers" : [ {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
}, {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
} ],
"removedUsers" : [ {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
}, {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
} ]
} ],
"description" : ""
}
}
}
}
,
"\/roleManagementService/getApplicationRoles/{username}" : {
"get" : {
"tags" : [ "RoleManagementService" ],
"operationId" : "getApplicationRoles",
"produces" : [ "application/json", "application/xml" ],
"parameters" : [
{
"name" : "username",
"in" : "path",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "array",
"items" : {
"$ref" : "#/definitions/json_ApplicationRoles"
}
},
"examples" : [ {
"name" : "...",
"description" : "...",
"globalRoles" : [ "...", "..." ],
"roleTemplates" : [ {
"id" : "...",
"namePrefix" : "...",
"delimiter" : "...",
"description" : "...",
"resource" : "...",
"roles" : [ "...", "..." ]
}, {
"id" : "...",
"namePrefix" : "...",
"delimiter" : "...",
"description" : "...",
"resource" : "...",
"roles" : [ "...", "..." ]
} ],
"resources" : [ "...", "..." ]
} ],
"description" : ""
}
}
}
}
,
"\/roleManagementService/getApplications/{username}" : {
"get" : {
"tags" : [ "RoleManagementService" ],
"operationId" : "getApplications",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "username",
"in" : "path",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "array",
"items" : {
"$ref" : "#/definitions/json_Application"
}
},
"examples" : [ {
"version" : "...",
"id" : "...",
"description" : "...",
"longDescription" : "..."
} ],
"description" : ""
}
}
}
}
,
"\/roleManagementService/getEffectivelyAssignedRoles/{username}" : {
"get" : {
"tags" : [ "RoleManagementService" ],
"operationId" : "getEffectivelyAssignedRoles",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "username",
"in" : "path",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "array",
"items" : {
"$ref" : "#/definitions/json_Role"
}
},
"examples" : [ {
"name" : "...",
"description" : "...",
"assignable" : true,
"childRoleNames" : [ "...", "..." ],
"permissions" : [ {
"name" : "...",
"operation" : {
"name" : "...",
"description" : "...",
"permanent" : true
},
"resource" : {
"identifier" : "...",
"pattern" : true,
"permanent" : true
}
}, {
"name" : "...",
"operation" : {
"name" : "...",
"description" : "...",
"permanent" : true
},
"resource" : {
"identifier" : "...",
"pattern" : true,
"permanent" : true
}
} ],
"permanent" : true,
"parentRoleNames" : [ "...", "..." ],
"parentsRolesUsers" : [ {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
}, {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
} ],
"users" : [ {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
}, {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
} ],
"otherUsers" : [ {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
}, {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
} ],
"removedUsers" : [ {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
}, {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
} ]
} ],
"description" : ""
}
}
}
}
,
"\/roleManagementService/getRole/{roleName}" : {
"get" : {
"tags" : [ "RoleManagementService" ],
"operationId" : "getRole",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "roleName",
"in" : "path",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"$ref" : "#/definitions/json_Role",
"description" : ""
},
"examples" : {
"name" : "...",
"description" : "...",
"assignable" : true,
"childRoleNames" : [ "...", "..." ],
"permissions" : [ {
"name" : "...",
"operation" : {
"name" : "...",
"description" : "...",
"permanent" : true
},
"resource" : {
"identifier" : "...",
"pattern" : true,
"permanent" : true
}
}, {
"name" : "...",
"operation" : {
"name" : "...",
"description" : "...",
"permanent" : true
},
"resource" : {
"identifier" : "...",
"pattern" : true,
"permanent" : true
}
} ],
"permanent" : true,
"parentRoleNames" : [ "...", "..." ],
"parentsRolesUsers" : [ {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
}, {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
} ],
"users" : [ {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
}, {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
} ],
"otherUsers" : [ {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
}, {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
} ],
"removedUsers" : [ {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
}, {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
} ]
},
"description" : ""
}
}
}
}
,
"\/roleManagementService/removeTemplatedRole" : {
"get" : {
"tags" : [ "RoleManagementService" ],
"description" : "removes a role corresponding to the role Id that was manufactured with the given resource\n\nit also removes any user assignments for that role",
"operationId" : "removeTemplatedRole",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "resource",
"in" : "query",
"type" : "string",
"description" : ""
},
{
"name" : "templateId",
"in" : "query",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/roleManagementService/roleExists" : {
"get" : {
"tags" : [ "RoleManagementService" ],
"description" : "true of a role exists with the given roleId",
"operationId" : "roleExists",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "roleId",
"in" : "query",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/roleManagementService/templatedRoleExists" : {
"get" : {
"tags" : [ "RoleManagementService" ],
"description" : "true of a role exists with the given roleId",
"operationId" : "templatedRoleExists",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "resource",
"in" : "query",
"type" : "string",
"description" : ""
},
{
"name" : "templateId",
"in" : "query",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/roleManagementService/unassignRole" : {
"get" : {
"tags" : [ "RoleManagementService" ],
"description" : "Unassigns the role indicated by the role id from the given principal",
"operationId" : "unassignRole",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "principal",
"in" : "query",
"type" : "string",
"description" : ""
},
{
"name" : "roleId",
"in" : "query",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/roleManagementService/unassignRoleByName" : {
"get" : {
"tags" : [ "RoleManagementService" ],
"description" : "Unassigns the role indicated by the role name from the given principal",
"operationId" : "unassignRoleByName",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "principal",
"in" : "query",
"type" : "string",
"description" : ""
},
{
"name" : "roleName",
"in" : "query",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/roleManagementService/updateRole" : {
"get" : {
"tags" : [ "RoleManagementService" ],
"description" : "allows for a role coming from a template to be renamed effectively swapping out the bits of it that\nwere labeled with the oldResource with the newResource\n\nit also manages any user assignments for that role",
"operationId" : "updateRole",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "newResource",
"in" : "query",
"type" : "string",
"description" : ""
},
{
"name" : "oldResource",
"in" : "query",
"type" : "string",
"description" : ""
},
{
"name" : "templateId",
"in" : "query",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/roleManagementService/updateRoleDescription" : {
"get" : {
"tags" : [ "RoleManagementService" ],
"operationId" : "updateRoleDescription",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "roleDescription",
"in" : "query",
"type" : "string",
"description" : ""
},
{
"name" : "roleName",
"in" : "query",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/roleManagementService/updateRoleUsers" : {
"post" : {
"tags" : [ "RoleManagementService" ],
"description" : "update users assigned to a role",
"operationId" : "updateRoleUsers",
"consumes" : [ "application/json", "application/xml" ],
"produces" : [ "application/json", "application/xml" ],
"parameters" : [
{
"name" : "body",
"required" : false,
"in" : "body",
"schema" : {
"$ref" : "#/definitions/json_Role",
"description" : ""
},
"description" : ""
}
],
"responses" : {
"201" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/roleManagementService/updateUserRoles" : {
"post" : {
"tags" : [ "RoleManagementService" ],
"description" : "update roles assigned to a user",
"operationId" : "updateUserRoles",
"consumes" : [ "application/json", "application/xml" ],
"produces" : [ "application/json", "application/xml" ],
"parameters" : [
{
"name" : "body",
"required" : false,
"in" : "body",
"schema" : {
"$ref" : "#/definitions/json_User",
"description" : ""
},
"description" : ""
}
],
"responses" : {
"201" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/roleManagementService/verifyTemplatedRole" : {
"get" : {
"tags" : [ "RoleManagementService" ],
"description" : "Check a role template is complete in the RBAC store.",
"operationId" : "verifyTemplatedRole",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "resource",
"in" : "query",
"type" : "string",
"description" : "the resource to verify"
},
{
"name" : "templateId",
"in" : "query",
"type" : "string",
"description" : "the templated role"
}
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/userService/createAdminUser" : {
"post" : {
"tags" : [ "UserService" ],
"description" : "will create admin user only if not exists !! if exists will return false",
"operationId" : "createAdminUser",
"consumes" : [ "application/json", "application/xml" ],
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "body",
"required" : false,
"in" : "body",
"schema" : {
"$ref" : "#/definitions/json_User",
"description" : ""
},
"description" : ""
}
],
"responses" : {
"201" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/userService/createGuestUser" : {
"get" : {
"tags" : [ "UserService" ],
"operationId" : "createGuestUser",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
],
"responses" : {
"200" : {
"schema" : {
"$ref" : "#/definitions/json_User",
"description" : ""
},
"examples" : {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
},
"description" : ""
}
}
}
}
,
"\/userService/createUser" : {
"post" : {
"tags" : [ "UserService" ],
"operationId" : "createUser",
"consumes" : [ "application/json", "application/xml" ],
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "body",
"required" : false,
"in" : "body",
"schema" : {
"$ref" : "#/definitions/json_User",
"description" : ""
},
"description" : ""
}
],
"responses" : {
"201" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/userService/deleteUser/{userName}" : {
"get" : {
"tags" : [ "UserService" ],
"operationId" : "deleteUser",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "userName",
"in" : "path",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/userService/getCurrentUserOperations" : {
"get" : {
"tags" : [ "UserService" ],
"operationId" : "getCurrentUserOperations",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
],
"responses" : {
"200" : {
"schema" : {
"description" : "the current logged user operations, if no logged user guest operations are returned",
"type" : "array",
"items" : {
"$ref" : "#/definitions/json_Operation"
}
},
"examples" : [ {
"name" : "...",
"description" : "...",
"permanent" : true
} ],
"description" : "the current logged user operations, if no logged user guest operations are returned"
}
}
}
}
,
"\/userService/getCurrentUserPermissions" : {
"get" : {
"tags" : [ "UserService" ],
"operationId" : "getCurrentUserPermissions",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
],
"responses" : {
"200" : {
"schema" : {
"description" : "the current logged user permissions, if no logged user guest permissions are returned",
"type" : "array",
"items" : {
"$ref" : "#/definitions/json_Permission"
}
},
"examples" : [ {
"name" : "...",
"operation" : {
"name" : "...",
"description" : "...",
"permanent" : true
},
"resource" : {
"identifier" : "...",
"pattern" : true,
"permanent" : true
}
} ],
"description" : "the current logged user permissions, if no logged user guest permissions are returned"
}
}
}
}
,
"\/userService/getGuestUser" : {
"get" : {
"tags" : [ "UserService" ],
"operationId" : "getGuestUser",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
],
"responses" : {
"200" : {
"schema" : {
"$ref" : "#/definitions/json_User",
"description" : ""
},
"examples" : {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
},
"description" : ""
}
}
}
}
,
"\/userService/getUser/{userName}" : {
"get" : {
"tags" : [ "UserService" ],
"operationId" : "getUser",
"produces" : [ "application/json", "application/xml" ],
"parameters" : [
{
"name" : "userName",
"in" : "path",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"$ref" : "#/definitions/json_User",
"description" : ""
},
"examples" : {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
},
"description" : ""
}
}
}
}
,
"\/userService/getUserOperations/{userName}" : {
"get" : {
"tags" : [ "UserService" ],
"operationId" : "getUserOperations",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "userName",
"in" : "path",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "array",
"items" : {
"$ref" : "#/definitions/json_Operation"
}
},
"examples" : [ {
"name" : "...",
"description" : "...",
"permanent" : true
} ],
"description" : ""
}
}
}
}
,
"\/userService/getUserPermissions/{userName}" : {
"get" : {
"tags" : [ "UserService" ],
"operationId" : "getUserPermissions",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "userName",
"in" : "path",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "array",
"items" : {
"$ref" : "#/definitions/json_Permission"
}
},
"examples" : [ {
"name" : "...",
"operation" : {
"name" : "...",
"description" : "...",
"permanent" : true
},
"resource" : {
"identifier" : "...",
"pattern" : true,
"permanent" : true
}
} ],
"description" : ""
}
}
}
}
,
"\/userService/getUsers" : {
"get" : {
"tags" : [ "UserService" ],
"operationId" : "getUsers",
"produces" : [ "application/json", "application/xml" ],
"parameters" : [
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "array",
"items" : {
"$ref" : "#/definitions/json_User"
}
},
"examples" : [ {
"username" : "...",
"fullName" : "...",
"email" : "...",
"validated" : true,
"locked" : true,
"password" : "...",
"passwordChangeRequired" : true,
"permanent" : true,
"confirmPassword" : "...",
"timestampAccountCreation" : "...",
"timestampLastLogin" : "...",
"timestampLastPasswordChange" : "...",
"previousPassword" : "...",
"assignedRoles" : [ "...", "..." ],
"readOnly" : true,
"userManagerId" : "...",
"validationToken" : "..."
} ],
"description" : ""
}
}
}
}
,
"\/userService/isAdminUserExists" : {
"get" : {
"tags" : [ "UserService" ],
"operationId" : "isAdminUserExists",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/userService/lockUser/{username}" : {
"get" : {
"tags" : [ "UserService" ],
"operationId" : "lockUser",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "username",
"in" : "path",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/userService/passwordChangeNotRequired/{username}" : {
"get" : {
"tags" : [ "UserService" ],
"operationId" : "passwordChangeNotRequired",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "username",
"in" : "path",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/userService/passwordChangeRequired/{username}" : {
"get" : {
"tags" : [ "UserService" ],
"operationId" : "passwordChangeRequired",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "username",
"in" : "path",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/userService/ping" : {
"get" : {
"tags" : [ "UserService" ],
"operationId" : "ping2",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/userService/registerUser" : {
"post" : {
"tags" : [ "UserService" ],
"description" : "if redback is not configured for email validation is required, -1 is returned as key",
"operationId" : "registerUser",
"consumes" : [ "application/json", "application/xml" ],
"produces" : [ "application/json", "application/xml" ],
"parameters" : [
{
"name" : "body",
"required" : false,
"in" : "body",
"schema" : {
"$ref" : "#/definitions/json_UserRegistrationRequest",
"description" : ""
},
"description" : ""
}
],
"responses" : {
"201" : {
"schema" : {
"$ref" : "#/definitions/json_RegistrationKey",
"description" : ""
},
"examples" : {
"key" : "..."
},
"description" : ""
}
}
}
}
,
"\/userService/removeFromCache/{userName}" : {
"get" : {
"tags" : [ "UserService" ],
"operationId" : "removeFromCache",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "userName",
"in" : "path",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "integer",
"format" : "int32"
},
"description" : ""
}
}
}
}
,
"\/userService/resetPassword" : {
"post" : {
"tags" : [ "UserService" ],
"operationId" : "resetPassword",
"consumes" : [ "application/json", "application/xml" ],
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "body",
"required" : false,
"in" : "body",
"schema" : {
"$ref" : "#/definitions/json_ResetPasswordRequest",
"description" : "contains username for send a password reset email"
},
"description" : "contains username for send a password reset email"
}
],
"responses" : {
"201" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/userService/unlockUser/{username}" : {
"get" : {
"tags" : [ "UserService" ],
"operationId" : "unlockUser",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "username",
"in" : "path",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/userService/updateMe" : {
"post" : {
"tags" : [ "UserService" ],
"description" : "update only the current user and this fields: fullname, email, password.\nthe service verify the curent logged user with the one passed in the method",
"operationId" : "updateMe",
"consumes" : [ "application/json", "application/xml" ],
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "body",
"required" : false,
"in" : "body",
"schema" : {
"$ref" : "#/definitions/json_User",
"description" : ""
},
"description" : ""
}
],
"responses" : {
"201" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/userService/updateUser" : {
"post" : {
"tags" : [ "UserService" ],
"operationId" : "updateUser",
"consumes" : [ "application/json", "application/xml" ],
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "body",
"required" : false,
"in" : "body",
"schema" : {
"$ref" : "#/definitions/json_User",
"description" : ""
},
"description" : ""
}
],
"responses" : {
"201" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/userService/validateKey/{key}" : {
"get" : {
"tags" : [ "UserService" ],
"description" : "validate the key and the user with forcing a password change for next login.\nhttp session is created.",
"operationId" : "validateUserFromKey",
"produces" : [ "text/plain", "application/json", "application/xml" ],
"parameters" : [
{
"name" : "key",
"in" : "path",
"type" : "string",
"description" : "authentication key"
}
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "boolean"
},
"description" : ""
}
}
}
}
,
"\/utilServices/getBundleResources" : {
"get" : {
"tags" : [ "UtilServices" ],
"operationId" : "getI18nResources",
"produces" : [ "text/plain" ],
"parameters" : [
{
"name" : "locale",
"in" : "query",
"type" : "string",
"description" : ""
}
],
"responses" : {
"200" : {
"schema" : {
"description" : "",
"type" : "string"
},
"description" : ""
}
}
}
}
}
}