NAV -image
bash javascript

Introduction

This documentation aims to provide all the information you need to work with our API.

Base URL

https://lutios.com

Authenticating requests

This API is authenticated with Bearer Token.

Endpoints

Log in the user.

Example request:

curl -X POST \
    "https://lutios.com/api/login" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -d '{"email":"adminas@example.com","password":"adminas"}'
const url = new URL(
    "https://lutios.com/api/login"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "email": "adminas@example.com",
    "password": "adminas"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (200):


{
 "access_token": "eyJ0eXA...",
 "token_type": "Bearer",
}

Request      

POST api/login

Body Parameters

email  string  
The email of the user.

password  string  
The password of the user.

Register the user.

Example request:

curl -X POST \
    "https://lutios.com/api/register" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -d '{"firstName":"Nayla","lastName":"Hobas","email":"Nayla@example.com"}'
const url = new URL(
    "https://lutios.com/api/register"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "firstName": "Nayla",
    "lastName": "Hobas",
    "email": "Nayla@example.com"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (200):

{
    "message": "User Successfully Register."
}

Request      

POST api/register

Body Parameters

firstName  string  
The firstName of the user.

lastName  string  
The lastName of the user.

email  string  
The email of the user.

api/forgot

Example request:

curl -X POST \
    "https://lutios.com/api/forgot" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/forgot"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/forgot

api/reset

Example request:

curl -X POST \
    "https://lutios.com/api/reset" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/reset"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/reset

api/profile

Example request:

curl -X GET \
    -G "https://lutios.com/api/profile" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/profile"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (400):

{
    "error": "Unauthenticated."
}

Request      

GET api/profile

api/logout

Example request:

curl -X POST \
    "https://lutios.com/api/logout" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/logout"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/logout

api/users

Example request:

curl -X GET \
    -G "https://lutios.com/api/users" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/users"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

{
    "success": true,
    "data": [
        {
            "id": 1,
            "firstName": "Official",
            "lastName": "Admin",
            "email": "admin@lutios.com",
            "country": "Indonesia",
            "province": "Daerah Istimewa Yogyakarta",
            "district": "Sleman",
            "subDistrict": "Depok",
            "village": "Condongcatur",
            "dateOfBirth": "1997-01-26",
            "mobilePhone": "085245960594",
            "status": "admin",
            "created_at": "2022-02-13T04:08:25.000000Z",
            "updated_at": "2022-02-13T04:08:25.000000Z",
            "partners_count": 0,
            "user_image": {
                "id": 2,
                "user_id": 1,
                "avatar": "default1.jpg",
                "created_at": "2022-02-13T04:08:25.000000Z",
                "updated_at": "2022-02-13T04:08:25.000000Z"
            }
        },
        {
            "id": 2,
            "firstName": "Official",
            "lastName": "User",
            "email": "user@lutios.com",
            "country": "Indonesia",
            "province": "Daerah Istimewa Yogyakarta",
            "district": "Sleman",
            "subDistrict": "Depok",
            "village": "Condongcatur",
            "dateOfBirth": "1997-01-26",
            "mobilePhone": "085245960595",
            "status": "user",
            "created_at": "2022-02-13T04:08:25.000000Z",
            "updated_at": "2022-02-13T04:08:25.000000Z",
            "partners_count": 0,
            "user_image": {
                "id": 3,
                "user_id": 2,
                "avatar": "default2.jpg",
                "created_at": "2022-02-13T04:08:25.000000Z",
                "updated_at": "2022-02-13T04:08:25.000000Z"
            }
        },
        {
            "id": 3,
            "firstName": "Official",
            "lastName": "Condongcatur",
            "email": "partner@lutios.com",
            "country": "Indonesia",
            "province": "Daerah Istimewa Yogyakarta",
            "district": "Sleman",
            "subDistrict": "Depok",
            "village": "Condongcatur",
            "dateOfBirth": "1997-01-26",
            "mobilePhone": "085245960596",
            "status": "mitra",
            "created_at": "2022-02-13T04:08:25.000000Z",
            "updated_at": "2022-02-13T04:08:25.000000Z",
            "partners_count": 1,
            "user_image": {
                "id": 4,
                "user_id": 3,
                "avatar": "defaul3.jpg",
                "created_at": "2022-02-13T04:08:25.000000Z",
                "updated_at": "2022-02-13T04:08:25.000000Z"
            }
        }
    ],
    "message": "Users Retrieved Successfully."
}

Request      

GET api/users

api/users

Example request:

curl -X POST \
    "https://lutios.com/api/users" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/users"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/users

api/users/{user}

Example request:

curl -X GET \
    -G "https://lutios.com/api/users/dolor" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/users/dolor"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (400):

{
    "error": "No query results for model [App\\User] dolor"
}

Request      

GET api/users/{user}

URL Parameters

user  string  

api/users/{user}

Example request:

curl -X PUT \
    "https://lutios.com/api/users/aliquid" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/users/aliquid"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/users/{user}

PATCH api/users/{user}

URL Parameters

user  string  

api/users/{user}

Example request:

curl -X DELETE \
    "https://lutios.com/api/users/illo" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/users/illo"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/users/{user}

URL Parameters

user  string  

api/bookmark

Example request:

curl -X GET \
    -G "https://lutios.com/api/bookmark" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/bookmark"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

{
    "success": true,
    "data": [],
    "message": "Bookmark Retrieved Successfully."
}

Request      

GET api/bookmark

api/bookmark

Example request:

curl -X POST \
    "https://lutios.com/api/bookmark" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/bookmark"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/bookmark

api/bookmark/{bookmark}

Example request:

curl -X GET \
    -G "https://lutios.com/api/bookmark/ducimus" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/bookmark/ducimus"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (400):

{
    "error": "No query results for model [App\\Bookmark] ducimus"
}

Request      

GET api/bookmark/{bookmark}

URL Parameters

bookmark  string  

api/bookmark/{bookmark}

Example request:

curl -X DELETE \
    "https://lutios.com/api/bookmark/temporibus" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/bookmark/temporibus"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/bookmark/{bookmark}

URL Parameters

bookmark  string  

api/categories

Example request:

curl -X GET \
    -G "https://lutios.com/api/categories" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/categories"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

{
    "success": true,
    "data": [
        {
            "id": 1,
            "name": "Pijat Bayi",
            "created_at": "2022-02-13T04:08:25.000000Z",
            "updated_at": "2022-02-13T04:08:25.000000Z",
            "partners_count": 1
        }
    ],
    "message": "Categories Retrieved Successfully."
}

Request      

GET api/categories

api/categories

Example request:

curl -X POST \
    "https://lutios.com/api/categories" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/categories"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/categories

api/categories/{category}

Example request:

curl -X GET \
    -G "https://lutios.com/api/categories/enim" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/categories/enim"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (400):

{
    "error": "No query results for model [App\\Category] enim"
}

Request      

GET api/categories/{category}

URL Parameters

category  string  

api/categories/{category}

Example request:

curl -X PUT \
    "https://lutios.com/api/categories/unde" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/categories/unde"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/categories/{category}

PATCH api/categories/{category}

URL Parameters

category  string  

api/categories/{category}

Example request:

curl -X DELETE \
    "https://lutios.com/api/categories/est" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/categories/est"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/categories/{category}

URL Parameters

category  string  

api/images

Example request:

curl -X GET \
    -G "https://lutios.com/api/images" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/images"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

{
    "success": true,
    "data": [
        {
            "id": 1,
            "profile": "https:\/\/dummyimage.com\/squarepopup",
            "serviceList": "https:\/\/dummyimage.com\/squarepopup",
            "logo": "https:\/\/dummyimage.com\/squarepopup",
            "certificate": "https:\/\/dummyimage.com\/mediumrectangle",
            "fromTheStreet": "https:\/\/dummyimage.com\/mediumrectangle",
            "gallery1": "https:\/\/dummyimage.com\/mediumrectangle",
            "gallery2": "https:\/\/dummyimage.com\/mediumrectangle",
            "gallery3": "https:\/\/dummyimage.com\/mediumrectangle",
            "created_at": "2022-02-13T04:08:25.000000Z",
            "updated_at": "2022-02-13T04:08:25.000000Z",
            "partners": {
                "id": 1,
                "imageId": 1,
                "mitraId": 3,
                "partnerName": "Panti Pijat Raharja",
                "price": 80000,
                "experience": "2",
                "partnerDescription": "Panti Pijat Raharja menyediakan beberapa jenis pijat yang sudah terpecaya sejak 1987, salah satunya adalah Pijat Bayi",
                "workDay": "Senin, Selasa, Rabu, Kamis, Jumat",
                "workOff": "Sabtu, Minggu",
                "callMassage": "bisa",
                "website": "www.lutios.com",
                "serviceArea": "Condongcatur",
                "serviceAge": "dewasa",
                "serviceGender": "laki-laki",
                "massagerGender": "laki-laki",
                "jobType": "Penuh",
                "status": "verified",
                "country": "Indonesia",
                "province": "Daerah Istimewa Yogyakarta",
                "district": "Sleman",
                "subDistrict": "Depok",
                "village": "Condongcatur",
                "address1": "Jl.Sumatra No.6",
                "address2": "Rumah warna orange",
                "phoneNumber": "081237463783",
                "created_at": "2022-02-13T04:08:25.000000Z",
                "updated_at": "2022-02-13T04:08:25.000000Z"
            }
        }
    ],
    "message": "Image Retrieved Successfully."
}

Request      

GET api/images

api/images

Example request:

curl -X POST \
    "https://lutios.com/api/images" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/images"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/images

api/images/{image}

Example request:

curl -X GET \
    -G "https://lutios.com/api/images/unde" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/images/unde"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (400):

{
    "error": "No query results for model [App\\Image] unde"
}

Request      

GET api/images/{image}

URL Parameters

image  string  

api/images/{image}

Example request:

curl -X PUT \
    "https://lutios.com/api/images/aut" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/images/aut"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/images/{image}

PATCH api/images/{image}

URL Parameters

image  string  

api/images/{image}

Example request:

curl -X DELETE \
    "https://lutios.com/api/images/provident" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/images/provident"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/images/{image}

URL Parameters

image  string  

api/partners

Example request:

curl -X GET \
    -G "https://lutios.com/api/partners" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/partners"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

[
    {
        "id": 1,
        "imageId": 1,
        "image": {
            "id": 1,
            "profile": "https:\/\/dummyimage.com\/squarepopup",
            "serviceList": "https:\/\/dummyimage.com\/squarepopup",
            "logo": "https:\/\/dummyimage.com\/squarepopup",
            "certificate": "https:\/\/dummyimage.com\/mediumrectangle",
            "fromTheStreet": "https:\/\/dummyimage.com\/mediumrectangle",
            "gallery1": "https:\/\/dummyimage.com\/mediumrectangle",
            "gallery2": "https:\/\/dummyimage.com\/mediumrectangle",
            "gallery3": "https:\/\/dummyimage.com\/mediumrectangle"
        },
        "mitraId": 3,
        "mitra": {
            "id": 3,
            "firstName": "Official",
            "lastName": "Condongcatur",
            "email": "partner@lutios.com",
            "country": "Indonesia",
            "province": "Daerah Istimewa Yogyakarta",
            "district": "Sleman",
            "subDistrict": "Depok",
            "village": "Condongcatur",
            "dateOfBirth": "1997-01-26",
            "mobilePhone": "085245960596",
            "status": "mitra",
            "created_at": "2022-02-13T04:08:25.000000Z",
            "updated_at": "2022-02-13T04:08:25.000000Z"
        },
        "partnerName": "Panti Pijat Raharja",
        "price": 80000,
        "experience": "2",
        "partnerDescription": "Panti Pijat Raharja menyediakan beberapa jenis pijat yang sudah terpecaya sejak 1987, salah satunya adalah Pijat Bayi",
        "workDay": "Senin, Selasa, Rabu, Kamis, Jumat",
        "workOff": "Sabtu, Minggu",
        "callMassage": "bisa",
        "website": "www.lutios.com",
        "serviceArea": "Condongcatur",
        "serviceAge": "dewasa",
        "serviceGender": "laki-laki",
        "massagerGender": "laki-laki",
        "jobType": "Penuh",
        "status": "verified",
        "country": "Indonesia",
        "province": "Daerah Istimewa Yogyakarta",
        "district": "Sleman",
        "subDistrict": "Depok",
        "village": "Condongcatur",
        "address1": "Jl.Sumatra No.6",
        "address2": "Rumah warna orange",
        "phoneNumber": "081237463783",
        "categories": [
            {
                "id": 1,
                "name": "Pijat Bayi",
                "created_at": "2022-02-13T04:08:25.000000Z",
                "updated_at": "2022-02-13T04:08:25.000000Z",
                "pivot": {
                    "massageId": 1,
                    "categoryId": 1,
                    "created_at": "2021-12-18T12:22:13.000000Z",
                    "updated_at": "2021-12-18T12:23:06.000000Z"
                }
            }
        ],
        "bookmark": null
    }
]

Request      

GET api/partners

api/partners

Example request:

curl -X POST \
    "https://lutios.com/api/partners" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/partners"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/partners

api/partners/{partner}

Example request:

curl -X GET \
    -G "https://lutios.com/api/partners/qui" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/partners/qui"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (400):

{
    "error": "No query results for model [App\\Partner] qui"
}

Request      

GET api/partners/{partner}

URL Parameters

partner  string  

api/partners/{partner}

Example request:

curl -X PUT \
    "https://lutios.com/api/partners/quia" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/partners/quia"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/partners/{partner}

PATCH api/partners/{partner}

URL Parameters

partner  string  

api/partners/{partner}

Example request:

curl -X DELETE \
    "https://lutios.com/api/partners/voluptatum" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/partners/voluptatum"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/partners/{partner}

URL Parameters

partner  string  

api/countries

Example request:

curl -X GET \
    -G "https://lutios.com/api/countries" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/countries"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

{
    "success": true,
    "data": [
        {
            "id": 1,
            "name": "Indonesia",
            "code": "+62",
            "provinces_count": 1
        }
    ],
    "message": "Countries Retrieved Successfully."
}

Request      

GET api/countries

api/countries

Example request:

curl -X POST \
    "https://lutios.com/api/countries" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/countries"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/countries

api/countries/{country}

Example request:

curl -X GET \
    -G "https://lutios.com/api/countries/ut" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/countries/ut"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (400):

{
    "error": "No query results for model [App\\Country] ut"
}

Request      

GET api/countries/{country}

URL Parameters

country  string  

api/countries/{country}

Example request:

curl -X PUT \
    "https://lutios.com/api/countries/ratione" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/countries/ratione"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/countries/{country}

PATCH api/countries/{country}

URL Parameters

country  string  

api/countries/{country}

Example request:

curl -X DELETE \
    "https://lutios.com/api/countries/beatae" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/countries/beatae"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/countries/{country}

URL Parameters

country  string  

api/provinces

Example request:

curl -X GET \
    -G "https://lutios.com/api/provinces" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/provinces"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

{
    "success": true,
    "data": [
        {
            "id": 1,
            "name": "Daerah Istimewa Yogyakarta",
            "countryId": 1,
            "districts_count": 1,
            "country": {
                "id": 1,
                "name": "Indonesia",
                "code": "+62"
            }
        }
    ],
    "message": "Provinces Retrieved Successfully."
}

Request      

GET api/provinces

api/provinces

Example request:

curl -X POST \
    "https://lutios.com/api/provinces" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/provinces"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/provinces

api/provinces/{province}

Example request:

curl -X GET \
    -G "https://lutios.com/api/provinces/corrupti" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/provinces/corrupti"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (400):

{
    "error": "No query results for model [App\\Province] corrupti"
}

Request      

GET api/provinces/{province}

URL Parameters

province  string  

api/provinces/{province}

Example request:

curl -X PUT \
    "https://lutios.com/api/provinces/eaque" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/provinces/eaque"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/provinces/{province}

PATCH api/provinces/{province}

URL Parameters

province  string  

api/provinces/{province}

Example request:

curl -X DELETE \
    "https://lutios.com/api/provinces/est" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/provinces/est"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/provinces/{province}

URL Parameters

province  string  

api/districts

Example request:

curl -X GET \
    -G "https://lutios.com/api/districts" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/districts"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

{
    "success": true,
    "data": [
        {
            "id": 1,
            "name": "Sleman",
            "provinceId": 1,
            "subdistricts_count": 1,
            "province": {
                "id": 1,
                "name": "Daerah Istimewa Yogyakarta",
                "countryId": 1
            }
        }
    ],
    "message": "Districts Retrieved Successfully."
}

Request      

GET api/districts

api/districts

Example request:

curl -X POST \
    "https://lutios.com/api/districts" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/districts"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/districts

api/districts/{district}

Example request:

curl -X GET \
    -G "https://lutios.com/api/districts/ut" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/districts/ut"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (400):

{
    "error": "No query results for model [App\\District] ut"
}

Request      

GET api/districts/{district}

URL Parameters

district  string  

api/districts/{district}

Example request:

curl -X PUT \
    "https://lutios.com/api/districts/perferendis" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/districts/perferendis"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/districts/{district}

PATCH api/districts/{district}

URL Parameters

district  string  

api/districts/{district}

Example request:

curl -X DELETE \
    "https://lutios.com/api/districts/aut" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/districts/aut"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/districts/{district}

URL Parameters

district  string  

api/subdistricts

Example request:

curl -X GET \
    -G "https://lutios.com/api/subdistricts" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/subdistricts"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

{
    "success": true,
    "data": [
        {
            "id": 1,
            "name": "Depok",
            "districtId": 1,
            "villages_count": 3,
            "district": {
                "id": 1,
                "name": "Sleman",
                "provinceId": 1
            }
        }
    ],
    "message": "SubDistricts Retrieved Successfully."
}

Request      

GET api/subdistricts

api/subdistricts

Example request:

curl -X POST \
    "https://lutios.com/api/subdistricts" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/subdistricts"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/subdistricts

api/subdistricts/{subdistrict}

Example request:

curl -X GET \
    -G "https://lutios.com/api/subdistricts/ipsum" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/subdistricts/ipsum"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (400):

{
    "error": "No query results for model [App\\SubDistrict] ipsum"
}

Request      

GET api/subdistricts/{subdistrict}

URL Parameters

subdistrict  string  

api/subdistricts/{subdistrict}

Example request:

curl -X PUT \
    "https://lutios.com/api/subdistricts/deserunt" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/subdistricts/deserunt"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/subdistricts/{subdistrict}

PATCH api/subdistricts/{subdistrict}

URL Parameters

subdistrict  string  

api/subdistricts/{subdistrict}

Example request:

curl -X DELETE \
    "https://lutios.com/api/subdistricts/est" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/subdistricts/est"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/subdistricts/{subdistrict}

URL Parameters

subdistrict  string  

api/villages

Example request:

curl -X GET \
    -G "https://lutios.com/api/villages" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/villages"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

{
    "success": true,
    "data": [
        {
            "id": 1,
            "name": "Caturtunggal",
            "subDistrictId": 1,
            "sub_district": {
                "id": 1,
                "name": "Depok",
                "districtId": 1
            }
        },
        {
            "id": 2,
            "name": "Condongcatur",
            "subDistrictId": 1,
            "sub_district": {
                "id": 1,
                "name": "Depok",
                "districtId": 1
            }
        },
        {
            "id": 3,
            "name": "Maguwoharjo",
            "subDistrictId": 1,
            "sub_district": {
                "id": 1,
                "name": "Depok",
                "districtId": 1
            }
        }
    ],
    "message": "Villages Retrieved Successfully."
}

Request      

GET api/villages

api/villages

Example request:

curl -X POST \
    "https://lutios.com/api/villages" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/villages"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/villages

api/villages/{village}

Example request:

curl -X GET \
    -G "https://lutios.com/api/villages/repudiandae" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/villages/repudiandae"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (400):

{
    "error": "No query results for model [App\\Village] repudiandae"
}

Request      

GET api/villages/{village}

URL Parameters

village  string  

api/villages/{village}

Example request:

curl -X PUT \
    "https://lutios.com/api/villages/corrupti" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/villages/corrupti"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/villages/{village}

PATCH api/villages/{village}

URL Parameters

village  string  

api/villages/{village}

Example request:

curl -X DELETE \
    "https://lutios.com/api/villages/harum" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/villages/harum"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/villages/{village}

URL Parameters

village  string  

api/articles

Example request:

curl -X GET \
    -G "https://lutios.com/api/articles" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/articles"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

{
    "success": true,
    "data": [],
    "message": "Articles Retrieved Successfully."
}

Request      

GET api/articles

api/articles

Example request:

curl -X POST \
    "https://lutios.com/api/articles" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/articles"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/articles

api/articles/{article}

Example request:

curl -X GET \
    -G "https://lutios.com/api/articles/ratione" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/articles/ratione"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (400):

{
    "error": "No query results for model [App\\Article] ratione"
}

Request      

GET api/articles/{article}

URL Parameters

article  string  

api/articles/{article}

Example request:

curl -X PUT \
    "https://lutios.com/api/articles/similique" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/articles/similique"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/articles/{article}

PATCH api/articles/{article}

URL Parameters

article  string  

api/articles/{article}

Example request:

curl -X DELETE \
    "https://lutios.com/api/articles/iste" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/articles/iste"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/articles/{article}

URL Parameters

article  string  

api/users/delete/{id}

Example request:

curl -X GET \
    -G "https://lutios.com/api/users/delete/vitae" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/users/delete/vitae"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (400):

{
    "error": "Unauthenticated."
}

Request      

GET api/users/delete/{id}

URL Parameters

id  string  

api/upload_avatar

Example request:

curl -X POST \
    "https://lutios.com/api/upload_avatar" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/upload_avatar"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/upload_avatar

api/users_bookmark

Example request:

curl -X POST \
    "https://lutios.com/api/users_bookmark" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/users_bookmark"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/users_bookmark

api/avatar

Example request:

curl -X GET \
    -G "https://lutios.com/api/avatar" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/avatar"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

{
    "success": true,
    "data": [
        {
            "id": 1,
            "user_id": null,
            "avatar": "default.jpg",
            "created_at": "2022-02-13T04:08:25.000000Z",
            "updated_at": "2022-02-13T04:08:25.000000Z",
            "user": null
        },
        {
            "id": 2,
            "user_id": 1,
            "avatar": "default1.jpg",
            "created_at": "2022-02-13T04:08:25.000000Z",
            "updated_at": "2022-02-13T04:08:25.000000Z",
            "user": {
                "id": 1,
                "firstName": "Official",
                "lastName": "Admin",
                "email": "admin@lutios.com",
                "country": "Indonesia",
                "province": "Daerah Istimewa Yogyakarta",
                "district": "Sleman",
                "subDistrict": "Depok",
                "village": "Condongcatur",
                "dateOfBirth": "1997-01-26",
                "mobilePhone": "085245960594",
                "status": "admin",
                "created_at": "2022-02-13T04:08:25.000000Z",
                "updated_at": "2022-02-13T04:08:25.000000Z"
            }
        },
        {
            "id": 3,
            "user_id": 2,
            "avatar": "default2.jpg",
            "created_at": "2022-02-13T04:08:25.000000Z",
            "updated_at": "2022-02-13T04:08:25.000000Z",
            "user": {
                "id": 2,
                "firstName": "Official",
                "lastName": "User",
                "email": "user@lutios.com",
                "country": "Indonesia",
                "province": "Daerah Istimewa Yogyakarta",
                "district": "Sleman",
                "subDistrict": "Depok",
                "village": "Condongcatur",
                "dateOfBirth": "1997-01-26",
                "mobilePhone": "085245960595",
                "status": "user",
                "created_at": "2022-02-13T04:08:25.000000Z",
                "updated_at": "2022-02-13T04:08:25.000000Z"
            }
        },
        {
            "id": 4,
            "user_id": 3,
            "avatar": "defaul3.jpg",
            "created_at": "2022-02-13T04:08:25.000000Z",
            "updated_at": "2022-02-13T04:08:25.000000Z",
            "user": {
                "id": 3,
                "firstName": "Official",
                "lastName": "Condongcatur",
                "email": "partner@lutios.com",
                "country": "Indonesia",
                "province": "Daerah Istimewa Yogyakarta",
                "district": "Sleman",
                "subDistrict": "Depok",
                "village": "Condongcatur",
                "dateOfBirth": "1997-01-26",
                "mobilePhone": "085245960596",
                "status": "mitra",
                "created_at": "2022-02-13T04:08:25.000000Z",
                "updated_at": "2022-02-13T04:08:25.000000Z"
            }
        }
    ],
    "message": "Avatars Retrieved Successfully."
}

Request      

GET api/avatar

api/avatar

Example request:

curl -X POST \
    "https://lutios.com/api/avatar" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/avatar"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/avatar

api/avatar/{avatar}

Example request:

curl -X GET \
    -G "https://lutios.com/api/avatar/qui" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/avatar/qui"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (400):

{
    "error": "No query results for model [App\\UserImage] qui"
}

Request      

GET api/avatar/{avatar}

URL Parameters

avatar  string  

api/avatar/{avatar}

Example request:

curl -X DELETE \
    "https://lutios.com/api/avatar/quia" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/avatar/quia"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/avatar/{avatar}

URL Parameters

avatar  string  

api/bookmark-owner

Example request:

curl -X GET \
    -G "https://lutios.com/api/bookmark-owner" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/bookmark-owner"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (400):

{
    "error": "Unauthenticated."
}

Request      

GET api/bookmark-owner

api/categoriespluck

Example request:

curl -X GET \
    -G "https://lutios.com/api/categoriespluck" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/categoriespluck"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

{
    "success": true,
    "data": {
        "1": "Pijat Bayi"
    },
    "message": "Categories By ID&Name Retrieved Successfully."
}

Request      

GET api/categoriespluck

api/countries/{country}/provinces

Example request:

curl -X GET \
    -G "https://lutios.com/api/countries/voluptatum/provinces" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/countries/voluptatum/provinces"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (400):

{
    "error": "No query results for model [App\\Country] voluptatum"
}

Request      

GET api/countries/{country}/provinces

URL Parameters

country  string  

api/provinces/{province}/districts

Example request:

curl -X GET \
    -G "https://lutios.com/api/provinces/quas/districts" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/provinces/quas/districts"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (400):

{
    "error": "No query results for model [App\\Province] quas"
}

Request      

GET api/provinces/{province}/districts

URL Parameters

province  string  

api/districts/{district}/subdistricts

Example request:

curl -X GET \
    -G "https://lutios.com/api/districts/eaque/subdistricts" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/districts/eaque/subdistricts"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (400):

{
    "error": "No query results for model [App\\District] eaque"
}

Request      

GET api/districts/{district}/subdistricts

URL Parameters

district  string  

api/subdistricts/{subdistrict}/villages

Example request:

curl -X GET \
    -G "https://lutios.com/api/subdistricts/nemo/villages" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/subdistricts/nemo/villages"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (400):

{
    "error": "No query results for model [App\\SubDistrict] nemo"
}

Request      

GET api/subdistricts/{subdistrict}/villages

URL Parameters

subdistrict  string  

api/partners/{id}/images

Example request:

curl -X GET \
    -G "https://lutios.com/api/partners/dolor/images" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/partners/dolor/images"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (400):

{
    "error": "No query results for model [App\\Partner] dolor"
}

Request      

GET api/partners/{id}/images

URL Parameters

id  string  

api/mitrahaspartners

Example request:

curl -X GET \
    -G "https://lutios.com/api/mitrahaspartners" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/mitrahaspartners"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (400):

{
    "error": "Trying to get property 'id' of non-object"
}

Request      

GET api/mitrahaspartners

api/partnerssearch

Example request:

curl -X GET \
    -G "https://lutios.com/api/partnerssearch" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/partnerssearch"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

{
    "message": "pijat successfully fetched",
    "data": [
        {
            "id": 1,
            "imageId": 1,
            "mitraId": 3,
            "partnerName": "Panti Pijat Raharja",
            "price": 80000,
            "experience": "2",
            "partnerDescription": "Panti Pijat Raharja menyediakan beberapa jenis pijat yang sudah terpecaya sejak 1987, salah satunya adalah Pijat Bayi",
            "workDay": "Senin, Selasa, Rabu, Kamis, Jumat",
            "workOff": "Sabtu, Minggu",
            "callMassage": "bisa",
            "website": "www.lutios.com",
            "serviceArea": "Condongcatur",
            "serviceAge": "dewasa",
            "serviceGender": "laki-laki",
            "massagerGender": "laki-laki",
            "jobType": "Penuh",
            "status": "verified",
            "country": "Indonesia",
            "province": "Daerah Istimewa Yogyakarta",
            "district": "Sleman",
            "subDistrict": "Depok",
            "village": "Condongcatur",
            "address1": "Jl.Sumatra No.6",
            "address2": "Rumah warna orange",
            "phoneNumber": "081237463783",
            "created_at": "2022-02-13T04:08:25.000000Z",
            "updated_at": "2022-02-13T04:08:25.000000Z",
            "user": {
                "id": 3,
                "firstName": "Official",
                "lastName": "Condongcatur",
                "email": "partner@lutios.com",
                "country": "Indonesia",
                "province": "Daerah Istimewa Yogyakarta",
                "district": "Sleman",
                "subDistrict": "Depok",
                "village": "Condongcatur",
                "dateOfBirth": "1997-01-26",
                "mobilePhone": "085245960596",
                "status": "mitra",
                "created_at": "2022-02-13T04:08:25.000000Z",
                "updated_at": "2022-02-13T04:08:25.000000Z"
            },
            "image": {
                "id": 1,
                "profile": "https:\/\/dummyimage.com\/squarepopup",
                "serviceList": "https:\/\/dummyimage.com\/squarepopup",
                "logo": "https:\/\/dummyimage.com\/squarepopup",
                "certificate": "https:\/\/dummyimage.com\/mediumrectangle",
                "fromTheStreet": "https:\/\/dummyimage.com\/mediumrectangle",
                "gallery1": "https:\/\/dummyimage.com\/mediumrectangle",
                "gallery2": "https:\/\/dummyimage.com\/mediumrectangle",
                "gallery3": "https:\/\/dummyimage.com\/mediumrectangle",
                "created_at": "2022-02-13T04:08:25.000000Z",
                "updated_at": "2022-02-13T04:08:25.000000Z"
            },
            "categories": [
                {
                    "id": 1,
                    "name": "Pijat Bayi",
                    "created_at": "2022-02-13T04:08:25.000000Z",
                    "updated_at": "2022-02-13T04:08:25.000000Z",
                    "pivot": {
                        "massageId": 1,
                        "categoryId": 1,
                        "created_at": "2021-12-18T12:22:13.000000Z",
                        "updated_at": "2021-12-18T12:23:06.000000Z"
                    }
                }
            ]
        }
    ]
}

Request      

GET api/partnerssearch

api/partners/{id}/users

Example request:

curl -X GET \
    -G "https://lutios.com/api/partners/cumque/users" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/partners/cumque/users"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (400):

{
    "error": "No query results for model [App\\Partner] cumque"
}

Request      

GET api/partners/{id}/users

URL Parameters

id  string  

api/partners/{id}/categories

Example request:

curl -X GET \
    -G "https://lutios.com/api/partners/eius/categories" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/partners/eius/categories"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (400):

{
    "error": "No query results for model [App\\Partner] eius"
}

Request      

GET api/partners/{id}/categories

URL Parameters

id  string  

api/profilesearch

Example request:

curl -X GET \
    -G "https://lutios.com/api/profilesearch" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/api/profilesearch"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

{
    "message": "Pemijat successfully fetched",
    "data": [
        {
            "id": 3,
            "firstName": "Official",
            "lastName": "Condongcatur",
            "email": "partner@lutios.com",
            "country": "Indonesia",
            "province": "Daerah Istimewa Yogyakarta",
            "district": "Sleman",
            "subDistrict": "Depok",
            "village": "Condongcatur",
            "dateOfBirth": "1997-01-26",
            "mobilePhone": "085245960596",
            "status": "mitra",
            "created_at": "2022-02-13T04:08:25.000000Z",
            "updated_at": "2022-02-13T04:08:25.000000Z",
            "partners": [
                {
                    "id": 1,
                    "imageId": 1,
                    "mitraId": 3,
                    "partnerName": "Panti Pijat Raharja",
                    "price": 80000,
                    "experience": "2",
                    "partnerDescription": "Panti Pijat Raharja menyediakan beberapa jenis pijat yang sudah terpecaya sejak 1987, salah satunya adalah Pijat Bayi",
                    "workDay": "Senin, Selasa, Rabu, Kamis, Jumat",
                    "workOff": "Sabtu, Minggu",
                    "callMassage": "bisa",
                    "website": "www.lutios.com",
                    "serviceArea": "Condongcatur",
                    "serviceAge": "dewasa",
                    "serviceGender": "laki-laki",
                    "massagerGender": "laki-laki",
                    "jobType": "Penuh",
                    "status": "verified",
                    "country": "Indonesia",
                    "province": "Daerah Istimewa Yogyakarta",
                    "district": "Sleman",
                    "subDistrict": "Depok",
                    "village": "Condongcatur",
                    "address1": "Jl.Sumatra No.6",
                    "address2": "Rumah warna orange",
                    "phoneNumber": "081237463783",
                    "created_at": "2022-02-13T04:08:25.000000Z",
                    "updated_at": "2022-02-13T04:08:25.000000Z"
                }
            ]
        },
        {
            "id": 2,
            "firstName": "Official",
            "lastName": "User",
            "email": "user@lutios.com",
            "country": "Indonesia",
            "province": "Daerah Istimewa Yogyakarta",
            "district": "Sleman",
            "subDistrict": "Depok",
            "village": "Condongcatur",
            "dateOfBirth": "1997-01-26",
            "mobilePhone": "085245960595",
            "status": "user",
            "created_at": "2022-02-13T04:08:25.000000Z",
            "updated_at": "2022-02-13T04:08:25.000000Z",
            "partners": []
        },
        {
            "id": 1,
            "firstName": "Official",
            "lastName": "Admin",
            "email": "admin@lutios.com",
            "country": "Indonesia",
            "province": "Daerah Istimewa Yogyakarta",
            "district": "Sleman",
            "subDistrict": "Depok",
            "village": "Condongcatur",
            "dateOfBirth": "1997-01-26",
            "mobilePhone": "085245960594",
            "status": "admin",
            "created_at": "2022-02-13T04:08:25.000000Z",
            "updated_at": "2022-02-13T04:08:25.000000Z",
            "partners": []
        }
    ]
}

Request      

GET api/profilesearch

/

Example request:

curl -X GET \
    -G "https://lutios.com/" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):


<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <title>Lutios.com</title>

        <!-- Fonts -->
        <link href="https://fonts.googleapis.com/css2?family=Nunito:wght@200;600&display=swap" rel="stylesheet">

        <!-- Styles -->
        <style>
            html, body {
                background-color: #fff;
                color: #636b6f;
                font-family: 'Nunito', sans-serif;
                font-weight: 200;
                height: 100vh;
                margin: 0;
            }

            .full-height {
                height: 100vh;
            }

            .flex-center {
                align-items: center;
                display: flex;
                justify-content: center;
            }

            .position-ref {
                position: relative;
            }

            .top-right {
                position: absolute;
                right: 10px;
                top: 18px;
            }

            .content {
                text-align: center;
            }

            .title {
                font-size: 84px;
            }

            .links > a {
                color: #636b6f;
                padding: 0 25px;
                font-size: 13px;
                font-weight: 600;
                letter-spacing: .1rem;
                text-decoration: none;
                text-transform: uppercase;
            }

            .m-b-md {
                margin-bottom: 30px;
            }
        </style>
    </head>
    <body>
        <div class="flex-center position-ref full-height">

            <div class="content">
                <div class="title m-b-md">
                    Udah Terang Hujannya dek
                </div>

                <div class="links">
                    <a href="https://lutios.com/docs/#introduction">Docs</a>
                    <a href="http://pijat.lutios.com/">Search Engine Pijat</a>
                    <a href="https://github.com/Romadhoni">My GitHub</a>
                </div>
            </div>
        </div>
    </body>
</html>

Request      

GET /

Show the application's login form.

Example request:

curl -X GET \
    -G "https://lutios.com/login" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/login"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):


<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- CSRF Token -->
    <meta name="csrf-token" content="Rn6b9JOXPr9ewJImEdPHjrSupYyt20L6MNBesRXF">

    <title>Laravel</title>

    <!-- Scripts -->
    <script src="http://lutios.com/js/app.js" defer></script>

    <!-- Fonts -->
    <link rel="dns-prefetch" href="//fonts.gstatic.com">
    <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">

    <!-- Styles -->
    <link href="http://lutios.com/css/app.css" rel="stylesheet">
</head>
<body>
    <div id="app">
        <nav class="navbar navbar-expand-md navbar-light bg-white shadow-sm">
            <div class="container">
                <a class="navbar-brand" href="http://lutios.com">
                    Laravel
                </a>
                <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                    <span class="navbar-toggler-icon"></span>
                </button>

                <div class="collapse navbar-collapse" id="navbarSupportedContent">
                    <!-- Left Side Of Navbar -->
                    <ul class="navbar-nav mr-auto">

                    </ul>

                    <!-- Right Side Of Navbar -->
                    <ul class="navbar-nav ml-auto">
                        <!-- Authentication Links -->
                                                    <li class="nav-item">
                                <a class="nav-link" href="http://lutios.com/login">Login</a>
                            </li>
                                                            <li class="nav-item">
                                    <a class="nav-link" href="http://lutios.com/register">Register</a>
                                </li>
                                                                        </ul>
                </div>
            </div>
        </nav>

        <main class="py-4">
            <div class="container">
    <div class="row justify-content-center">
        <div class="col-md-8">
            <div class="card">
                <div class="card-header">Login</div>

                <div class="card-body">
                    <form method="POST" action="http://lutios.com/login">
                        <input type="hidden" name="_token" value="Rn6b9JOXPr9ewJImEdPHjrSupYyt20L6MNBesRXF">
                        <div class="form-group row">
                            <label for="email" class="col-md-4 col-form-label text-md-right">E-Mail Address</label>

                            <div class="col-md-6">
                                <input id="email" type="email" class="form-control " name="email" value="" required autocomplete="email" autofocus>

                                                            </div>
                        </div>

                        <div class="form-group row">
                            <label for="password" class="col-md-4 col-form-label text-md-right">Password</label>

                            <div class="col-md-6">
                                <input id="password" type="password" class="form-control " name="password" required autocomplete="current-password">

                                                            </div>
                        </div>

                        <div class="form-group row">
                            <div class="col-md-6 offset-md-4">
                                <div class="form-check">
                                    <input class="form-check-input" type="checkbox" name="remember" id="remember" >

                                    <label class="form-check-label" for="remember">
                                        Remember Me
                                    </label>
                                </div>
                            </div>
                        </div>

                        <div class="form-group row mb-0">
                            <div class="col-md-8 offset-md-4">
                                <button type="submit" class="btn btn-primary">
                                    Login
                                </button>

                                                                    <a class="btn btn-link" href="http://lutios.com/password/reset">
                                        Forgot Your Password?
                                    </a>
                                                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
        </main>
    </div>
</body>
</html>

Request      

GET login

Handle a login request to the application.

Example request:

curl -X POST \
    "https://lutios.com/login" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/login"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST login

Log the user out of the application.

Example request:

curl -X POST \
    "https://lutios.com/logout" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/logout"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST logout

Show the application registration form.

Example request:

curl -X GET \
    -G "https://lutios.com/register" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/register"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):


<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- CSRF Token -->
    <meta name="csrf-token" content="Rn6b9JOXPr9ewJImEdPHjrSupYyt20L6MNBesRXF">

    <title>Laravel</title>

    <!-- Scripts -->
    <script src="http://lutios.com/js/app.js" defer></script>

    <!-- Fonts -->
    <link rel="dns-prefetch" href="//fonts.gstatic.com">
    <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">

    <!-- Styles -->
    <link href="http://lutios.com/css/app.css" rel="stylesheet">
</head>
<body>
    <div id="app">
        <nav class="navbar navbar-expand-md navbar-light bg-white shadow-sm">
            <div class="container">
                <a class="navbar-brand" href="http://lutios.com">
                    Laravel
                </a>
                <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                    <span class="navbar-toggler-icon"></span>
                </button>

                <div class="collapse navbar-collapse" id="navbarSupportedContent">
                    <!-- Left Side Of Navbar -->
                    <ul class="navbar-nav mr-auto">

                    </ul>

                    <!-- Right Side Of Navbar -->
                    <ul class="navbar-nav ml-auto">
                        <!-- Authentication Links -->
                                                    <li class="nav-item">
                                <a class="nav-link" href="http://lutios.com/login">Login</a>
                            </li>
                                                            <li class="nav-item">
                                    <a class="nav-link" href="http://lutios.com/register">Register</a>
                                </li>
                                                                        </ul>
                </div>
            </div>
        </nav>

        <main class="py-4">
            <div class="container">
    <div class="row justify-content-center">
        <div class="col-md-8">
            <div class="card">
                <div class="card-header">Register</div>

                <div class="card-body">
                    <form method="POST" action="http://lutios.com/register">
                        <input type="hidden" name="_token" value="Rn6b9JOXPr9ewJImEdPHjrSupYyt20L6MNBesRXF">
                        <div class="form-group row">
                            <label for="name" class="col-md-4 col-form-label text-md-right">Name</label>

                            <div class="col-md-6">
                                <input id="name" type="text" class="form-control " name="name" value="" required autocomplete="name" autofocus>

                                                            </div>
                        </div>

                        <div class="form-group row">
                            <label for="email" class="col-md-4 col-form-label text-md-right">E-Mail Address</label>

                            <div class="col-md-6">
                                <input id="email" type="email" class="form-control " name="email" value="" required autocomplete="email">

                                                            </div>
                        </div>

                        <div class="form-group row">
                            <label for="password" class="col-md-4 col-form-label text-md-right">Password</label>

                            <div class="col-md-6">
                                <input id="password" type="password" class="form-control " name="password" required autocomplete="new-password">

                                                            </div>
                        </div>

                        <div class="form-group row">
                            <label for="password-confirm" class="col-md-4 col-form-label text-md-right">Confirm Password</label>

                            <div class="col-md-6">
                                <input id="password-confirm" type="password" class="form-control" name="password_confirmation" required autocomplete="new-password">
                            </div>
                        </div>

                        <div class="form-group row mb-0">
                            <div class="col-md-6 offset-md-4">
                                <button type="submit" class="btn btn-primary">
                                    Register
                                </button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
        </main>
    </div>
</body>
</html>

Request      

GET register

Handle a registration request for the application.

Example request:

curl -X POST \
    "https://lutios.com/register" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/register"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST register

Display the form to request a password reset link.

Example request:

curl -X GET \
    -G "https://lutios.com/password/reset" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/password/reset"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):


<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- CSRF Token -->
    <meta name="csrf-token" content="Rn6b9JOXPr9ewJImEdPHjrSupYyt20L6MNBesRXF">

    <title>Laravel</title>

    <!-- Scripts -->
    <script src="http://lutios.com/js/app.js" defer></script>

    <!-- Fonts -->
    <link rel="dns-prefetch" href="//fonts.gstatic.com">
    <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">

    <!-- Styles -->
    <link href="http://lutios.com/css/app.css" rel="stylesheet">
</head>
<body>
    <div id="app">
        <nav class="navbar navbar-expand-md navbar-light bg-white shadow-sm">
            <div class="container">
                <a class="navbar-brand" href="http://lutios.com">
                    Laravel
                </a>
                <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                    <span class="navbar-toggler-icon"></span>
                </button>

                <div class="collapse navbar-collapse" id="navbarSupportedContent">
                    <!-- Left Side Of Navbar -->
                    <ul class="navbar-nav mr-auto">

                    </ul>

                    <!-- Right Side Of Navbar -->
                    <ul class="navbar-nav ml-auto">
                        <!-- Authentication Links -->
                                                    <li class="nav-item">
                                <a class="nav-link" href="http://lutios.com/login">Login</a>
                            </li>
                                                            <li class="nav-item">
                                    <a class="nav-link" href="http://lutios.com/register">Register</a>
                                </li>
                                                                        </ul>
                </div>
            </div>
        </nav>

        <main class="py-4">
            <div class="container">
    <div class="row justify-content-center">
        <div class="col-md-8">
            <div class="card">
                <div class="card-header">Reset Password</div>

                <div class="card-body">

                    <form method="POST" action="http://lutios.com/password/email">
                        <input type="hidden" name="_token" value="Rn6b9JOXPr9ewJImEdPHjrSupYyt20L6MNBesRXF">
                        <div class="form-group row">
                            <label for="email" class="col-md-4 col-form-label text-md-right">E-Mail Address</label>

                            <div class="col-md-6">
                                <input id="email" type="email" class="form-control " name="email" value="" required autocomplete="email" autofocus>

                                                            </div>
                        </div>

                        <div class="form-group row mb-0">
                            <div class="col-md-6 offset-md-4">
                                <button type="submit" class="btn btn-primary">
                                    Send Password Reset Link
                                </button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
        </main>
    </div>
</body>
</html>

Request      

GET password/reset

Send a reset link to the given user.

Example request:

curl -X POST \
    "https://lutios.com/password/email" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/password/email"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST password/email

Display the password reset view for the given token.

If no token is present, display the link request form.

Example request:

curl -X GET \
    -G "https://lutios.com/password/reset/quo" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/password/reset/quo"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):


<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- CSRF Token -->
    <meta name="csrf-token" content="Rn6b9JOXPr9ewJImEdPHjrSupYyt20L6MNBesRXF">

    <title>Laravel</title>

    <!-- Scripts -->
    <script src="http://lutios.com/js/app.js" defer></script>

    <!-- Fonts -->
    <link rel="dns-prefetch" href="//fonts.gstatic.com">
    <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">

    <!-- Styles -->
    <link href="http://lutios.com/css/app.css" rel="stylesheet">
</head>
<body>
    <div id="app">
        <nav class="navbar navbar-expand-md navbar-light bg-white shadow-sm">
            <div class="container">
                <a class="navbar-brand" href="http://lutios.com">
                    Laravel
                </a>
                <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                    <span class="navbar-toggler-icon"></span>
                </button>

                <div class="collapse navbar-collapse" id="navbarSupportedContent">
                    <!-- Left Side Of Navbar -->
                    <ul class="navbar-nav mr-auto">

                    </ul>

                    <!-- Right Side Of Navbar -->
                    <ul class="navbar-nav ml-auto">
                        <!-- Authentication Links -->
                                                    <li class="nav-item">
                                <a class="nav-link" href="http://lutios.com/login">Login</a>
                            </li>
                                                            <li class="nav-item">
                                    <a class="nav-link" href="http://lutios.com/register">Register</a>
                                </li>
                                                                        </ul>
                </div>
            </div>
        </nav>

        <main class="py-4">
            <div class="container">
    <div class="row justify-content-center">
        <div class="col-md-8">
            <div class="card">
                <div class="card-header">Reset Password</div>

                <div class="card-body">
                    <form method="POST" action="http://lutios.com/password/reset">
                        <input type="hidden" name="_token" value="Rn6b9JOXPr9ewJImEdPHjrSupYyt20L6MNBesRXF">
                        <input type="hidden" name="token" value="quo">

                        <div class="form-group row">
                            <label for="email" class="col-md-4 col-form-label text-md-right">E-Mail Address</label>

                            <div class="col-md-6">
                                <input id="email" type="email" class="form-control " name="email" value="" required autocomplete="email" autofocus>

                                                            </div>
                        </div>

                        <div class="form-group row">
                            <label for="password" class="col-md-4 col-form-label text-md-right">Password</label>

                            <div class="col-md-6">
                                <input id="password" type="password" class="form-control " name="password" required autocomplete="new-password">

                                                            </div>
                        </div>

                        <div class="form-group row">
                            <label for="password-confirm" class="col-md-4 col-form-label text-md-right">Confirm Password</label>

                            <div class="col-md-6">
                                <input id="password-confirm" type="password" class="form-control" name="password_confirmation" required autocomplete="new-password">
                            </div>
                        </div>

                        <div class="form-group row mb-0">
                            <div class="col-md-6 offset-md-4">
                                <button type="submit" class="btn btn-primary">
                                    Reset Password
                                </button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
        </main>
    </div>
</body>
</html>

Request      

GET password/reset/{token}

URL Parameters

token  string  

Reset the given user's password.

Example request:

curl -X POST \
    "https://lutios.com/password/reset" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/password/reset"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST password/reset

Display the password confirmation view.

Example request:

curl -X GET \
    -G "https://lutios.com/password/confirm" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/password/confirm"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (400):

{
    "error": "Unauthenticated."
}

Request      

GET password/confirm

Confirm the given user's password.

Example request:

curl -X POST \
    "https://lutios.com/password/confirm" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
const url = new URL(
    "https://lutios.com/password/confirm"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST password/confirm