api rest
user
admin
referral
blog
tag
merchant
buyer
notif
if no param
if param id
if put update
if berhasil
response 202
else
response 400
if delete delete
if berhasil
response 200
else
response 400
if get
if param jumlah
if not get
response 406
if get
if ada
response 200
if 0
response 200
if get sort
if sort asc
if ada
response 200
if ga ada
response 404
if sort desc
if ada
response 200
if ga ada
response 404
else
if ada
response 200
if ga ada
response 404
else
response 406
if param target
if put update
if berhasil
response 202
else
response 400
if delete delete
if berhasil
response 200
else
response 400
if get
if param jumlah
if not get
response 406
if get
if ada
response 200
if 0
response 200
if get sort
if sort asc
if ada
response 200
if ga ada
response 404
if sort desc
if ada
response 200
if ga ada
response 404
else
if ada
response 200
if ga ada
response 404
else
response 406
if param id admin
if param jumlah
if param search