Preparing search index...
The search index is not available
lootex - v0.2.0
lootex
api/endpoints/collection
createCollectionEndpoints
Function createCollectionEndpoints
create
Collection
Endpoints
(
request
)
:
{
getAccountCollections
:
(
(
params
:
GetAccountCollectionsParams
)
=>
Promise
<
GetAccountCollectionsResponse
>
)
;
getCollection
:
(
(
collectionSlug
:
string
)
=>
Promise
<
LootexCollection
>
)
;
getCollectionDropInfo
:
(
(
params
:
GetCollectionDropInfoParams
)
=>
Promise
<
GetCollectionDropInfoResponse
>
)
;
getCollectionsBySlugs
:
(
(
params
:
{
slugs
:
string
[]
;
}
)
=>
Promise
<
LootexCollection
[]
>
)
;
getMantleCollections
:
(
(
params
:
GetMantleCollectionsParams
)
=>
Promise
<
GetMantleCollectionsResponse
>
)
;
getMetadata
:
(
(
collectionSlug
:
string
)
=>
Promise
<
LootexCollectionMetadata
>
)
;
getTradingBoard
:
(
(
params
:
GetCollectionTradingBoardParams
)
=>
Promise
<
GetCollectionTradingBoardResponse
>
)
;
getTraits
:
(
(
params
:
GetCollectionTraitsParams
)
=>
Promise
<
GetCollectionTraitsResponse
>
)
;
import
:
(
(
params
:
ImportCollectionParams
)
=>
Promise
<
LootexCollection
>
)
;
personal
:
(
(
params
:
Partial
<
GetCollectionsParams
>
)
=>
Promise
<
GetCollectionsResponse
>
)
;
updateCollection
:
(
(
params
:
Partial
<
LootexCollection
>
)
=>
Promise
<
LootexCollection
>
)
;
updateVerification
:
(
(
params
:
{
slug
:
string
;
}
)
=>
Promise
<
unknown
>
)
;
uploadBanner
:
(
(
file
:
File
)
=>
Promise
<
{
url
:
string
;
}
>
)
;
uploadFeatured
:
(
(
file
:
File
)
=>
Promise
<
{
url
:
string
;
}
>
)
;
uploadLogo
:
(
(
file
:
File
)
=>
Promise
<
{
url
:
string
;
}
>
)
;
}
Parameters
request
:
(
<
ResponseBody
>
(
__namedParameters
:
RequestOptions
)
=>
Promise
<
ResponseBody
>
)
<
ResponseBody
>
(
__namedParameters
)
:
Promise
<
ResponseBody
>
Type Parameters
ResponseBody
Parameters
__namedParameters
:
RequestOptions
Returns
Promise
<
ResponseBody
>
Returns
{
getAccountCollections
:
(
(
params
:
GetAccountCollectionsParams
)
=>
Promise
<
GetAccountCollectionsResponse
>
)
;
getCollection
:
(
(
collectionSlug
:
string
)
=>
Promise
<
LootexCollection
>
)
;
getCollectionDropInfo
:
(
(
params
:
GetCollectionDropInfoParams
)
=>
Promise
<
GetCollectionDropInfoResponse
>
)
;
getCollectionsBySlugs
:
(
(
params
:
{
slugs
:
string
[]
;
}
)
=>
Promise
<
LootexCollection
[]
>
)
;
getMantleCollections
:
(
(
params
:
GetMantleCollectionsParams
)
=>
Promise
<
GetMantleCollectionsResponse
>
)
;
getMetadata
:
(
(
collectionSlug
:
string
)
=>
Promise
<
LootexCollectionMetadata
>
)
;
getTradingBoard
:
(
(
params
:
GetCollectionTradingBoardParams
)
=>
Promise
<
GetCollectionTradingBoardResponse
>
)
;
getTraits
:
(
(
params
:
GetCollectionTraitsParams
)
=>
Promise
<
GetCollectionTraitsResponse
>
)
;
import
:
(
(
params
:
ImportCollectionParams
)
=>
Promise
<
LootexCollection
>
)
;
personal
:
(
(
params
:
Partial
<
GetCollectionsParams
>
)
=>
Promise
<
GetCollectionsResponse
>
)
;
updateCollection
:
(
(
params
:
Partial
<
LootexCollection
>
)
=>
Promise
<
LootexCollection
>
)
;
updateVerification
:
(
(
params
:
{
slug
:
string
;
}
)
=>
Promise
<
unknown
>
)
;
uploadBanner
:
(
(
file
:
File
)
=>
Promise
<
{
url
:
string
;
}
>
)
;
uploadFeatured
:
(
(
file
:
File
)
=>
Promise
<
{
url
:
string
;
}
>
)
;
uploadLogo
:
(
(
file
:
File
)
=>
Promise
<
{
url
:
string
;
}
>
)
;
}
get
Account
Collections
:
(
(
params
:
GetAccountCollectionsParams
)
=>
Promise
<
GetAccountCollectionsResponse
>
)
(
params
)
:
Promise
<
GetAccountCollectionsResponse
>
Parameters
params
:
GetAccountCollectionsParams
Returns
Promise
<
GetAccountCollectionsResponse
>
get
Collection
:
(
(
collectionSlug
:
string
)
=>
Promise
<
LootexCollection
>
)
(
collectionSlug
)
:
Promise
<
LootexCollection
>
Parameters
collectionSlug
:
string
Returns
Promise
<
LootexCollection
>
get
Collection
Drop
Info
:
(
(
params
:
GetCollectionDropInfoParams
)
=>
Promise
<
GetCollectionDropInfoResponse
>
)
(
params
)
:
Promise
<
GetCollectionDropInfoResponse
>
Parameters
params
:
GetCollectionDropInfoParams
Returns
Promise
<
GetCollectionDropInfoResponse
>
get
Collections
By
Slugs
:
(
(
params
:
{
slugs
:
string
[]
;
}
)
=>
Promise
<
LootexCollection
[]
>
)
(
params
)
:
Promise
<
LootexCollection
[]
>
Parameters
params
:
{
slugs
:
string
[]
;
}
slugs
:
string
[]
Returns
Promise
<
LootexCollection
[]
>
get
Mantle
Collections
:
(
(
params
:
GetMantleCollectionsParams
)
=>
Promise
<
GetMantleCollectionsResponse
>
)
(
params
)
:
Promise
<
GetMantleCollectionsResponse
>
Parameters
params
:
GetMantleCollectionsParams
Returns
Promise
<
GetMantleCollectionsResponse
>
get
Metadata
:
(
(
collectionSlug
:
string
)
=>
Promise
<
LootexCollectionMetadata
>
)
(
collectionSlug
)
:
Promise
<
LootexCollectionMetadata
>
Parameters
collectionSlug
:
string
Returns
Promise
<
LootexCollectionMetadata
>
get
Trading
Board
:
(
(
params
:
GetCollectionTradingBoardParams
)
=>
Promise
<
GetCollectionTradingBoardResponse
>
)
(
params
)
:
Promise
<
GetCollectionTradingBoardResponse
>
Parameters
params
:
GetCollectionTradingBoardParams
Returns
Promise
<
GetCollectionTradingBoardResponse
>
get
Traits
:
(
(
params
:
GetCollectionTraitsParams
)
=>
Promise
<
GetCollectionTraitsResponse
>
)
(
params
)
:
Promise
<
GetCollectionTraitsResponse
>
Parameters
params
:
GetCollectionTraitsParams
Returns
Promise
<
GetCollectionTraitsResponse
>
import
:
(
(
params
:
ImportCollectionParams
)
=>
Promise
<
LootexCollection
>
)
(
params
)
:
Promise
<
LootexCollection
>
Parameters
params
:
ImportCollectionParams
Returns
Promise
<
LootexCollection
>
personal
:
(
(
params
:
Partial
<
GetCollectionsParams
>
)
=>
Promise
<
GetCollectionsResponse
>
)
(
params
)
:
Promise
<
GetCollectionsResponse
>
Parameters
params
:
Partial
<
GetCollectionsParams
>
Returns
Promise
<
GetCollectionsResponse
>
update
Collection
:
(
(
params
:
Partial
<
LootexCollection
>
)
=>
Promise
<
LootexCollection
>
)
(
params
)
:
Promise
<
LootexCollection
>
Parameters
params
:
Partial
<
LootexCollection
>
Returns
Promise
<
LootexCollection
>
update
Verification
:
(
(
params
:
{
slug
:
string
;
}
)
=>
Promise
<
unknown
>
)
(
params
)
:
Promise
<
unknown
>
Parameters
params
:
{
slug
:
string
;
}
slug
:
string
Returns
Promise
<
unknown
>
upload
Banner
:
(
(
file
:
File
)
=>
Promise
<
{
url
:
string
;
}
>
)
(
file
)
:
Promise
<
{
url
:
string
;
}
>
Parameters
file
:
File
Returns
Promise
<
{
url
:
string
;
}
>
upload
Featured
:
(
(
file
:
File
)
=>
Promise
<
{
url
:
string
;
}
>
)
(
file
)
:
Promise
<
{
url
:
string
;
}
>
Parameters
file
:
File
Returns
Promise
<
{
url
:
string
;
}
>
upload
Logo
:
(
(
file
:
File
)
=>
Promise
<
{
url
:
string
;
}
>
)
(
file
)
:
Promise
<
{
url
:
string
;
}
>
Parameters
file
:
File
Returns
Promise
<
{
url
:
string
;
}
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
lootex - v0.2.0
Loading...