class IndexApi extends CirceSchema
- Alphabetic
- By Inheritance
- IndexApi
- CirceSchema
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new IndexApi(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
- 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 createExpiringIndex(username: String, password: String, bearerToken: String, apiKey: String)(collectionName: String, fieldName: String, duration: String, sortAscending: Option[Boolean] = None, name: Option[String] = None): RequestT[Identity, Either[ResponseException[String, Error], IndexCreateResponse], Any with Any]
Create expiring Index by Field for given Collection
Create expiring Index by Field for given Collection
Expected answers: code 200 : IndexCreateResponse () code 400 : String (Invalid value for: query parameter sortAscending, Invalid value for: query parameter name) 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)
- collectionName
The name of your MongoDb Collection
- fieldName
The field Name for your index
- duration
Expiring Duration in format 15d (https://www.scala-lang.org/api/2.13.7/scala/concurrent/duration/Duration.html)
- sortAscending
Sort your index ascending
- name
Name for your index
- def createIndex(username: String, password: String, bearerToken: String, apiKey: String)(collectionName: String, indexCreateRequest: IndexCreateRequest): RequestT[Identity, Either[ResponseException[String, Error], IndexCreateResponse], Any with Any]
Create Index for given Collection
Create Index for given Collection
Expected answers: code 200 : IndexCreateResponse () 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)
- collectionName
The name of your MongoDb Collection
- def createIndexForField(username: String, password: String, bearerToken: String, apiKey: String)(collectionName: String, fieldName: String, sortAscending: Option[Boolean] = None, indexOptionsRequest: Option[IndexOptionsRequest] = None): RequestT[Identity, Either[ResponseException[String, Error], IndexCreateResponse], Any with Any]
Create Index by Field for given Collection
Create Index by Field for given Collection
Expected answers: code 200 : IndexCreateResponse () code 400 : String (Invalid value for: query parameter sortAscending, 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)
- collectionName
The name of your MongoDb Collection
- fieldName
The field Name for your index
- sortAscending
Sort your index ascending
- def createTextIndex(username: String, password: String, bearerToken: String, apiKey: String)(collectionName: String, fieldName: String, indexOptionsRequest: Option[IndexOptionsRequest] = None): RequestT[Identity, Either[ResponseException[String, Error], IndexCreateResponse], Any with Any]
Create text index by field for given collection
Create text index by field for given collection
Expected answers: code 200 : IndexCreateResponse () 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)
- collectionName
The name of your MongoDb Collection
- fieldName
The field Name for your index
- def createUniqueIndex(username: String, password: String, bearerToken: String, apiKey: String)(collectionName: String, fieldName: String, sortAscending: Option[Boolean] = None, name: Option[String] = None): RequestT[Identity, Either[ResponseException[String, Error], IndexCreateResponse], Any with Any]
Create Unique Index by Field for given Collection
Create Unique Index by Field for given Collection
Expected answers: code 200 : IndexCreateResponse () code 400 : String (Invalid value for: query parameter sortAscending, Invalid value for: query parameter name) 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)
- collectionName
The name of your MongoDb Collection
- fieldName
The field Name for your index
- sortAscending
Sort your index ascending
- name
Name for your index
- def decodeFromJson(json: Json): Any
- Definition Classes
- CirceSchema
- def deleteIndex(username: String, password: String, bearerToken: String, apiKey: String)(collectionName: String, indexName: String): RequestT[Identity, Either[ResponseException[String, Error], IndexDropResponse], Any with Any]
Delete Index by Name for given Collection
Delete Index by Name for given Collection
Expected answers: code 200 : IndexDropResponse () 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)
- collectionName
The name of your MongoDb Collection
- indexName
The name of your Index
- 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 hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def index(username: String, password: String, bearerToken: String, apiKey: String)(collectionName: String, indexName: String): RequestT[Identity, Either[ResponseException[String, Error], MongoIndex], Any with Any]
Index by Name for given Collection
Index by Name for given Collection
Expected answers: code 200 : MongoIndex () 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)
- collectionName
The name of your MongoDb Collection
- indexName
The name of your Index
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def listIndices(username: String, password: String, bearerToken: String, apiKey: String)(collectionName: String): RequestT[Identity, Either[ResponseException[String, Error], Seq[MongoIndex]], Any with Any]
List all Indices for given Collection
List all Indices for given Collection
Expected answers: code 200 : Seq[MongoIndex] () 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)
- collectionName
The name of your MongoDb Collection
- 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
- 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)