Update api spec (#302)
* YOYO NEW API SPEC! * I have generated the latest API! --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
fe55464136
commit
79bf86abe7
@ -1,10 +1,14 @@
|
||||
from typing import Optional
|
||||
|
||||
from pydantic import BaseModel, ConfigDict
|
||||
|
||||
|
||||
class CreateShortlinkRequest(BaseModel):
|
||||
"""Request to create a shortlink."""
|
||||
|
||||
restrict_to_org: bool
|
||||
password: Optional[str] = None
|
||||
|
||||
restrict_to_org: bool = False
|
||||
|
||||
url: str
|
||||
|
||||
|
Reference in New Issue
Block a user