Create card goal
Create Card Goal
Create a card goal for the user. Card goals have the following properties: ID
, type
(XP), title
, end date
, status
(failed, completed, or in progress), fail date
(if failed), and data storing
(cards revised so far, starting XP, desired cards to revise). A card goal is similar to an XP goal but differs in the data section.
POST
Body
application/json
Identifies the user who is creating a card goal.
Example:
"user1"
The number of cards the user intends to revise for the current goal.
Example:
"5"
The date by which the user intends to achieve the card revision goal, in dd/mm/yyyy format.
Example:
"30/07/2024"
Response
200
application/json
OK
Provides additional information confirming that the request was successful.
Example:
"Goal created successfully"