py-shortify
— is a link shortening service that provides a secure API
for creating and managing shortened links. The service uses authentication tokens for authorization, which guarantees protection of all creation, update, and deletion operations from unauthorized access.
All authentication tokens are securely hashed using the SHA-256
algorithm, which provides a reliable level of security in case of unauthorized access to data.
Retrieves information about the authenticated user
Authorization: Bearer {BASE64}
{
"id": "{UUID}"
}
Creates a new user
{
"id": "{UUID}",
"auth_token": "{BASE64}",
}
Retrieves a list of all short links created by the users
[
{
"id": "{TEXT}",
"name": "{TEXT}",
"url": "{TEXT}"
}
]
Retrieves information about a specific short link by its name
{
"id": "{UUID}",
"name": "{TEXT}",
"url": "{TEXT}"
}
Creates a new short link
Authorization: Bearer {AUTH_TOKEN}
{
"name": "{TEXT}",
"url": "{TEXT}"
}
{
"id": "{UUID}"
}