OpenQuiz Wiki
APIPackages

Get favorite

Check whether the current user favorited the package.

GET
/pkgs/{pkgId}/favorite

Check whether the current user favorited the package.

oquiz.session_token<token>

In: cookie

Path Parameters

pkgId*string

Response Body

application/json

curl -X GET "https://example.com/pkgs/string/favorite"
{  "favorite": true}