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.
Request
- Base URLhttps://api.brandbooster.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.brandbooster.ai/api/v1/share/fetch_creative_data
- AuthHTTP bearer
Query parameters
The ID of the post to fetch creative data for.
Response
Successful Response
Changes
No operation changes recorded.