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.
Body
Identifies the user who is creating a card goal.
"eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiIsImtpZCI6ImEzMmZkZDRiMTQ2Njc3NzE5YWIyMzcyODYxYmRlZDg5In0.eyJpc3MiOiJodHRwOi8vZG9scGhpbmZsYXNoY2FyZHMuY29tIiwiYXVkIjoiYXBpIiwic3ViIjoidU5RR2lIencxdk9EaExybTVDRWtaQ1ZoTU93MSIsImFjY2Vzc190b2tlbiI6IjRiZTA2NDNmLTFkOTgtNTczYi05N2NkLWNhOThhNjUzNDdkZCIsImFjY2Vzc190b2tlbl9yYXciOiJ0ZXN0IiwiaWF0IjoxNzI2Nzc0MTYzfQ.F-fxFitPQF-gGHyhGPGxE_zj_b8XJybqe4J_iYG66BC4Dqm4LTb8RpcDLyYUhRCcpphihpWGbdp"
The number of cards the user intends to revise for the current goal.
"5"
The date by which the user intends to achieve the card revision goal, in dd/mm/yyyy format.
"30/07/2024"
Response
Provides additional information confirming that the request was successful.
"Goal created successfully"