url-shortener
Create Shortened Url
Creates a new shortened URL.
Args: url (ShortenedURLCreate): URL creation data with long_url and campaign_id request (Request): FastAPI request object db (Session, optional): Database session. Defaults from dependency. current_user (User, optional): The current authenticated user. Defaults from dependency.
Returns: ShortenedURLSchema: The created shortened URL data
Raises: HTTPException: If there is an error creating the shortened URL
post/api/url-shortener/shorten/
Request
- Base URL: https://api.usepomo.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.usepomo.ai/api/url-shortener/shorten/
- Auth: HTTP bearer
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.