class AdminApi extends CirceSchema
- Alphabetic
- By Inheritance
- AdminApi
- CirceSchema
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new AdminApi(baseUrl: String)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- implicit val AnyFormat: Encoder[Any] with Decoder[Any]
- Definition Classes
- CirceSchema
- implicit val ConfigFormat: Encoder[MongoCampConfiguration]
- Definition Classes
- CirceSchema
- implicit val DateFormat: Encoder[Date] with Decoder[Date]
- Definition Classes
- CirceSchema
- implicit val DateTimeFormat: Encoder[DateTime] with Decoder[DateTime]
- Definition Classes
- CirceSchema
- implicit val MapStringAnyFormat: Encoder[Map[String, Any]] with Decoder[Map[String, Any]]
- Definition Classes
- CirceSchema
- implicit val ObjectIdFormat: Encoder[ObjectId] with Decoder[ObjectId]
- Definition Classes
- CirceSchema
- def addRole(username: String, password: String, bearerToken: String, apiKey: String)(role: Role): RequestT[Identity, Either[ResponseException[String, Error], Role], Any with Any]
Add a new Role
Add a new Role
Expected answers: code 200 : Role () code 400 : String (Invalid value for: body) code 0 : ErrorDescription () Headers : x-error-code - Error Code x-error-message - Message of the MongoCampException x-error-additional-info - Additional information for the MongoCampException
Available security schemes: httpAuth1 (http) httpAuth (http) apiKeyAuth (apiKey)
- def addUser(username: String, password: String, bearerToken: String, apiKey: String)(userInformation: UserInformation): RequestT[Identity, Either[ResponseException[String, Error], UserProfile], Any with Any]
Add a new User
Add a new User
Expected answers: code 200 : UserProfile () code 400 : String (Invalid value for: body) code 0 : ErrorDescription () Headers : x-error-code - Error Code x-error-message - Message of the MongoCampException x-error-additional-info - Additional information for the MongoCampException
Available security schemes: httpAuth1 (http) httpAuth (http) apiKeyAuth (apiKey)
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def decodeFromJson(json: Json): Any
- Definition Classes
- CirceSchema
- def deleteRole(username: String, password: String, bearerToken: String, apiKey: String)(roleName: String): RequestT[Identity, Either[ResponseException[String, Error], JsonValueBoolean], Any with Any]
Delete Role
Delete Role
Expected answers: code 200 : JsonValueBoolean () code 0 : ErrorDescription () Headers : x-error-code - Error Code x-error-message - Message of the MongoCampException x-error-additional-info - Additional information for the MongoCampException
Available security schemes: httpAuth1 (http) httpAuth (http) apiKeyAuth (apiKey)
- roleName
RoleKey
- def deleteUser(username: String, password: String, bearerToken: String, apiKey: String)(userId: String): RequestT[Identity, Either[ResponseException[String, Error], JsonValueBoolean], Any with Any]
Delete User
Delete User
Expected answers: code 200 : JsonValueBoolean () code 0 : ErrorDescription () Headers : x-error-code - Error Code x-error-message - Message of the MongoCampException x-error-additional-info - Additional information for the MongoCampException
Available security schemes: httpAuth1 (http) httpAuth (http) apiKeyAuth (apiKey)
- userId
UserId to Delete
- def encodeAnyToJson(a: Any, deepth: Int): Json
- Definition Classes
- CirceSchema
- def encodeMapStringAny(a: Map[String, Any]): Json
- Definition Classes
- CirceSchema
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getRole(username: String, password: String, bearerToken: String, apiKey: String)(roleName: String): RequestT[Identity, Either[ResponseException[String, Error], Role], Any with Any]
Get Role by RoleKey
Get Role by RoleKey
Expected answers: code 200 : Role () code 0 : ErrorDescription () Headers : x-error-code - Error Code x-error-message - Message of the MongoCampException x-error-additional-info - Additional information for the MongoCampException
Available security schemes: httpAuth1 (http) httpAuth (http) apiKeyAuth (apiKey)
- roleName
RoleKey to search
- def getUser(username: String, password: String, bearerToken: String, apiKey: String)(userId: String): RequestT[Identity, Either[ResponseException[String, Error], UserProfile], Any with Any]
Get UserProfile for user
Get UserProfile for user
Expected answers: code 200 : UserProfile () code 0 : ErrorDescription () Headers : x-error-code - Error Code x-error-message - Message of the MongoCampException x-error-additional-info - Additional information for the MongoCampException
Available security schemes: httpAuth1 (http) httpAuth (http) apiKeyAuth (apiKey)
- userId
UserId to search
- def gnerateNewApiKeyForUser(username: String, password: String, bearerToken: String, apiKey: String)(userId: String): RequestT[Identity, Either[ResponseException[String, Error], JsonValueString], Any with Any]
Generate an new APIkey for the user
Generate an new APIkey for the user
Expected answers: code 200 : JsonValueString () code 0 : ErrorDescription () Headers : x-error-code - Error Code x-error-message - Message of the MongoCampException x-error-additional-info - Additional information for the MongoCampException
Available security schemes: httpAuth1 (http) httpAuth (http) apiKeyAuth (apiKey)
- userId
UserId to Update
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def listRoles(username: String, password: String, bearerToken: String, apiKey: String)(filter: Option[String] = None, rowsPerPage: Option[Long] = None, page: Option[Long] = None): RequestT[Identity, Either[ResponseException[String, Error], Seq[Role]], Any with Any]
List all Roles or filtered
List all Roles or filtered
Expected answers: code 200 : Seq[Role] () Headers : x-pagination-count-rows - count all elements x-pagination-rows-per-page - Count elements per page x-pagination-current-page - Current page x-pagination-count-pages - Count pages code 400 : String (Invalid value for: query parameter filter, Invalid value for: query parameter rowsPerPage, Invalid value for: query parameter page) code 0 : ErrorDescription () Headers : x-error-code - Error Code x-error-message - Message of the MongoCampException x-error-additional-info - Additional information for the MongoCampException
Available security schemes: httpAuth1 (http) httpAuth (http) apiKeyAuth (apiKey)
- filter
filter after userId by contains
- rowsPerPage
Count elements per page
- page
Requested page of the ResultSets
- def listUsers(username: String, password: String, bearerToken: String, apiKey: String)(filter: Option[String] = None, rowsPerPage: Option[Long] = None, page: Option[Long] = None): RequestT[Identity, Either[ResponseException[String, Error], Seq[UserProfile]], Any with Any]
List all Users or filtered
List all Users or filtered
Expected answers: code 200 : Seq[UserProfile] () Headers : x-pagination-count-rows - count all elements x-pagination-rows-per-page - Count elements per page x-pagination-current-page - Current page x-pagination-count-pages - Count pages code 400 : String (Invalid value for: query parameter filter, Invalid value for: query parameter rowsPerPage, Invalid value for: query parameter page) code 0 : ErrorDescription () Headers : x-error-code - Error Code x-error-message - Message of the MongoCampException x-error-additional-info - Additional information for the MongoCampException
Available security schemes: httpAuth1 (http) httpAuth (http) apiKeyAuth (apiKey)
- filter
filter after userId by contains
- rowsPerPage
Count elements per page
- page
Requested page of the ResultSets
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def updatePasswordForUser(username: String, password: String, bearerToken: String, apiKey: String)(userId: String, passwordUpdateRequest: PasswordUpdateRequest): RequestT[Identity, Either[ResponseException[String, Error], JsonValueBoolean], Any with Any]
Change Password of User
Change Password of User
Expected answers: code 200 : JsonValueBoolean () code 400 : String (Invalid value for: body) code 0 : ErrorDescription () Headers : x-error-code - Error Code x-error-message - Message of the MongoCampException x-error-additional-info - Additional information for the MongoCampException
Available security schemes: httpAuth1 (http) httpAuth (http) apiKeyAuth (apiKey)
- userId
UserId to Update
- def updateRole(username: String, password: String, bearerToken: String, apiKey: String)(roleName: String, updateRoleRequest: UpdateRoleRequest): RequestT[Identity, Either[ResponseException[String, Error], Role], Any with Any]
Update Role
Update Role
Expected answers: code 200 : Role () code 400 : String (Invalid value for: body) code 0 : ErrorDescription () Headers : x-error-code - Error Code x-error-message - Message of the MongoCampException x-error-additional-info - Additional information for the MongoCampException
Available security schemes: httpAuth1 (http) httpAuth (http) apiKeyAuth (apiKey)
- roleName
RoleKey
- def updateRolesForUser(username: String, password: String, bearerToken: String, apiKey: String)(userId: String, requestBody: Seq[String]): RequestT[Identity, Either[ResponseException[String, Error], UserProfile], Any with Any]
Update Roles of User
Update Roles of User
Expected answers: code 200 : UserProfile () code 400 : String (Invalid value for: body) code 0 : ErrorDescription () Headers : x-error-code - Error Code x-error-message - Message of the MongoCampException x-error-additional-info - Additional information for the MongoCampException
Available security schemes: httpAuth1 (http) httpAuth (http) apiKeyAuth (apiKey)
- userId
UserId to Update
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)