Overview
The Interests API allows you to manage interests that users can associate with their profiles. Interests help personalize travel recommendations and connect users with similar preferences.Base URL
All API requests should be made to:Available Endpoints
Get All Interests
Retrieve all available interests
Create Interest
Add a new interest to the system
Update Interest
Update an existing interest
Delete Interest
Remove an interest from the system
Data Model
An interest object contains the following fields:| Field | Type | Description |
|---|---|---|
id | integer | Unique identifier for the interest |
name | string | Name of the interest |
Response Format
All responses are returned in JSON format. Successful responses will contain the requested data, while error responses follow this structure:Status Codes
| Status Code | Description |
|---|---|
200 | OK - Request successful |
201 | Created - Resource created successfully |
500 | Internal Server Error - An error occurred on the server |