curl --request GET \
--url https://jamquest-dev.techboo.net/api/v1/user/nearby-djs/state \
--header 'Authorization: Bearer <token>'{
"status": "ok",
"message": "<string>",
"data": {
"current_page": 123,
"data": [
{
"id": 123,
"name": "<string>",
"email": "[email protected]",
"phone": "<string>",
"is_dj": true,
"city": "<string>",
"state": "<string>",
"country": "<string>",
"latitude": 123,
"longitude": 123,
"distance": 123
}
],
"first_page_url": "<string>",
"from": 123,
"last_page": 123,
"last_page_url": "<string>",
"links": [
{
"url": "<string>",
"label": "<string>",
"active": true
}
],
"next_page_url": "<string>",
"path": "<string>",
"per_page": 123,
"prev_page_url": "<string>",
"to": 123,
"total": 123
}
}Retrieves a list of DJs in the specified state, sorted by distance from the user.
curl --request GET \
--url https://jamquest-dev.techboo.net/api/v1/user/nearby-djs/state \
--header 'Authorization: Bearer <token>'{
"status": "ok",
"message": "<string>",
"data": {
"current_page": 123,
"data": [
{
"id": 123,
"name": "<string>",
"email": "[email protected]",
"phone": "<string>",
"is_dj": true,
"city": "<string>",
"state": "<string>",
"country": "<string>",
"latitude": 123,
"longitude": 123,
"distance": 123
}
],
"first_page_url": "<string>",
"from": 123,
"last_page": 123,
"last_page_url": "<string>",
"links": [
{
"url": "<string>",
"label": "<string>",
"active": true
}
],
"next_page_url": "<string>",
"path": "<string>",
"per_page": 123,
"prev_page_url": "<string>",
"to": 123,
"total": 123
}
}Access token obtained during login or registration. Use this token in the Authorization header for authenticated requests.
State to search for DJs
Number of DJs per page.
Page number for pagination.
Successful response
"ok"
Show child attributes
Show child attributes
Distance from the user in kilometers