Filter Nft Items

This service returns Nft items with pagination

Filter Nft Items

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

It returns list of Nft items with pagination

Query Parameters

Headers

{
    // Response
}

Example Response Body

{
    "data": {
        "content": [
            {
                "id": 410,
                "name": "r/place - 300",
                "description": "Reddit r/place 2022 Edition - 300",
                "url": "https://stagingnftgift.s3.eu-west-1.amazonaws.com/1649243914981",
                "totalSupply": 300,
                "contractType": "ERC1155",
                "attributes": [
                    {
                        "traitType": "Pace",
                        "value": "5",
                        "icon": "icon"
                    },
                    {
                        "traitType": "Weight",
                        "value": "100",
                        "icon": "icon"
                    }
                ],
                "categories": [
                    {
                        "id": 315,
                        "name": "Car"
                    }
                ]
            },
            {
                "id": 409,
                "name": "r/place - 180",
                "description": "Reddit r/place 2022 Edition - 180",
                "url": "https://stagingnftgift.s3.eu-west-1.amazonaws.com/1649243914981",
                "totalSupply": 180,
                "contractType": "ERC1155",
                "attributes": [],
                "categories": []
            },
            {
                "id": 408,
                "name": "r/place - 90",
                "description": "Reddit r/place 2022 Edition - 90",
                "url": "https://stagingnftgift.s3.eu-west-1.amazonaws.com/1649243914981",
                "totalSupply": 90,
                "contractType": "ERC1155",
                "attributes": [],
                "categories": []
            },
            {
                "id": 388,
                "name": "r/place",
                "description": "Reddit r/place 2022 Edition",
                "url": "https://stagingnftgift.s3.eu-west-1.amazonaws.com/1649243914981",
                "totalSupply": 50,
                "contractType": "ERC1155",
                "attributes": [],
                "categories": []
            },
            {
                "id": 348,
                "name": "r/place - 1",
                "description": "Reddit r/place 2022 Edition - 1",
                "url": "https://stagingnftgift.s3.eu-west-1.amazonaws.com/1649243914981",
                "totalSupply": 1,
                "contractType": "ERC721",
                "attributes": [],
                "categories": []
            }
        ],
        "pageable": {
            "sort": {
                "sorted": true,
                "unsorted": false,
                "empty": false
            },
            "pageNumber": 0,
            "pageSize": 10,
            "offset": 0,
            "paged": true,
            "unpaged": false
        },
        "totalPages": 1,
        "totalElements": 5,
        "last": true,
        "numberOfElements": 5,
        "number": 0,
        "size": 10,
        "first": true,
        "sort": {
            "sorted": true,
            "unsorted": false,
            "empty": false
        },
        "empty": false
    },
    "message": null,
    "code": 0,
    "error": false
}

Response Fields

Last updated