POST
/
get-all-cards
curl --request POST \
  --url http://dolphinflashcards.com/api/get-all-cards \
  --header 'Content-Type: application/json' \
  --data '{
  "userID": "user1"
}'
{
  "Folder": {
    "Flashcard": {
      "cards": {
        "cardID": {
          "last_review": "<string>",
          "review_status": "<string>"
        }
      },
      "flashcardID": "<string>",
      "flashcardName": "<string>"
    },
    "secondFlashcard": {
      "cards": {
        "cardID": {
          "last_review": "<string>",
          "review_status": "<string>"
        }
      },
      "flashcardID": "<string>",
      "flashcardName": "<string>"
    }
  },
  "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

Response

200
application/json

OK. Returns the string: "User has no flashcards" when supplied an invalid userID.

The response is of type object.