GET /mindmaps

Retrieves paginated list of mindmaps with thumbnails.

Query parameters

  • page integer

    Page number

    Minimum value is 1. Default value is 1.

  • pageSize integer

    Number of mindmaps per page (1-100)

    Minimum value is 1, maximum value is 100. Default value is 10.

  • filter string

    Filter mindmaps by title (case-insensitive search)

    Maximum length is 100.

  • sort string

    Sort order - ascending (asc) or descending (desc)

    Values are asc or desc. Default value is asc.

Responses

  • 200 application/json

    success

    Hide response attributes Show response attributes object
    • success boolean
    • code integer(int32)
    • message string
    • data array[object]
      Hide data attributes Show data attributes object
      • id string
      • title string
      • thumbnail string(uri)
      • createdAt string(date-time)
      • updatedAt string(date-time)
    • pagination object
      Hide pagination attributes Show pagination attributes object
      • currentPage

        The current page number (1-based indexing)

      • pageSize

        Number of items per page

      • totalItems

        Total number of items across all pages

      • totalPages

        Total number of available pages

  • 500 application/json

    Internal Server Error

    Hide response attributes Show response attributes object
    • success boolean
    • code integer
    • errorCode string
    • message string
    • timestamp string(date-time)
GET /mindmaps
curl \
 --request GET 'http://localhost:8080/api/mindmaps' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "success": true,
  "code": 200,
  "message": "string",
  "data": [
    {
      "id": "string",
      "title": "string",
      "thumbnail": "https://example.com",
      "createdAt": "2025-05-04T09:42:00Z",
      "updatedAt": "2025-05-04T09:42:00Z"
    }
  ],
  "pagination": {
    "currentPage": 1,
    "pageSize": 10,
    "totalItems": 100,
    "totalPages": 10
  }
}
Response examples (500)
{
  "success": false,
  "code": 42,
  "errorCode": "string",
  "message": "string",
  "timestamp": "2025-05-04T09:42:00Z"
}