Filter Nft Item Attributes

This service returns Nft item attributes with pagination

Filter Nft Item Attributes

GET {{server-url}}/nft-items/attributes/filter

It returns list of Nft items with pagination

Query Parameters

Name
Type
Description

page

Number

Represents page number. Default 0

traitType

String

Represents attribute's name

orderDirection

String

Represents order direction. It can be ASC or DESC. Default DESC

size

Number

Represents content size. Default 10

nftItemId

Number

Represents Nft Item's identifier

Headers

Name
Type
Description

Authorization*

String

UUID formatted access token

PROJECT-ID*

String

UUID formatted project's identifier

{
    // Response
}

Example Response Body

{
    "data": {
        "content": [
            {
                "id": 1255,
                "traitType": "Weight",
                "value": "60",
                "icon": "icon"
            }
        ],
        "pageable": {
            "sort": {
                "unsorted": false,
                "sorted": true,
                "empty": false
            },
            "pageNumber": 0,
            "pageSize": 10,
            "offset": 0,
            "paged": true,
            "unpaged": false
        },
        "totalPages": 1,
        "totalElements": 1,
        "last": true,
        "numberOfElements": 1,
        "sort": {
            "unsorted": false,
            "sorted": true,
            "empty": false
        },
        "first": true,
        "number": 0,
        "size": 10,
        "empty": false
    },
    "message": null,
    "code": 0,
    "error": false
}

Response Fields

Key
Type
Description

id

Number

Represents nft item attribute's identifier.

traitType

String

Represents attribute's name.

value

String

Represents attribute's value

icon

String

Represents attribute's icon url.

Last updated