CollectionsApi

class CollectionsApi(basePath: String) : ApiClient

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun createCollection(imXSignature: String, imXTimestamp: String, createCollectionRequest: CreateCollectionRequest): Collection

Create collection Create collection

Link copied to clipboard
fun createCollectionRequestConfig(imXSignature: String, imXTimestamp: String, createCollectionRequest: CreateCollectionRequest): RequestConfig<CreateCollectionRequest>

To obtain the request config of the operation createCollection

Link copied to clipboard
fun getCollection(address: String): Collection

Get details of a collection at the given address Get details of a collection at the given address

Link copied to clipboard
fun getCollectionRequestConfig(address: String): RequestConfig<Unit>

To obtain the request config of the operation getCollection

Link copied to clipboard
fun listCollectionFilters(address: String, pageSize: Int? = null, nextPageToken: String? = null): CollectionFilter

Get a list of collection filters Get a list of collection filters

Link copied to clipboard
fun listCollectionFiltersRequestConfig(address: String, pageSize: Int?, nextPageToken: String?): RequestConfig<Unit>

To obtain the request config of the operation listCollectionFilters

Link copied to clipboard
fun listCollections(pageSize: Int? = null, cursor: String? = null, orderBy: String? = null, direction: String? = null, blacklist: String? = null, whitelist: String? = null, keyword: String? = null): ListCollectionsResponse

Get a list of collections Get a list of collections

Link copied to clipboard
fun listCollectionsRequestConfig(pageSize: Int?, cursor: String?, orderBy: String?, direction: String?, blacklist: String?, whitelist: String?, keyword: String?): RequestConfig<Unit>

To obtain the request config of the operation listCollections

Link copied to clipboard
fun updateCollection(address: String, imXSignature: String, imXTimestamp: String, updateCollectionRequest: UpdateCollectionRequest): Collection

Update collection Update collection

Link copied to clipboard
fun updateCollectionRequestConfig(address: String, imXSignature: String, imXTimestamp: String, updateCollectionRequest: UpdateCollectionRequest): RequestConfig<UpdateCollectionRequest>

To obtain the request config of the operation updateCollection

Properties

Link copied to clipboard
val baseUrl: String