Skip to content

add completedPages in get maze response #13

Description

@juba0x00

in /page/maze/{mazeId} endpoint
for EXAMPLE
the current response

[
  {
    "id": 9,
    "title": "a",
    "description": "description",
    "content": "<p>a</p>",
    "questions": []
  },
  {
    "id": 10,
    "title": "s",
    "description": "description",
    "content": "<p>s</p>",
    "questions": []
  }
] 

the wanted response

[
  {
    "id": 9,
    "title": "a",
    "description": "description",
    "content": "<p>a</p>",
    "questions": []
    "isCompleted": true
  },
  {
    "id": 10,
    "title": "s",
    "description": "description",
    "content": "<p>s</p>",
    "questions": []
    "isCompleted": false
  }
]

@marymfouda

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthighpriority

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions