Filter Projects

This service returns projects with pagination

Filter Projects

GET {{server-url}}/projects/filter

It returns list of projects with pagination

Query Parameters

Name
Type
Description

page

Number

Represents page number. Default 0

name

String

Represents project's name

orderDirection

String

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

size

Number

Represents content size. Default 10

projectId

String

Represents UUID formatted project's identifier

Headers

Name
Type
Description

Authorization*

String

UUID formatted access token

{
    // Response
}

Example Response Body

{
  "data": {
    "content": [
      {
        "id": 527,
        "name": "150422-1 Project-1",
        "projectId": "b2e5ab50-f3d5-43ed-8761-eeba5913a72c",
        "contractList": [
          {
            "id": 533,
            "address": "0xe93cc426001eA2b5972Bd36F6b9744E9B4885b16",
            "artifactName": "Qaf721",
            "type": "ERC721",
            "projectId": "b2e5ab50-f3d5-43ed-8761-eeba5913a72c"
          },
          {
            "id": 536,
            "address": "0xd39077cfB4FBa3f373045AEF798E41f10c59e88c",
            "artifactName": "Qaf1155",
            "type": "ERC1155",
            "projectId": "b2e5ab50-f3d5-43ed-8761-eeba5913a72c"
          },
          {
            "id": 539,
            "address": "0x1ac7a0A23648CB31Ff2117369b0Ab42331D06120",
            "artifactName": "QafMarketplace",
            "type": "MARKETPLACE",
            "projectId": "b2e5ab50-f3d5-43ed-8761-eeba5913a72c"
          }
        ]
      }
    ],
    "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,
    "number": 0,
    "sort": {
      "unsorted": false,
      "sorted": true,
      "empty": false
    },
    "first": true,
    "size": 10,
    "empty": false
  },
  "message": null,
  "code": 0,
  "error": false
}

Response Fields

Key
Type
Description

id

Number

Represents project's identifier

name

String

Represents project's name

projectId

String

Represents UUID formatted project's identifier

contractList

Array

Represents deployed contracts for the project

network

Object

Represents network object

Last updated