Admin API
Remove
DELETE
/admin/remove
Admin Remove
Path Parameters
Name
Type
Description
idContent**
String
Content Id
Headers
Name
Type
Description
cookie**
String
accessToken
{
"data" : null,
"message": "successfully removed"
}
Add
POST
/admin/add
Admin Add
Headers
Name
Type
Description
cookie**
String
accessToken
Request Body
Name
Type
Description
content_type*
String
content type
content_category*
String
content category
content_name*
String
content name
{
"data" : [
{
"id" : PK,
"content_type" : "movie",
"content_category" : "동기부여",
"content_name" : "성공적인 삶",
"content_image": "https://allforyou.s3.amazonaws.com...",
"like": 12
}, ...
],
"message" : "successfully added"
}
Last updated