URL Shortener
Object structure: "Short link"
| Field | Type | Description |
| Basic | ||
|---|---|---|
| short_link | string | Short link |
| link | string | Original link |
| user_id | int | ID of the user who created a link |
| create | timestamp | Date and location of the link creation |
| title | string | Short link title |
| favorite | boolean | Flag - favorite short link |
| deleted | boolean | Flag - deleted short link |
| hash | string | Short link hash (to secure a link) |
| count | int | Visits count of a short link |
| tags | set (from 1 to 10) | Color tag number |
URL Shortener methods:
- get - get info on short links
- get: stat - get visits stats of a short link
- add - add a short link
- edit - edit a short link
- edit: tags - edit color tags of a short link