Admin

Get activity log detail

Retrieve a single activity log entry with full details.

get/admin/activity-logs/{id}

Request

  • Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.presscart.com/admin/activity-logs/{id}
  • Auth: HTTP bearer

Path parameters

idstring uuid required
Example:f2d69cfb-6087-4832-bd06-4b8106f10996

Response

Activity log retrieved successfully

idstring uuid required
action'CREATED' | 'UPDATED' | 'DELETED' | 'RESTORED' required
sub_actionstring nullable required
entity_typestring required
entity_idstring required
entity_namestring nullable required
descriptionstring nullable required
previous_stateobject nullable required
new_stateobject nullable required
category'CONTENT' | 'WORKFLOW' | 'PAYMENT' | 'USER' | 'AUTH' | 'AUTOMATED' | 'GENERAL' required
user_idstring uuid nullable required
actor_type'USER' | 'SYSTEM' | 'WEBHOOK' | 'API_TOKEN' required
actor_ref_typestring nullable required
actor_ref_idstring nullable required
team_idstring uuid nullable required
profile_idstring uuid nullable required
ip_addressstring nullable required
user_agentstring nullable required

Example response

{
  "action": "CREATED",
  "sub_action": "published",
  "entity_type": "article",
  "entity_id": "5f3085b2-568c-4a11-af51-43ea74c94fec",
  "entity_name": "Tech Trends 2026",
  "description": "Created article \"Tech Trends 2026\"",
  "new_state": {
    "title": "Tech Trends 2026",
    "status": "draft"
  },
  "category": "CONTENT",
  "user_id": "496ff26d-6cca-49dc-baeb-00deeea28d7b",
  "actor_type": "USER",
  "team_id": "9dc63d21-8742-4192-9d03-e6351db01800",
  "ip_address": "192.168.1.100",
  "user_agent": "Mozilla/5.0"
}

Changes

No recorded changes to this operation across all 3 revisions of this API.