- Auth
- Customer
- Passengers
- invoice Info
- Favorite Flights
- Notifications
- Fast Actions
- Customer - Get ProfileGET
- Customer - Update ProfilePOST
- Customer - Update PasswordPOST
- Search History - FlightGET
- Customer - Remove AccountDELETE
- Utils
- Flight
- Bus
- Hotel
- Socket
- Auto Completes
- Queue / Socket
- Misc
- Payment
- Orders
- Blog
- Contents
- Refund
- Notifications
- Checkout
- Otp VerifyPOST
- StatusGET
Popular Cities
Developing
GET
https://test-api.ucuzyolu.com/content/popularcities
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Header Params
client-id
string
optional
Default:
302382-1928283273-237723829-292999
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://test-api.ucuzyolu.com/content/popularcities' \
--header 'client-id: 302382-1928283273-237723829-292999'
Responses
🟢200OK
application/json
Body
data
object
required
domestic
array [object {16}]
required
international
array [object {16}]
required
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": {
"domestic": [
{
"id": 1,
"type": "domestic",
"name": "İstanbul - Paris",
"origin": "IST",
"destination": "PAR",
"image": "http://api.tripingram.local/uploads/1733539314-eyfel-tower.jpg",
"price": "0.00",
"home": false,
"order": 0,
"slug": "istanbul-paris-pf1",
"originIsCity": true,
"destinationIsCity": true,
"airlineCode": "TK",
"departureDateSelection": "today",
"departureDate": null,
"isActive": true
},
{
"id": 3,
"type": "domestic",
"name": "İstanbul - Paris",
"origin": "IST",
"destination": "PAR",
"image": "http://api.tripingram.local/uploads/1733539314-eyfel-tower.jpg",
"price": "0.00",
"home": false,
"order": 0,
"slug": "istanbul-paris-pf3",
"originIsCity": true,
"destinationIsCity": true,
"airlineCode": "TK",
"departureDateSelection": "today",
"departureDate": null,
"isActive": true
}
],
"international": [
{
"id": 2,
"type": "international",
"name": "İstanbul - Paris",
"origin": "IST",
"destination": "PAR",
"image": "http://api.tripingram.local/uploads/1733539314-eyfel-tower.jpg",
"price": "0.00",
"home": false,
"order": 0,
"slug": "istanbul-paris-pf2",
"originIsCity": true,
"destinationIsCity": true,
"airlineCode": "TK",
"departureDateSelection": "today",
"departureDate": null,
"isActive": true
},
{
"id": 4,
"type": "international",
"name": "İstanbul - Paris",
"origin": "IST",
"destination": "PAR",
"image": "http://api.tripingram.local/uploads/1733539314-eyfel-tower.jpg",
"price": "0.00",
"home": false,
"order": 0,
"slug": "istanbul-paris-pf4",
"originIsCity": true,
"destinationIsCity": true,
"airlineCode": "TK",
"departureDateSelection": "today",
"departureDate": null,
"isActive": true
}
]
},
"success": true,
"code": 0,
"message": ""
}
Modified at 2024-12-07 05:05:46