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
/
create-card-goal
Body
application/json
userID
string
requiredIdentifies the user who is creating a card goal.
cardsToRevise
string
requiredThe number of cards the user intends to revise for the current goal.
endDate
string
requiredThe date by which the user intends to achieve the card revision goal, in dd/mm/yyyy format.
Response
200 - application/json
success
string
Provides additional information confirming that the request was successful.