- 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
Blog - Newest
Developing
GET
https://test-api.ucuzyolu.com/blog/newest
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
categoryId
string
optional
Example:
2
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/blog/newest?categoryId=2' \
--header 'client-id: 302382-1928283273-237723829-292999'
Responses
🟢200OK
application/json
Body
data
object
required
data
array [object {6}]
required
from
integer
required
links
array [object {3}]
required
path
string
required
to
integer
required
total
integer
required
currentPage
integer
required
firstPageUrl
string
required
lastPage
integer
required
lastPageUrl
string
required
nextPageUrl
null
required
perPage
integer
required
prevPageUrl
null
required
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": {
"data": [
{
"id": 1,
"title": "Deneme",
"description": null,
"summary": null,
"image": "http://api.tripingram.local/uploads/1728125128-whatsapp-image-2024-09-10-at-164512.jpeg",
"createdAt": "2024-10-05T10:33:59.000000Z"
}
],
"from": 1,
"links": [
{
"url": null,
"label": "pagination.previous",
"active": false
},
{
"url": "/?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "pagination.next",
"active": false
}
],
"path": "/",
"to": 1,
"total": 1,
"currentPage": 1,
"firstPageUrl": "/?page=1",
"lastPage": 1,
"lastPageUrl": "/?page=1",
"nextPageUrl": null,
"perPage": 10,
"prevPageUrl": null
},
"success": true,
"code": 0,
"message": ""
}
Modified at 2024-10-09 21:08:32