Deep Search Profiles
Upsert a Deep Search Profile entry.
Creates a new Deep Search Profile if the provided id does not exist, or updates the existing Deep Search Profile with the given id.
Args: request (DSProfile): The Deep Search Profile data to insert or update. db (AsyncSession): The database session dependency.
Returns: JSONResponse: A JSON response containing the Deep Search Profile data that was upserted.
Raises: HTTPException: If the operation encounters an unexpected error (not currently implemented, but can be added for error handling).
Notes: - Uses FastCRUD for abstracted DB operations. - Relies on the id field to determine insert vs update.
- : Read Permissions
Deep Search Profile model.
2025-12-02T17:36:18.514374Successful Response
Validation Error
No content
Get a Deep Search Profile by ID.
Args: id (int): The ID of the Deep Search Profile. db (AsyncSession): The database session.
Returns: JSONResponse: A JSON response containing the Deep Search Profile.
- : Read Permissions
Successful Response
Validation Error
No content
Delete a DSProfileModel row from the database by its primary keys: ['id'].
- : Read Permissions
Successful Response
Validation Error
No content
Update an existing DSProfileModel row in the database by its primary keys: ['id'].
- : Read Permissions
Create Deep Search Profile model.
2025-12-02T17:36:18.514374Successful Response
Validation Error
No content
Get a paginated list of Deep Search Profiles.
Args: request (SmartSearchListBrowseRequest): The request object containing pagination parameters. db (AsyncSession): The database session.
Returns: JSONResponse: A JSON response containing the paginated list of Deep Search Profiles.
- : Read Permissions
110Successful Response
Validation Error
No content
Create a new DSProfileModel row in the database.
- : Read Permissions
Create Deep Search Profile model.
2025-12-02T17:36:18.514374Successful Response
Validation Error
No content
Last updated
