/gift

Primary LanguagePHP

Users

Get all users

 GET /api/users

Get one user

 GET /api/users/{id}

Store one user

 POST /api/users
Parameter Type Description
name string Required
email string Required

Delete one user

 DELETE /api/users/{id}

Gifts

Get all gifts

 GET /api/gifts

Get one gift

 GET /api/gifts/{id}

Store one gift

 POST /api/gifts
Parameter Type Description
name string Required
user_id integer Optional
parent_id integer Optional

Delete one gift

 DELETE /api/gifts/{id}