MENU navbar-image

Introduction

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

<aside>As you scroll, you'll see code examples for working with the API in different programming languages in the dark area to the right (or as part of the content on mobile).
You can switch the language used with the tabs at the top right (or from the nav menu at the top left on mobile).</aside>

Authenticating requests

This API is not authenticated.

Endpoints

POST api/register

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/register" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"vmqeopfuudtdsufvyvddq\",
    \"email\": \"kunde.eloisa@example.com\",
    \"password\": \"O[2UZ5ij-e\\/dl4m{o,\"
}"
const url = new URL(
    "https://madex.legionagency.tech/api/register"
);

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

let body = {
    "name": "vmqeopfuudtdsufvyvddq",
    "email": "kunde.eloisa@example.com",
    "password": "O[2UZ5ij-e\/dl4m{o,"
};

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

Request      

POST api/register

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

name   string     

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

email   string     

Must be a valid email address. Must not be greater than 255 characters. Example: kunde.eloisa@example.com

password   string     

Example: O[2UZ5ij-e/dl4m{o,

POST api/login

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/login" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"qkunze@example.com\",
    \"password\": \"O[2UZ5ij-e\\/dl4m{o,\"
}"
const url = new URL(
    "https://madex.legionagency.tech/api/login"
);

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

let body = {
    "email": "qkunze@example.com",
    "password": "O[2UZ5ij-e\/dl4m{o,"
};

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

Request      

POST api/login

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

email   string     

Must be a valid email address. Example: qkunze@example.com

password   string     

Example: O[2UZ5ij-e/dl4m{o,

POST api/logout

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/logout" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://madex.legionagency.tech/api/logout"
);

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

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

Request      

POST api/logout

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

POST api/hero-sliders

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/hero-sliders" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title_line1=vmqeopfuudtdsufvyvddq"\
    --form "title_line2=amniihfqcoynlazghdtqt"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "video=@C:\Users\www\AppData\Local\Temp\php776A.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/hero-sliders"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title_line1', 'vmqeopfuudtdsufvyvddq');
body.append('title_line2', 'amniihfqcoynlazghdtqt');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('video', document.querySelector('input[name="video"]').files[0]);

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

Request      

POST api/hero-sliders

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

Body Parameters

video   file     

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php776A.tmp

title_line1   string     

~200MB. Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

title_line2   string     

Must not be greater than 255 characters. Example: amniihfqcoynlazghdtqt

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

PUT api/hero-sliders/{heroSlider_id}

Example request:
curl --request PUT \
    "https://madex.legionagency.tech/api/hero-sliders/17" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title_line1=vmqeopfuudtdsufvyvddq"\
    --form "title_line2=amniihfqcoynlazghdtqt"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "video=@C:\Users\www\AppData\Local\Temp\php778C.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/hero-sliders/17"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title_line1', 'vmqeopfuudtdsufvyvddq');
body.append('title_line2', 'amniihfqcoynlazghdtqt');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('video', document.querySelector('input[name="video"]').files[0]);

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

Request      

PUT api/hero-sliders/{heroSlider_id}

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

heroSlider_id   integer     

The ID of the heroSlider. Example: 17

Body Parameters

video   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php778C.tmp

title_line1   string  optional    

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

title_line2   string  optional    

Must not be greater than 255 characters. Example: amniihfqcoynlazghdtqt

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

DELETE api/hero-sliders/{heroSlider_id}

Example request:
curl --request DELETE \
    "https://madex.legionagency.tech/api/hero-sliders/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://madex.legionagency.tech/api/hero-sliders/17"
);

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

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

Request      

DELETE api/hero-sliders/{heroSlider_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

heroSlider_id   integer     

The ID of the heroSlider. Example: 17

POST api/features

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/features" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=vmqeopfuudtdsufvyvddq"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "sort_order=12"\
    --form "video1=@C:\Users\www\AppData\Local\Temp\php779C.tmp" \
    --form "video2=@C:\Users\www\AppData\Local\Temp\php779D.tmp" \
    --form "video3=@C:\Users\www\AppData\Local\Temp\php779E.tmp" \
    --form "video4=@C:\Users\www\AppData\Local\Temp\php779F.tmp" \
    --form "video5=@C:\Users\www\AppData\Local\Temp\php77A0.tmp" \
    --form "video6=@C:\Users\www\AppData\Local\Temp\php77A1.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/features"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title', 'vmqeopfuudtdsufvyvddq');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('sort_order', '12');
body.append('video1', document.querySelector('input[name="video1"]').files[0]);
body.append('video2', document.querySelector('input[name="video2"]').files[0]);
body.append('video3', document.querySelector('input[name="video3"]').files[0]);
body.append('video4', document.querySelector('input[name="video4"]').files[0]);
body.append('video5', document.querySelector('input[name="video5"]').files[0]);
body.append('video6', document.querySelector('input[name="video6"]').files[0]);

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

Request      

POST api/features

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

Body Parameters

title   string     

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

sort_order   integer  optional    

Must be at least 0. Example: 12

video1   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php779C.tmp

video2   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php779D.tmp

video3   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php779E.tmp

video4   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php779F.tmp

video5   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php77A0.tmp

video6   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php77A1.tmp

POST api/features/{feature_id}

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/features/17" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=vmqeopfuudtdsufvyvddq"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "sort_order=12"\
    --form "video1=@C:\Users\www\AppData\Local\Temp\php77B2.tmp" \
    --form "video2=@C:\Users\www\AppData\Local\Temp\php77B3.tmp" \
    --form "video3=@C:\Users\www\AppData\Local\Temp\php77B4.tmp" \
    --form "video4=@C:\Users\www\AppData\Local\Temp\php77B5.tmp" \
    --form "video5=@C:\Users\www\AppData\Local\Temp\php77B6.tmp" \
    --form "video6=@C:\Users\www\AppData\Local\Temp\php77B7.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/features/17"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title', 'vmqeopfuudtdsufvyvddq');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('sort_order', '12');
body.append('video1', document.querySelector('input[name="video1"]').files[0]);
body.append('video2', document.querySelector('input[name="video2"]').files[0]);
body.append('video3', document.querySelector('input[name="video3"]').files[0]);
body.append('video4', document.querySelector('input[name="video4"]').files[0]);
body.append('video5', document.querySelector('input[name="video5"]').files[0]);
body.append('video6', document.querySelector('input[name="video6"]').files[0]);

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

Request      

POST api/features/{feature_id}

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

feature_id   integer     

The ID of the feature. Example: 17

Body Parameters

title   string  optional    

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

sort_order   integer  optional    

Must be at least 0. Example: 12

video1   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php77B2.tmp

video2   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php77B3.tmp

video3   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php77B4.tmp

video4   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php77B5.tmp

video5   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php77B6.tmp

video6   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php77B7.tmp

PUT api/features/{feature_id}

Example request:
curl --request PUT \
    "https://madex.legionagency.tech/api/features/17" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=vmqeopfuudtdsufvyvddq"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "sort_order=12"\
    --form "video1=@C:\Users\www\AppData\Local\Temp\php77B8.tmp" \
    --form "video2=@C:\Users\www\AppData\Local\Temp\php77B9.tmp" \
    --form "video3=@C:\Users\www\AppData\Local\Temp\php77BA.tmp" \
    --form "video4=@C:\Users\www\AppData\Local\Temp\php77BB.tmp" \
    --form "video5=@C:\Users\www\AppData\Local\Temp\php77BC.tmp" \
    --form "video6=@C:\Users\www\AppData\Local\Temp\php77BD.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/features/17"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title', 'vmqeopfuudtdsufvyvddq');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('sort_order', '12');
body.append('video1', document.querySelector('input[name="video1"]').files[0]);
body.append('video2', document.querySelector('input[name="video2"]').files[0]);
body.append('video3', document.querySelector('input[name="video3"]').files[0]);
body.append('video4', document.querySelector('input[name="video4"]').files[0]);
body.append('video5', document.querySelector('input[name="video5"]').files[0]);
body.append('video6', document.querySelector('input[name="video6"]').files[0]);

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

Request      

PUT api/features/{feature_id}

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

feature_id   integer     

The ID of the feature. Example: 17

Body Parameters

title   string  optional    

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

sort_order   integer  optional    

Must be at least 0. Example: 12

video1   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php77B8.tmp

video2   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php77B9.tmp

video3   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php77BA.tmp

video4   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php77BB.tmp

video5   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php77BC.tmp

video6   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php77BD.tmp

DELETE api/features/{feature_id}

Example request:
curl --request DELETE \
    "https://madex.legionagency.tech/api/features/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://madex.legionagency.tech/api/features/17"
);

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

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

Request      

DELETE api/features/{feature_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

feature_id   integer     

The ID of the feature. Example: 17

POST api/abouts

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/abouts" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "first_title_line1=vmqeopfuudtdsufvyvddq"\
    --form "first_title_line2=amniihfqcoynlazghdtqt"\
    --form "first_label=qxbajwbpilpmufinllwlo"\
    --form "first_paragraph=consequatur"\
    --form "second_title_line1=mqeopfuudtdsufvyvddqa"\
    --form "second_title_line2=mniihfqcoynlazghdtqtq"\
    --form "second_label=xbajwbpilpmufinllwloa"\
    --form "second_paragraph=consequatur"\
    --form "sort_order=45"\
    --form "image=@C:\Users\www\AppData\Local\Temp\php77CD.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/abouts"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('first_title_line1', 'vmqeopfuudtdsufvyvddq');
body.append('first_title_line2', 'amniihfqcoynlazghdtqt');
body.append('first_label', 'qxbajwbpilpmufinllwlo');
body.append('first_paragraph', 'consequatur');
body.append('second_title_line1', 'mqeopfuudtdsufvyvddqa');
body.append('second_title_line2', 'mniihfqcoynlazghdtqtq');
body.append('second_label', 'xbajwbpilpmufinllwloa');
body.append('second_paragraph', 'consequatur');
body.append('sort_order', '45');
body.append('image', document.querySelector('input[name="image"]').files[0]);

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

Request      

POST api/abouts

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

Body Parameters

first_title_line1   string     

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

first_title_line2   string     

Must not be greater than 255 characters. Example: amniihfqcoynlazghdtqt

first_label   string  optional    

Must not be greater than 255 characters. Example: qxbajwbpilpmufinllwlo

first_paragraph   string  optional    

Example: consequatur

second_title_line1   string     

Must not be greater than 255 characters. Example: mqeopfuudtdsufvyvddqa

second_title_line2   string     

Must not be greater than 255 characters. Example: mniihfqcoynlazghdtqtq

second_label   string  optional    

Must not be greater than 255 characters. Example: xbajwbpilpmufinllwloa

second_paragraph   string  optional    

Example: consequatur

sort_order   integer  optional    

Must be at least 0. Example: 45

image   file  optional    

Must be an image. Must not be greater than 5120 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php77CD.tmp

POST api/abouts/{about_id}

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/abouts/17" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "first_title_line1=vmqeopfuudtdsufvyvddq"\
    --form "first_title_line2=amniihfqcoynlazghdtqt"\
    --form "first_label=qxbajwbpilpmufinllwlo"\
    --form "first_paragraph=consequatur"\
    --form "second_title_line1=mqeopfuudtdsufvyvddqa"\
    --form "second_title_line2=mniihfqcoynlazghdtqtq"\
    --form "second_label=xbajwbpilpmufinllwloa"\
    --form "second_paragraph=consequatur"\
    --form "sort_order=45"\
    --form "image=@C:\Users\www\AppData\Local\Temp\php77CE.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/abouts/17"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('first_title_line1', 'vmqeopfuudtdsufvyvddq');
body.append('first_title_line2', 'amniihfqcoynlazghdtqt');
body.append('first_label', 'qxbajwbpilpmufinllwlo');
body.append('first_paragraph', 'consequatur');
body.append('second_title_line1', 'mqeopfuudtdsufvyvddqa');
body.append('second_title_line2', 'mniihfqcoynlazghdtqtq');
body.append('second_label', 'xbajwbpilpmufinllwloa');
body.append('second_paragraph', 'consequatur');
body.append('sort_order', '45');
body.append('image', document.querySelector('input[name="image"]').files[0]);

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

Request      

POST api/abouts/{about_id}

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

about_id   integer     

The ID of the about. Example: 17

Body Parameters

first_title_line1   string  optional    

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

first_title_line2   string  optional    

Must not be greater than 255 characters. Example: amniihfqcoynlazghdtqt

first_label   string  optional    

Must not be greater than 255 characters. Example: qxbajwbpilpmufinllwlo

first_paragraph   string  optional    

Example: consequatur

second_title_line1   string  optional    

Must not be greater than 255 characters. Example: mqeopfuudtdsufvyvddqa

second_title_line2   string  optional    

Must not be greater than 255 characters. Example: mniihfqcoynlazghdtqtq

second_label   string  optional    

Must not be greater than 255 characters. Example: xbajwbpilpmufinllwloa

second_paragraph   string  optional    

Example: consequatur

sort_order   integer  optional    

Must be at least 0. Example: 45

image   file  optional    

Must be an image. Must not be greater than 5120 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php77CE.tmp

PUT api/abouts/{about_id}

Example request:
curl --request PUT \
    "https://madex.legionagency.tech/api/abouts/17" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "first_title_line1=vmqeopfuudtdsufvyvddq"\
    --form "first_title_line2=amniihfqcoynlazghdtqt"\
    --form "first_label=qxbajwbpilpmufinllwlo"\
    --form "first_paragraph=consequatur"\
    --form "second_title_line1=mqeopfuudtdsufvyvddqa"\
    --form "second_title_line2=mniihfqcoynlazghdtqtq"\
    --form "second_label=xbajwbpilpmufinllwloa"\
    --form "second_paragraph=consequatur"\
    --form "sort_order=45"\
    --form "image=@C:\Users\www\AppData\Local\Temp\php77DF.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/abouts/17"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('first_title_line1', 'vmqeopfuudtdsufvyvddq');
body.append('first_title_line2', 'amniihfqcoynlazghdtqt');
body.append('first_label', 'qxbajwbpilpmufinllwlo');
body.append('first_paragraph', 'consequatur');
body.append('second_title_line1', 'mqeopfuudtdsufvyvddqa');
body.append('second_title_line2', 'mniihfqcoynlazghdtqtq');
body.append('second_label', 'xbajwbpilpmufinllwloa');
body.append('second_paragraph', 'consequatur');
body.append('sort_order', '45');
body.append('image', document.querySelector('input[name="image"]').files[0]);

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

Request      

PUT api/abouts/{about_id}

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

about_id   integer     

The ID of the about. Example: 17

Body Parameters

first_title_line1   string  optional    

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

first_title_line2   string  optional    

Must not be greater than 255 characters. Example: amniihfqcoynlazghdtqt

first_label   string  optional    

Must not be greater than 255 characters. Example: qxbajwbpilpmufinllwlo

first_paragraph   string  optional    

Example: consequatur

second_title_line1   string  optional    

Must not be greater than 255 characters. Example: mqeopfuudtdsufvyvddqa

second_title_line2   string  optional    

Must not be greater than 255 characters. Example: mniihfqcoynlazghdtqtq

second_label   string  optional    

Must not be greater than 255 characters. Example: xbajwbpilpmufinllwloa

second_paragraph   string  optional    

Example: consequatur

sort_order   integer  optional    

Must be at least 0. Example: 45

image   file  optional    

Must be an image. Must not be greater than 5120 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php77DF.tmp

DELETE api/abouts/{about_id}

Example request:
curl --request DELETE \
    "https://madex.legionagency.tech/api/abouts/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://madex.legionagency.tech/api/abouts/17"
);

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

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

Request      

DELETE api/abouts/{about_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

about_id   integer     

The ID of the about. Example: 17

POST api/projects

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/projects" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=vmqeopfuudtdsufvyvddq"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "sort_order=12"\
    --form "image=@C:\Users\www\AppData\Local\Temp\php77F0.tmp" \
    --form "video=@C:\Users\www\AppData\Local\Temp\php77F1.tmp" \
    --form "before_image=@C:\Users\www\AppData\Local\Temp\php77F2.tmp" \
    --form "after_image=@C:\Users\www\AppData\Local\Temp\php77F3.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/projects"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title', 'vmqeopfuudtdsufvyvddq');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('sort_order', '12');
body.append('image', document.querySelector('input[name="image"]').files[0]);
body.append('video', document.querySelector('input[name="video"]').files[0]);
body.append('before_image', document.querySelector('input[name="before_image"]').files[0]);
body.append('after_image', document.querySelector('input[name="after_image"]').files[0]);

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

Request      

POST api/projects

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

Body Parameters

title   string     

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

sort_order   integer  optional    

Must be at least 0. Example: 12

image   file  optional    

Must be an image. Must not be greater than 8192 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php77F0.tmp

video   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php77F1.tmp

before_image   file  optional    

Must be an image. Must not be greater than 8192 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php77F2.tmp

after_image   file  optional    

Must be an image. Must not be greater than 8192 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php77F3.tmp

POST api/projects/{project_id}

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/projects/17" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=vmqeopfuudtdsufvyvddq"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "sort_order=12"\
    --form "image=@C:\Users\www\AppData\Local\Temp\php77F4.tmp" \
    --form "video=@C:\Users\www\AppData\Local\Temp\php77F5.tmp" \
    --form "before_image=@C:\Users\www\AppData\Local\Temp\php7805.tmp" \
    --form "after_image=@C:\Users\www\AppData\Local\Temp\php7806.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/projects/17"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title', 'vmqeopfuudtdsufvyvddq');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('sort_order', '12');
body.append('image', document.querySelector('input[name="image"]').files[0]);
body.append('video', document.querySelector('input[name="video"]').files[0]);
body.append('before_image', document.querySelector('input[name="before_image"]').files[0]);
body.append('after_image', document.querySelector('input[name="after_image"]').files[0]);

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

Request      

POST api/projects/{project_id}

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 17

Body Parameters

title   string  optional    

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

sort_order   integer  optional    

Must be at least 0. Example: 12

image   file  optional    

Must be an image. Must not be greater than 8192 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php77F4.tmp

video   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php77F5.tmp

before_image   file  optional    

Must be an image. Must not be greater than 8192 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php7805.tmp

after_image   file  optional    

Must be an image. Must not be greater than 8192 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php7806.tmp

PUT api/projects/{project_id}

Example request:
curl --request PUT \
    "https://madex.legionagency.tech/api/projects/17" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=vmqeopfuudtdsufvyvddq"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "sort_order=12"\
    --form "image=@C:\Users\www\AppData\Local\Temp\php7807.tmp" \
    --form "video=@C:\Users\www\AppData\Local\Temp\php7808.tmp" \
    --form "before_image=@C:\Users\www\AppData\Local\Temp\php7809.tmp" \
    --form "after_image=@C:\Users\www\AppData\Local\Temp\php780A.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/projects/17"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title', 'vmqeopfuudtdsufvyvddq');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('sort_order', '12');
body.append('image', document.querySelector('input[name="image"]').files[0]);
body.append('video', document.querySelector('input[name="video"]').files[0]);
body.append('before_image', document.querySelector('input[name="before_image"]').files[0]);
body.append('after_image', document.querySelector('input[name="after_image"]').files[0]);

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

Request      

PUT api/projects/{project_id}

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 17

Body Parameters

title   string  optional    

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

sort_order   integer  optional    

Must be at least 0. Example: 12

image   file  optional    

Must be an image. Must not be greater than 8192 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php7807.tmp

video   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php7808.tmp

before_image   file  optional    

Must be an image. Must not be greater than 8192 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php7809.tmp

after_image   file  optional    

Must be an image. Must not be greater than 8192 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php780A.tmp

DELETE api/projects/{project_id}

Example request:
curl --request DELETE \
    "https://madex.legionagency.tech/api/projects/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://madex.legionagency.tech/api/projects/17"
);

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

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

Request      

DELETE api/projects/{project_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 17

POST api/madex-pages

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/madex-pages" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"vmqeopfuudtdsufvyvddq\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\"
}"
const url = new URL(
    "https://madex.legionagency.tech/api/madex-pages"
);

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

let body = {
    "title": "vmqeopfuudtdsufvyvddq",
    "description": "Dolores dolorum amet iste laborum eius est dolor."
};

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

Request      

POST api/madex-pages

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

title   string     

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

POST api/madex-pages/{madexPage_id}

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/madex-pages/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"vmqeopfuudtdsufvyvddq\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\"
}"
const url = new URL(
    "https://madex.legionagency.tech/api/madex-pages/17"
);

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

let body = {
    "title": "vmqeopfuudtdsufvyvddq",
    "description": "Dolores dolorum amet iste laborum eius est dolor."
};

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

Request      

POST api/madex-pages/{madexPage_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

madexPage_id   integer     

The ID of the madexPage. Example: 17

Body Parameters

title   string  optional    

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

PUT api/madex-pages/{madexPage_id}

Example request:
curl --request PUT \
    "https://madex.legionagency.tech/api/madex-pages/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"vmqeopfuudtdsufvyvddq\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\"
}"
const url = new URL(
    "https://madex.legionagency.tech/api/madex-pages/17"
);

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

let body = {
    "title": "vmqeopfuudtdsufvyvddq",
    "description": "Dolores dolorum amet iste laborum eius est dolor."
};

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

Request      

PUT api/madex-pages/{madexPage_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

madexPage_id   integer     

The ID of the madexPage. Example: 17

Body Parameters

title   string  optional    

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

DELETE api/madex-pages/{madexPage_id}

Example request:
curl --request DELETE \
    "https://madex.legionagency.tech/api/madex-pages/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://madex.legionagency.tech/api/madex-pages/17"
);

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

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

Request      

DELETE api/madex-pages/{madexPage_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

madexPage_id   integer     

The ID of the madexPage. Example: 17

POST api/testimonials

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/testimonials" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "quote=consequatur"\
    --form "author=mqeopfuudtdsufvyvddqa"\
    --form "position=mniihfqcoynlazghdtqtq"\
    --form "sort_order=80"\
    --form "logo=@C:\Users\www\AppData\Local\Temp\php782B.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/testimonials"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('quote', 'consequatur');
body.append('author', 'mqeopfuudtdsufvyvddqa');
body.append('position', 'mniihfqcoynlazghdtqtq');
body.append('sort_order', '80');
body.append('logo', document.querySelector('input[name="logo"]').files[0]);

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

Request      

POST api/testimonials

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

Body Parameters

quote   string     

Example: consequatur

author   string     

Must not be greater than 255 characters. Example: mqeopfuudtdsufvyvddqa

position   string  optional    

Must not be greater than 255 characters. Example: mniihfqcoynlazghdtqtq

sort_order   integer  optional    

Must be at least 0. Example: 80

logo   file  optional    

Must be an image. Must not be greater than 8192 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php782B.tmp

POST api/testimonials/{testimonial_id}

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/testimonials/17" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "quote=consequatur"\
    --form "author=mqeopfuudtdsufvyvddqa"\
    --form "position=mniihfqcoynlazghdtqtq"\
    --form "sort_order=80"\
    --form "logo=@C:\Users\www\AppData\Local\Temp\php782C.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/testimonials/17"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('quote', 'consequatur');
body.append('author', 'mqeopfuudtdsufvyvddqa');
body.append('position', 'mniihfqcoynlazghdtqtq');
body.append('sort_order', '80');
body.append('logo', document.querySelector('input[name="logo"]').files[0]);

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

Request      

POST api/testimonials/{testimonial_id}

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

testimonial_id   integer     

The ID of the testimonial. Example: 17

Body Parameters

quote   string  optional    

Example: consequatur

author   string  optional    

Must not be greater than 255 characters. Example: mqeopfuudtdsufvyvddqa

position   string  optional    

Must not be greater than 255 characters. Example: mniihfqcoynlazghdtqtq

sort_order   integer  optional    

Must be at least 0. Example: 80

logo   file  optional    

Must be an image. Must not be greater than 8192 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php782C.tmp

PUT api/testimonials/{testimonial_id}

Example request:
curl --request PUT \
    "https://madex.legionagency.tech/api/testimonials/17" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "quote=consequatur"\
    --form "author=mqeopfuudtdsufvyvddqa"\
    --form "position=mniihfqcoynlazghdtqtq"\
    --form "sort_order=80"\
    --form "logo=@C:\Users\www\AppData\Local\Temp\php782D.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/testimonials/17"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('quote', 'consequatur');
body.append('author', 'mqeopfuudtdsufvyvddqa');
body.append('position', 'mniihfqcoynlazghdtqtq');
body.append('sort_order', '80');
body.append('logo', document.querySelector('input[name="logo"]').files[0]);

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

Request      

PUT api/testimonials/{testimonial_id}

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

testimonial_id   integer     

The ID of the testimonial. Example: 17

Body Parameters

quote   string  optional    

Example: consequatur

author   string  optional    

Must not be greater than 255 characters. Example: mqeopfuudtdsufvyvddqa

position   string  optional    

Must not be greater than 255 characters. Example: mniihfqcoynlazghdtqtq

sort_order   integer  optional    

Must be at least 0. Example: 80

logo   file  optional    

Must be an image. Must not be greater than 8192 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php782D.tmp

DELETE api/testimonials/{testimonial_id}

Example request:
curl --request DELETE \
    "https://madex.legionagency.tech/api/testimonials/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://madex.legionagency.tech/api/testimonials/17"
);

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

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

Request      

DELETE api/testimonials/{testimonial_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

testimonial_id   integer     

The ID of the testimonial. Example: 17

POST api/services

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/services" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=vmqeopfuudtdsufvyvddq"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "sort_order=12"\
    --form "icon=@C:\Users\www\AppData\Local\Temp\php783D.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/services"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title', 'vmqeopfuudtdsufvyvddq');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('sort_order', '12');
body.append('icon', document.querySelector('input[name="icon"]').files[0]);

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

Request      

POST api/services

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

Body Parameters

title   string     

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

sort_order   integer  optional    

Must be at least 0. Example: 12

icon   file  optional    

Must be an image. Must not be greater than 8192 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php783D.tmp

POST api/services/{service_id}

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/services/17" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=vmqeopfuudtdsufvyvddq"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "sort_order=12"\
    --form "icon=@C:\Users\www\AppData\Local\Temp\php783E.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/services/17"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title', 'vmqeopfuudtdsufvyvddq');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('sort_order', '12');
body.append('icon', document.querySelector('input[name="icon"]').files[0]);

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

Request      

POST api/services/{service_id}

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

service_id   integer     

The ID of the service. Example: 17

Body Parameters

title   string  optional    

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

sort_order   integer  optional    

Must be at least 0. Example: 12

icon   file  optional    

Must be an image. Must not be greater than 8192 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php783E.tmp

PUT api/services/{service_id}

Example request:
curl --request PUT \
    "https://madex.legionagency.tech/api/services/17" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=vmqeopfuudtdsufvyvddq"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "sort_order=12"\
    --form "icon=@C:\Users\www\AppData\Local\Temp\php784F.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/services/17"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title', 'vmqeopfuudtdsufvyvddq');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('sort_order', '12');
body.append('icon', document.querySelector('input[name="icon"]').files[0]);

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

Request      

PUT api/services/{service_id}

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

service_id   integer     

The ID of the service. Example: 17

Body Parameters

title   string  optional    

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

sort_order   integer  optional    

Must be at least 0. Example: 12

icon   file  optional    

Must be an image. Must not be greater than 8192 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php784F.tmp

DELETE api/services/{service_id}

Example request:
curl --request DELETE \
    "https://madex.legionagency.tech/api/services/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://madex.legionagency.tech/api/services/17"
);

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

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

Request      

DELETE api/services/{service_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

service_id   integer     

The ID of the service. Example: 17

POST api/teams

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/teams" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=vmqeopfuudtdsufvyvddq"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "vision=consequatur"\
    --form "mission=consequatur"\
    --form "sort_order=45"\
    --form "image=@C:\Users\www\AppData\Local\Temp\php785F.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/teams"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title', 'vmqeopfuudtdsufvyvddq');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('vision', 'consequatur');
body.append('mission', 'consequatur');
body.append('sort_order', '45');
body.append('image', document.querySelector('input[name="image"]').files[0]);

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

Request      

POST api/teams

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

Body Parameters

title   string     

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

vision   string  optional    

Example: consequatur

mission   string  optional    

Example: consequatur

sort_order   integer  optional    

Must be at least 0. Example: 45

image   file  optional    

Must be an image. Must not be greater than 8192 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php785F.tmp

POST api/teams/{team_id}

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/teams/17" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=vmqeopfuudtdsufvyvddq"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "vision=consequatur"\
    --form "mission=consequatur"\
    --form "sort_order=45"\
    --form "image=@C:\Users\www\AppData\Local\Temp\php7860.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/teams/17"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title', 'vmqeopfuudtdsufvyvddq');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('vision', 'consequatur');
body.append('mission', 'consequatur');
body.append('sort_order', '45');
body.append('image', document.querySelector('input[name="image"]').files[0]);

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

Request      

POST api/teams/{team_id}

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

team_id   integer     

The ID of the team. Example: 17

Body Parameters

title   string  optional    

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

vision   string  optional    

Example: consequatur

mission   string  optional    

Example: consequatur

sort_order   integer  optional    

Must be at least 0. Example: 45

image   file  optional    

Must be an image. Must not be greater than 8192 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php7860.tmp

PUT api/teams/{team_id}

Example request:
curl --request PUT \
    "https://madex.legionagency.tech/api/teams/17" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=vmqeopfuudtdsufvyvddq"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "vision=consequatur"\
    --form "mission=consequatur"\
    --form "sort_order=45"\
    --form "image=@C:\Users\www\AppData\Local\Temp\php7861.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/teams/17"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title', 'vmqeopfuudtdsufvyvddq');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('vision', 'consequatur');
body.append('mission', 'consequatur');
body.append('sort_order', '45');
body.append('image', document.querySelector('input[name="image"]').files[0]);

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

Request      

PUT api/teams/{team_id}

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

team_id   integer     

The ID of the team. Example: 17

Body Parameters

title   string  optional    

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

vision   string  optional    

Example: consequatur

mission   string  optional    

Example: consequatur

sort_order   integer  optional    

Must be at least 0. Example: 45

image   file  optional    

Must be an image. Must not be greater than 8192 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php7861.tmp

DELETE api/teams/{team_id}

Example request:
curl --request DELETE \
    "https://madex.legionagency.tech/api/teams/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://madex.legionagency.tech/api/teams/17"
);

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

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

Request      

DELETE api/teams/{team_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

team_id   integer     

The ID of the team. Example: 17

POST api/video-editings

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/video-editings" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=vmqeopfuudtdsufvyvddq"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "slogan=dtdsufvyvddqamniihfqc"\
    --form "sort_order=51"\
    --form "image=@C:\Users\www\AppData\Local\Temp\php7882.tmp" \
    --form "video=@C:\Users\www\AppData\Local\Temp\php7883.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/video-editings"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title', 'vmqeopfuudtdsufvyvddq');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('slogan', 'dtdsufvyvddqamniihfqc');
body.append('sort_order', '51');
body.append('image', document.querySelector('input[name="image"]').files[0]);
body.append('video', document.querySelector('input[name="video"]').files[0]);

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

Request      

POST api/video-editings

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

Body Parameters

title   string     

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

slogan   string  optional    

Must not be greater than 255 characters. Example: dtdsufvyvddqamniihfqc

sort_order   integer  optional    

Must be at least 0. Example: 51

image   file  optional    

Must be an image. Must not be greater than 8192 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php7882.tmp

video   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php7883.tmp

POST api/video-editings/{videoEditing_id}

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/video-editings/17" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=vmqeopfuudtdsufvyvddq"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "slogan=dtdsufvyvddqamniihfqc"\
    --form "sort_order=51"\
    --form "image=@C:\Users\www\AppData\Local\Temp\php7884.tmp" \
    --form "video=@C:\Users\www\AppData\Local\Temp\php7885.tmp" \
    --form "slider_images[]=@C:\Users\www\AppData\Local\Temp\php7886.tmp" \
    --form "slider_videos[]=@C:\Users\www\AppData\Local\Temp\php7887.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/video-editings/17"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title', 'vmqeopfuudtdsufvyvddq');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('slogan', 'dtdsufvyvddqamniihfqc');
body.append('sort_order', '51');
body.append('image', document.querySelector('input[name="image"]').files[0]);
body.append('video', document.querySelector('input[name="video"]').files[0]);
body.append('slider_images[]', document.querySelector('input[name="slider_images[]"]').files[0]);
body.append('slider_videos[]', document.querySelector('input[name="slider_videos[]"]').files[0]);

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

Request      

POST api/video-editings/{videoEditing_id}

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

videoEditing_id   integer     

The ID of the videoEditing. Example: 17

Body Parameters

title   string  optional    

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

slogan   string  optional    

Must not be greater than 255 characters. Example: dtdsufvyvddqamniihfqc

sort_order   integer  optional    

Must be at least 0. Example: 51

image   file  optional    

Must be an image. Must not be greater than 8192 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php7884.tmp

video   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php7885.tmp

slider_images   file[]  optional    

Must be a file. Must be an image. Must not be greater than 8192 kilobytes.

slider_videos   file[]  optional    

Must be a file. Must not be greater than 204800 kilobytes.

PUT api/video-editings/{videoEditing_id}

Example request:
curl --request PUT \
    "https://madex.legionagency.tech/api/video-editings/17" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=vmqeopfuudtdsufvyvddq"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "slogan=dtdsufvyvddqamniihfqc"\
    --form "sort_order=51"\
    --form "image=@C:\Users\www\AppData\Local\Temp\php7897.tmp" \
    --form "video=@C:\Users\www\AppData\Local\Temp\php7898.tmp" \
    --form "slider_images[]=@C:\Users\www\AppData\Local\Temp\php7899.tmp" \
    --form "slider_videos[]=@C:\Users\www\AppData\Local\Temp\php789A.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/video-editings/17"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title', 'vmqeopfuudtdsufvyvddq');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('slogan', 'dtdsufvyvddqamniihfqc');
body.append('sort_order', '51');
body.append('image', document.querySelector('input[name="image"]').files[0]);
body.append('video', document.querySelector('input[name="video"]').files[0]);
body.append('slider_images[]', document.querySelector('input[name="slider_images[]"]').files[0]);
body.append('slider_videos[]', document.querySelector('input[name="slider_videos[]"]').files[0]);

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

Request      

PUT api/video-editings/{videoEditing_id}

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

videoEditing_id   integer     

The ID of the videoEditing. Example: 17

Body Parameters

title   string  optional    

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

slogan   string  optional    

Must not be greater than 255 characters. Example: dtdsufvyvddqamniihfqc

sort_order   integer  optional    

Must be at least 0. Example: 51

image   file  optional    

Must be an image. Must not be greater than 8192 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php7897.tmp

video   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php7898.tmp

slider_images   file[]  optional    

Must be a file. Must be an image. Must not be greater than 8192 kilobytes.

slider_videos   file[]  optional    

Must be a file. Must not be greater than 204800 kilobytes.

DELETE api/video-editings/{videoEditing_id}

Example request:
curl --request DELETE \
    "https://madex.legionagency.tech/api/video-editings/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://madex.legionagency.tech/api/video-editings/17"
);

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

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

Request      

DELETE api/video-editings/{videoEditing_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

videoEditing_id   integer     

The ID of the videoEditing. Example: 17

POST api/photoshoots

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/photoshoots" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=vmqeopfuudtdsufvyvddq"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "slogan=dtdsufvyvddqamniihfqc"\
    --form "sort_order=51"\
    --form "image=@C:\Users\www\AppData\Local\Temp\php78AB.tmp" \
    --form "video=@C:\Users\www\AppData\Local\Temp\php78AC.tmp" \
    --form "slider_images[]=@C:\Users\www\AppData\Local\Temp\php78AD.tmp" \
    --form "slider_videos[]=@C:\Users\www\AppData\Local\Temp\php78AE.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/photoshoots"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title', 'vmqeopfuudtdsufvyvddq');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('slogan', 'dtdsufvyvddqamniihfqc');
body.append('sort_order', '51');
body.append('image', document.querySelector('input[name="image"]').files[0]);
body.append('video', document.querySelector('input[name="video"]').files[0]);
body.append('slider_images[]', document.querySelector('input[name="slider_images[]"]').files[0]);
body.append('slider_videos[]', document.querySelector('input[name="slider_videos[]"]').files[0]);

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

Request      

POST api/photoshoots

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

Body Parameters

title   string     

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

slogan   string     

Must not be greater than 255 characters. Example: dtdsufvyvddqamniihfqc

sort_order   integer  optional    

Must be at least 0. Example: 51

image   file  optional    

Must be an image. Must not be greater than 8192 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php78AB.tmp

video   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php78AC.tmp

slider_images   file[]  optional    

Must be a file. Must be an image. Must not be greater than 8192 kilobytes.

slider_videos   file[]  optional    

Must be a file. Must not be greater than 204800 kilobytes.

POST api/photoshoots/{photoshoot_id}

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/photoshoots/17" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=vmqeopfuudtdsufvyvddq"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "slogan=dtdsufvyvddqamniihfqc"\
    --form "sort_order=51"\
    --form "image=@C:\Users\www\AppData\Local\Temp\php78BF.tmp" \
    --form "video=@C:\Users\www\AppData\Local\Temp\php78C0.tmp" \
    --form "slider_images[]=@C:\Users\www\AppData\Local\Temp\php78C1.tmp" \
    --form "slider_videos[]=@C:\Users\www\AppData\Local\Temp\php78C2.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/photoshoots/17"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title', 'vmqeopfuudtdsufvyvddq');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('slogan', 'dtdsufvyvddqamniihfqc');
body.append('sort_order', '51');
body.append('image', document.querySelector('input[name="image"]').files[0]);
body.append('video', document.querySelector('input[name="video"]').files[0]);
body.append('slider_images[]', document.querySelector('input[name="slider_images[]"]').files[0]);
body.append('slider_videos[]', document.querySelector('input[name="slider_videos[]"]').files[0]);

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

Request      

POST api/photoshoots/{photoshoot_id}

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

photoshoot_id   integer     

The ID of the photoshoot. Example: 17

Body Parameters

title   string  optional    

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

slogan   string  optional    

Must not be greater than 255 characters. Example: dtdsufvyvddqamniihfqc

sort_order   integer  optional    

Must be at least 0. Example: 51

image   file  optional    

Must be an image. Must not be greater than 8192 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php78BF.tmp

video   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php78C0.tmp

slider_images   file[]  optional    

Must be a file. Must be an image. Must not be greater than 8192 kilobytes.

slider_videos   file[]  optional    

Must be a file. Must not be greater than 204800 kilobytes.

PUT api/photoshoots/{photoshoot_id}

Example request:
curl --request PUT \
    "https://madex.legionagency.tech/api/photoshoots/17" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=vmqeopfuudtdsufvyvddq"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "slogan=dtdsufvyvddqamniihfqc"\
    --form "sort_order=51"\
    --form "image=@C:\Users\www\AppData\Local\Temp\php78C3.tmp" \
    --form "video=@C:\Users\www\AppData\Local\Temp\php78C4.tmp" \
    --form "slider_images[]=@C:\Users\www\AppData\Local\Temp\php78C5.tmp" \
    --form "slider_videos[]=@C:\Users\www\AppData\Local\Temp\php78C6.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/photoshoots/17"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title', 'vmqeopfuudtdsufvyvddq');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('slogan', 'dtdsufvyvddqamniihfqc');
body.append('sort_order', '51');
body.append('image', document.querySelector('input[name="image"]').files[0]);
body.append('video', document.querySelector('input[name="video"]').files[0]);
body.append('slider_images[]', document.querySelector('input[name="slider_images[]"]').files[0]);
body.append('slider_videos[]', document.querySelector('input[name="slider_videos[]"]').files[0]);

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

Request      

PUT api/photoshoots/{photoshoot_id}

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

photoshoot_id   integer     

The ID of the photoshoot. Example: 17

Body Parameters

title   string  optional    

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

slogan   string  optional    

Must not be greater than 255 characters. Example: dtdsufvyvddqamniihfqc

sort_order   integer  optional    

Must be at least 0. Example: 51

image   file  optional    

Must be an image. Must not be greater than 8192 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php78C3.tmp

video   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php78C4.tmp

slider_images   file[]  optional    

Must be a file. Must be an image. Must not be greater than 8192 kilobytes.

slider_videos   file[]  optional    

Must be a file. Must not be greater than 204800 kilobytes.

DELETE api/photoshoots/{photoshoot_id}

Example request:
curl --request DELETE \
    "https://madex.legionagency.tech/api/photoshoots/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://madex.legionagency.tech/api/photoshoots/17"
);

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

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

Request      

DELETE api/photoshoots/{photoshoot_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

photoshoot_id   integer     

The ID of the photoshoot. Example: 17

POST api/videos

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/videos" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=vmqeopfuudtdsufvyvddq"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "slogan=dtdsufvyvddqamniihfqc"\
    --form "sort_order=51"\
    --form "image=@C:\Users\www\AppData\Local\Temp\php78E6.tmp" \
    --form "video=@C:\Users\www\AppData\Local\Temp\php78E7.tmp" \
    --form "slider_images[]=@C:\Users\www\AppData\Local\Temp\php78E8.tmp" \
    --form "slider_videos[]=@C:\Users\www\AppData\Local\Temp\php78E9.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/videos"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title', 'vmqeopfuudtdsufvyvddq');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('slogan', 'dtdsufvyvddqamniihfqc');
body.append('sort_order', '51');
body.append('image', document.querySelector('input[name="image"]').files[0]);
body.append('video', document.querySelector('input[name="video"]').files[0]);
body.append('slider_images[]', document.querySelector('input[name="slider_images[]"]').files[0]);
body.append('slider_videos[]', document.querySelector('input[name="slider_videos[]"]').files[0]);

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

Request      

POST api/videos

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

Body Parameters

title   string     

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

slogan   string  optional    

Must not be greater than 255 characters. Example: dtdsufvyvddqamniihfqc

sort_order   integer  optional    

Must be at least 0. Example: 51

image   file  optional    

Must be an image. Must not be greater than 8192 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php78E6.tmp

video   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php78E7.tmp

slider_images   file[]  optional    

Must be a file. Must be an image. Must not be greater than 8192 kilobytes.

slider_videos   file[]  optional    

Must be a file. Must not be greater than 204800 kilobytes.

POST api/videos/{video_id}

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/videos/17" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=vmqeopfuudtdsufvyvddq"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "slogan=dtdsufvyvddqamniihfqc"\
    --form "sort_order=51"\
    --form "image=@C:\Users\www\AppData\Local\Temp\php78EA.tmp" \
    --form "video=@C:\Users\www\AppData\Local\Temp\php78EB.tmp" \
    --form "slider_images[]=@C:\Users\www\AppData\Local\Temp\php78EC.tmp" \
    --form "slider_videos[]=@C:\Users\www\AppData\Local\Temp\php78ED.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/videos/17"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title', 'vmqeopfuudtdsufvyvddq');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('slogan', 'dtdsufvyvddqamniihfqc');
body.append('sort_order', '51');
body.append('image', document.querySelector('input[name="image"]').files[0]);
body.append('video', document.querySelector('input[name="video"]').files[0]);
body.append('slider_images[]', document.querySelector('input[name="slider_images[]"]').files[0]);
body.append('slider_videos[]', document.querySelector('input[name="slider_videos[]"]').files[0]);

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

Request      

POST api/videos/{video_id}

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

video_id   integer     

The ID of the video. Example: 17

Body Parameters

title   string  optional    

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

slogan   string  optional    

Must not be greater than 255 characters. Example: dtdsufvyvddqamniihfqc

sort_order   integer  optional    

Must be at least 0. Example: 51

image   file  optional    

Must be an image. Must not be greater than 8192 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php78EA.tmp

video   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php78EB.tmp

slider_images   file[]  optional    

Must be a file. Must be an image. Must not be greater than 8192 kilobytes.

slider_videos   file[]  optional    

Must be a file. Must not be greater than 204800 kilobytes.

PUT api/videos/{video_id}

Example request:
curl --request PUT \
    "https://madex.legionagency.tech/api/videos/17" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=vmqeopfuudtdsufvyvddq"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "slogan=dtdsufvyvddqamniihfqc"\
    --form "sort_order=51"\
    --form "image=@C:\Users\www\AppData\Local\Temp\php78EE.tmp" \
    --form "video=@C:\Users\www\AppData\Local\Temp\php78EF.tmp" \
    --form "slider_images[]=@C:\Users\www\AppData\Local\Temp\php78F0.tmp" \
    --form "slider_videos[]=@C:\Users\www\AppData\Local\Temp\php7900.tmp" 
const url = new URL(
    "https://madex.legionagency.tech/api/videos/17"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title', 'vmqeopfuudtdsufvyvddq');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('slogan', 'dtdsufvyvddqamniihfqc');
body.append('sort_order', '51');
body.append('image', document.querySelector('input[name="image"]').files[0]);
body.append('video', document.querySelector('input[name="video"]').files[0]);
body.append('slider_images[]', document.querySelector('input[name="slider_images[]"]').files[0]);
body.append('slider_videos[]', document.querySelector('input[name="slider_videos[]"]').files[0]);

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

Request      

PUT api/videos/{video_id}

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

video_id   integer     

The ID of the video. Example: 17

Body Parameters

title   string  optional    

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

slogan   string  optional    

Must not be greater than 255 characters. Example: dtdsufvyvddqamniihfqc

sort_order   integer  optional    

Must be at least 0. Example: 51

image   file  optional    

Must be an image. Must not be greater than 8192 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php78EE.tmp

video   file  optional    

Must be a file. Must not be greater than 204800 kilobytes. Example: C:\Users\www\AppData\Local\Temp\php78EF.tmp

slider_images   file[]  optional    

Must be a file. Must be an image. Must not be greater than 8192 kilobytes.

slider_videos   file[]  optional    

Must be a file. Must not be greater than 204800 kilobytes.

DELETE api/videos/{video_id}

Example request:
curl --request DELETE \
    "https://madex.legionagency.tech/api/videos/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://madex.legionagency.tech/api/videos/17"
);

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

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

Request      

DELETE api/videos/{video_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

video_id   integer     

The ID of the video. Example: 17

POST api/design-thumbnails

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/design-thumbnails" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"vmqeopfuudtdsufvyvddq\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\",
    \"slogan\": \"dtdsufvyvddqamniihfqc\",
    \"sort_order\": 51
}"
const url = new URL(
    "https://madex.legionagency.tech/api/design-thumbnails"
);

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

let body = {
    "title": "vmqeopfuudtdsufvyvddq",
    "description": "Dolores dolorum amet iste laborum eius est dolor.",
    "slogan": "dtdsufvyvddqamniihfqc",
    "sort_order": 51
};

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

Request      

POST api/design-thumbnails

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

title   string     

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

slogan   string  optional    

Must not be greater than 255 characters. Example: dtdsufvyvddqamniihfqc

sort_order   integer  optional    

Must be at least 0. Example: 51

POST api/design-thumbnails/{designThumbnail_id}

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/design-thumbnails/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"vmqeopfuudtdsufvyvddq\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\",
    \"slogan\": \"dtdsufvyvddqamniihfqc\",
    \"sort_order\": 51
}"
const url = new URL(
    "https://madex.legionagency.tech/api/design-thumbnails/17"
);

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

let body = {
    "title": "vmqeopfuudtdsufvyvddq",
    "description": "Dolores dolorum amet iste laborum eius est dolor.",
    "slogan": "dtdsufvyvddqamniihfqc",
    "sort_order": 51
};

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

Request      

POST api/design-thumbnails/{designThumbnail_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

designThumbnail_id   integer     

The ID of the designThumbnail. Example: 17

Body Parameters

title   string  optional    

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

slogan   string  optional    

Must not be greater than 255 characters. Example: dtdsufvyvddqamniihfqc

sort_order   integer  optional    

Must be at least 0. Example: 51

PUT api/design-thumbnails/{designThumbnail_id}

Example request:
curl --request PUT \
    "https://madex.legionagency.tech/api/design-thumbnails/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"vmqeopfuudtdsufvyvddq\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\",
    \"slogan\": \"dtdsufvyvddqamniihfqc\",
    \"sort_order\": 51
}"
const url = new URL(
    "https://madex.legionagency.tech/api/design-thumbnails/17"
);

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

let body = {
    "title": "vmqeopfuudtdsufvyvddq",
    "description": "Dolores dolorum amet iste laborum eius est dolor.",
    "slogan": "dtdsufvyvddqamniihfqc",
    "sort_order": 51
};

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

Request      

PUT api/design-thumbnails/{designThumbnail_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

designThumbnail_id   integer     

The ID of the designThumbnail. Example: 17

Body Parameters

title   string  optional    

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional    

Example: Dolores dolorum amet iste laborum eius est dolor.

slogan   string  optional    

Must not be greater than 255 characters. Example: dtdsufvyvddqamniihfqc

sort_order   integer  optional    

Must be at least 0. Example: 51

DELETE api/design-thumbnails/{designThumbnail_id}

Example request:
curl --request DELETE \
    "https://madex.legionagency.tech/api/design-thumbnails/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://madex.legionagency.tech/api/design-thumbnails/17"
);

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

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

Request      

DELETE api/design-thumbnails/{designThumbnail_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

designThumbnail_id   integer     

The ID of the designThumbnail. Example: 17

Update the specified resource in storage.

Example request:
curl --request PUT \
    "https://madex.legionagency.tech/api/contacts/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"status\": \"read\",
    \"admin_notes\": \"vmqeopfuudtdsufvyvddq\"
}"
const url = new URL(
    "https://madex.legionagency.tech/api/contacts/17"
);

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

let body = {
    "status": "read",
    "admin_notes": "vmqeopfuudtdsufvyvddq"
};

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

Request      

PUT api/contacts/{contact_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

contact_id   integer     

The ID of the contact. Example: 17

Body Parameters

status   string     

Example: read

Must be one of:
  • new
  • read
  • replied
  • closed
admin_notes   string  optional    

Must not be greater than 1000 characters. Example: vmqeopfuudtdsufvyvddq

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "https://madex.legionagency.tech/api/contacts/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://madex.legionagency.tech/api/contacts/17"
);

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

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

Request      

DELETE api/contacts/{contact_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

contact_id   integer     

The ID of the contact. Example: 17

Mark multiple contacts as read.

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/contacts/mark-as-read" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"contact_ids\": [
        17
    ]
}"
const url = new URL(
    "https://madex.legionagency.tech/api/contacts/mark-as-read"
);

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

let body = {
    "contact_ids": [
        17
    ]
};

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

Request      

POST api/contacts/mark-as-read

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

contact_ids   integer[]  optional    

The id of an existing record in the contacts table.

Store a newly created resource in storage (Public API).

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/contacts" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"full_name\": \"vmqeopfuudtdsufvyvddq\",
    \"email\": \"kunde.eloisa@example.com\",
    \"phone_number\": \"hfqcoynlazghdtqtq\",
    \"message\": \"xbajwbpilpmufinllwloa\"
}"
const url = new URL(
    "https://madex.legionagency.tech/api/contacts"
);

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

let body = {
    "full_name": "vmqeopfuudtdsufvyvddq",
    "email": "kunde.eloisa@example.com",
    "phone_number": "hfqcoynlazghdtqtq",
    "message": "xbajwbpilpmufinllwloa"
};

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

Request      

POST api/contacts

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

full_name   string     

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

email   string     

Must be a valid email address. Must not be greater than 255 characters. Example: kunde.eloisa@example.com

phone_number   string  optional    

Must not be greater than 20 characters. Example: hfqcoynlazghdtqtq

message   string     

Must not be greater than 2000 characters. Example: xbajwbpilpmufinllwloa

POST api/stats/track-visit

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/stats/track-visit" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://madex.legionagency.tech/api/stats/track-visit"
);

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

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

Request      

POST api/stats/track-visit

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

POST api/stats/update-activity

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/stats/update-activity" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://madex.legionagency.tech/api/stats/update-activity"
);

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

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

Request      

POST api/stats/update-activity

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Get user's favorite endpoints

Example request:
curl --request POST \
    "https://madex.legionagency.tech/api/stats/user-favorites" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://madex.legionagency.tech/api/stats/user-favorites"
);

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

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

Request      

POST api/stats/user-favorites

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json