Favourite¶
Is Favourite¶
HTTP Request
GET /api/favourites/{type}/{id}
📋 Description: Retrieves the details of a specific favorite item based on its type and ID, enabling users to access personalized content efficiently.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
type |
path |
string |
true |
Type of the resource |
id |
path |
string |
true |
Unique identifier for the resource |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
boolean |
Example Responses
1true
Add Favourite¶
HTTP Request
POST /api/favourites/{type}/{id}
📋 Description: Adds a specified item to the user’s favorites list, allowing for personalized content management and enhanced user engagement.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
type |
path |
string |
true |
Type of the resource |
id |
path |
string |
true |
Unique identifier for the resource |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1{}
Response Schema
Delete Favourite¶
HTTP Request
DELETE /api/favourites/{type}/{id}
📋 Description: Deletes a specified favorite item from the user’s collection, identified by its type and unique ID, ensuring an updated and personalized user experience.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
type |
path |
string |
true |
Type of the resource |
id |
path |
string |
true |
Unique identifier for the resource |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
boolean |
Example Responses
1true