Get the access token for store, update, and delete data
- Method :
POST
- Endpoint :
api/login
- Email :
string
- Password :
string
{
"status": "string",
"message" : "string",
"data": [
{
"token": "string",
"token_type": "string"
}
]
}
Show all the members data
- Method :
GET
- Endpoint :
/api/member
{
"status": "string",
"members": [
{
"id": "number",
"name": "string",
"part": "string",
"image": "string",
"description": "string"
}
]
}
Show member data according to the id
- Method :
GET
- Endpoint :
/api/member/{id}
{
"status": "string",
"member": {
"id": "number",
"name": "string",
"part": "string",
"image": "string",
"description": "string"
}
}
Store the member data
- Method :
POST
- Endpoint :
/api/member
- name :
string
- part :
string
- image :
file(image:jpg,jpeg,png,gif,webp)
- description :
string
{
"status": "string",
"message": "string"
}
Update the member data
- Method :
PUT
|PATCH
- Endpoint :
/api/member/{id}
- name :
string
- part :
string
- image :
file(image:jpg,jpeg,png,gif,webp)
-optional - description :
string
{
"status": "string",
"message": "string"
}
Destroy the member data
- Method :
DELETE
- Endpoint :
/api/member/{id}
{
"status": "string",
"message": "string"
}
---
Show all the portfolios data
- Method :
GET
- Endpoint :
/api/portofolio
{
"status": "ok",
"portofolios": [
{
"id": "number",
"title": "string",
"images_url": "string",
"category_id": "number",
"service_id": "number",
"slug": "string",
"description": "string"
}
]
}
Show portfolio data according to the id
- Method :
GET
- Endpoint :
/api/portofolio/{id}
{
"status": "string",
"portofolio": {
"id": "number",
"title": "string",
"images_url": "string",
"category_id": "number",
"service_id": "number",
"slug": "string",
"description": "string"
}
}
Store the portfolio data
- Method :
POST
- Endpoint :
/api/portofolio
- title :
string
- images_url :
file(image:jpg,jpeg,png,gif,webp)
- category_id :
number
- service_id :
number
- slug :
string
- description :
string
{
"status": "string",
"message": "string"
}
Update the portfolio data
- Method :
PUT
|PATCH
- Endpoint :
/api/portofolio/{id}
- title :
string
- images_url :
file(image:jpg,jpeg,png,gif,webp)
-optional - category_id :
number
- service_id :
number
- slug :
string
- description :
string
{
"status": "string",
"message": "string"
}
Destroy the portfolio data
- Method :
DELETE
- Endpoint :
/api/portofolio/{id}
{
"status": "string",
"message": "string"
}