Filter Project Sessions

This service returns project sessions with pagination

Filter Project Sessions

GET {{server-url}}/project-sessions/filter

It returns list of project sessions with pagination

Query Parameters

Name
Type
Description

page

Number

Represents page number. Default 0

orderDirection

String

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

size

Number

Represents content size. Default 10

address

String

Represents user's wallet address that project session created for.

status

String

Represents project session's status

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": 610,
                "address": "0x1c2fE603d4C794137E30131B5D91d3A699341994",
                "sessionId": "a982c80e-497d-4066-aea7-6deba4377dcb",
                "status": "ACTIVE",
                "projectId": "b2e5ab50-f3d5-43ed-8761-eeba5913a72c"
            }
        ],
        "pageable": {
            "sort": {
                "sorted": true,
                "unsorted": false,
                "empty": false
            },
            "pageNumber": 0,
            "pageSize": 10,
            "offset": 0,
            "paged": true,
            "unpaged": false
        },
        "totalPages": 1,
        "totalElements": 1,
        "last": true,
        "numberOfElements": 1,
        "number": 0,
        "first": true,
        "size": 10,
        "sort": {
            "sorted": true,
            "unsorted": false,
            "empty": false
        },
        "empty": false
    },
    "message": null,
    "code": 0,
    "error": false
}

Response Fields

Key
Type
Description

id

Number

Represents project session's identifier

address

String

Represents user's wallet address that project session created for.

sessionId

String

Represents UUID formatted identifier.

status

Number

Represents project session's status

projectId

Object

Represents UUID formatted project identifier.

Last updated