|
|
@ -53,24 +53,24 @@ Returns
|
|
|
|
|
|
|
|
|
|
|
|
| Key | Type | Description |
|
|
|
|
| Key | Type | Description |
|
|
|
|
| :-------- | :------- | :------------------------- |
|
|
|
|
| :-------- | :------- | :------------------------- |
|
|
|
|
| `urlId` | `String` | The URL ID |
|
|
|
|
| `urlId` | `string` | The URL ID |
|
|
|
|
| `origUrl` | `String` | The original URL |
|
|
|
|
| `origUrl` | `string` | The original URL |
|
|
|
|
| `shortUrl` | `String` | The shortened URL |
|
|
|
|
| `shortUrl` | `string` | The shortened URL |
|
|
|
|
| `clicks` | `Number` | The amount of time this link has been clicked |
|
|
|
|
| `clicks` | `number` | The amount of time this link has been clicked |
|
|
|
|
| `date` | `Date` | The creation date of this link |
|
|
|
|
| `date` | `date` | The creation date of this link |
|
|
|
|
| `_id` | `String` | The databse id of this link |
|
|
|
|
| `_id` | `string` | The databse id of this link |
|
|
|
|
| `__v` | `Number` | The version number |
|
|
|
|
| `__v` | `number` | The version number |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```json
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"urlId": String,
|
|
|
|
"urlId": string,
|
|
|
|
"origUrl": String,
|
|
|
|
"origUrl": string,
|
|
|
|
"shortUrl": String,
|
|
|
|
"shortUrl": string,
|
|
|
|
"clicks": Number,
|
|
|
|
"clicks": number,
|
|
|
|
"date": Date,
|
|
|
|
"date": date,
|
|
|
|
"_id": String,
|
|
|
|
"_id": string,
|
|
|
|
"__v": Number
|
|
|
|
"__v": number
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|