Giter Site home page Giter Site logo

bb-e-commerce's Introduction

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

bb-e-commerce's People

Contributors

z1p4u avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.