cURL
curl --request GET \ --url https://staging.app.dados.rio/link/api/urls \ --header 'Authorization: Bearer <token>'
{ "limit": 10, "page": 1, "total": 100, "urls": [ { "created_at": "2024-01-01T12:00:00Z", "description": "A great website", "destination": "https://example.com", "expires_at": "2024-12-31T23:59:59Z", "id": "550e8400-e29b-41d4-a716-446655440000", "image_url": "https://example.com/image.jpg", "short_path": "abc123", "title": "My Website", "updated_at": "2024-01-01T12:00:00Z" } ] }
Retrieve a paginated list of short URLs
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Page number
x >= 1
Number of items per page
1 <= x <= 100
OK
The response is of type object.
object