POST
/
get-today-cards
Get Today Cards
curl --request POST \
  --url http://dolphinflashcards.com/api/get-today-cards \
  --header 'Content-Type: application/json' \
  --data '{
  "userID": "user1"
}'
{
  "Folder": {
    "Flashcard": {
      "cards": {
        "cardID": {
          "last_review": "15/07/2024",
          "review_status": "0.0"
        }
      },
      "flashcardID": "6796878844471389968582206160161573797336081811111331165973477783999823937257",
      "flashcardName": "firstFlashCard"
    },
    "secondFlashcard": {
      "cards": {
        "cardID": {
          "last_review": "15/07/2024",
          "review_status": "0.0"
        }
      },
      "flashcardID": "<string>",
      "flashcardName": "secondFlashCard"
    }
  },
  "top-level-parent-name": {
    "parent-name-2": {
      "parent-name-3": {
        "Flashcard": {
          "cards": {
            "cardID": {
              "last_review": "<string>",
              "review_status": "<string>"
            }
          },
          "flashcardID": "<string>",
          "flashcardName": "<string>"
        }
      }
    }
  }
}

Body

application/json
userID
string
required

The identity of the user learning the flashcards.

Example:

"user1"

Response

OK

Folder
object

A parent folder containing flashcards.

top-level-parent-name
object

Another parent folder within the same account that contains nested folders and flashcards. It has a different naming convention from the previous folder.