Skip to content

Z1p4U/BB-E-commerce

Repository files navigation

Template

API Reference

Login (Post)

http://127.0.0.1:8000/api/v1/login
Arguments Type Description
email sting Required [email protected]
password string Required asdffdsa

User Profile

Register (Post)

http://127.0.0.1:8000/api/v1/register
Arguments Type Description
name sting Required Post Malone
email sting Required [email protected]
role enum Required admin/staff
password string Required asdffdsa
password_confirmation string Required asdffdsa

Own Profile (Get)

http://127.0.0.1:8000/api/v1/your-profile

Check Specific User Profile (Get)

http://127.0.0.1:8000/api/v1/user-profile/{id}

Check User Lists (Get)

http://127.0.0.1:8000/api/v1/user-lists

Edit User Info(Get)

http://127.0.0.1:8000/api/v1/edit
Arguments Type Description
name sting Required Post Malone
email sting Required [email protected]

Password Update (Put)

http://127.0.0.1:8000/api/v1/update-password
Arguments Type Description
current_password sting Required asdffdsa
password string Required asdffdsa
password_confirmation string Required asdffdsa

Logout (Post)

http://127.0.0.1:8000/api/v1/logout

Media

Photo

Store Photo (Post)

http://127.0.0.1:8000/api/v1/photo/store
Arguments Type Description
photos[] array Required []

Get Photo (Get)

http://127.0.0.1:8000/api/v1/photo/list

Show Photo (Get)

http://127.0.0.1:8000/api/v1/photo/show/{id}

Delete Photo (Del)

http://127.0.0.1:8000/api/v1/photo/delete/{id}

Multiple Photo Delete (Post)

http://127.0.0.1:8000/api/v1/photo/multiple-delete
Arguments Type Description
photos array Required [1,2,3]
Note : ID must be in Array.

Trash (Get)

http://127.0.0.1:8000/api/v1/photo/trash

Restore (Get)

http://127.0.0.1:8000/api/v1/photo/restore/{id}

Force Delete (Get)

http://127.0.0.1:8000/api/v1/photo/force-delete/{id}

Clear Trash (Get)

http://127.0.0.1:8000/api/v1/photo/clear-trash

Releases

No releases published

Packages

No packages published