Rupa Rawi - Revou Group Project
  1. admin
Rupa Rawi - Revou Group Project
  • auth
    • register user
      POST
    • login
      POST
    • refresh token
      POST
  • user
    • address
      • create address
      • get all address
      • update address
      • delete address
    • payment method
      • get all payment methods
      • delete payment method
      • update payment method
      • create payment method
    • update own profile
      PUT
    • get own profile
      GET
    • get public profile
      GET
  • product
    • category
      • get categories tree
      • get categories detail
    • wishlist
      • add item to wishlist
      • remove item to wishlist
      • get wishlist
    • promotions
      • get promotion detail (public)
      • get active promotions (public)
    • get product details (public)
      GET
    • get product list (public)
      GET
    • get public vendor products
      GET
  • admin
    • category
      • create category
      • update category
      • soft delete category
      • create subcategory
    • vendor management
      • get all vendors
      • vendor application review
    • promotions
      • get all promotions
      • create promotion
      • update promotion
    • get admin logs
      GET
  • vendor
    • product
      • soft delete product
      • create product
      • update product
      • get vendor products
    • vendor apply
      POST
    • get vendor profile
      GET
    • update vendor profile
      PUT
    • vendor stats
      GET
    • Vendor recent orders
      GET
  • order
    • cart
      • add item to cart
      • update item in cart
      • delete item in cart
      • get cart
    • update order status
    • get order
    • get all orders
    • pre-checkout calculation
    • order checkout
  • article
    • delete article
    • create article
    • get article
    • get article detail
    • update article
  • product review
    • create review product
    • get product reviews by product id
    • get product review detail
    • update product review detail
    • delete product review
  • testimony
    • create testimonial
    • update testimonial
    • get testimonial
    • delete testimonial
  1. admin

get admin logs

Developing
GET
admin/logs
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'admin/logs?page=1&per_page=5' \
--header 'Authorization: Bearer '
Response Response Example
{
  "logs": [
    {
      "action": "POST /admin/category",
      "admin_id": 3,
      "id": 1,
      "timestamp": "Fri, 25 Apr 2025 09:01:15 GMT"
    },
    {
      "action": "POST /admin/category",
      "admin_id": 3,
      "id": 2,
      "timestamp": "Fri, 25 Apr 2025 09:04:30 GMT"
    },
    {
      "action": "POST /admin/category",
      "admin_id": 3,
      "id": 3,
      "timestamp": "Fri, 25 Apr 2025 09:06:45 GMT"
    },
    {
      "action": "POST /admin/category",
      "admin_id": 3,
      "id": 4,
      "timestamp": "Fri, 25 Apr 2025 09:08:09 GMT"
    },
    {
      "action": "POST /admin/category",
      "admin_id": 3,
      "id": 5,
      "timestamp": "Fri, 25 Apr 2025 09:13:10 GMT"
    }
  ],
  "message": "Admin logs fetched successfully",
  "pagination": {
    "current_page": 1,
    "pages": 5,
    "per_page": 5,
    "total": 22
  },
  "success": true
}

Request

Query Params
page
string 
optional
Example:
1
per_page
string 
optional
Example:
5
Header Params
Authorization
string 
required
Example:
Bearer

Responses

🟢200Success
application/json
Body
logs
array [object {4}] 
required
action
string 
required
admin_id
integer 
required
id
integer 
required
timestamp
string 
required
message
string 
required
pagination
object 
required
current_page
integer 
required
pages
integer 
required
per_page
integer 
required
total
integer 
required
success
boolean 
required
Modified at 2025-04-29 07:36:02
Previous
update promotion
Next
soft delete product
Built with