Fetch Creative Data Endpoint
Fetches creative data for a given post ID.
This endpoint retrieves creative data associated with a specific post ID. It requires the user to be authenticated via a JWT token. The user's information is extracted and can be utilized for authorization or logging.
Args: post_id (str): The ID of the post for which creative data is being fetched. user (Users): The authenticated user object, obtained through JWT authentication. db (Session): The database session, provided by the dependency injection system.
Returns: JSON response containing the creative data associated with the given post ID.
Raises: HTTPException: If the post ID is invalid or if any errors occur during the database query.
Query parameters
The ID of the post to fetch creative data for.
The ID of the post to fetch creative data for.
Response
Successful Response
Changes
No recorded changes to this endpoint across all 2 revisions of this API.