Koha-clms/api/v1/swagger/definitions/action_log.yaml

79 lines
1.8 KiB
YAML

---
type: object
properties:
action_id:
type: integer
description: Internal action log identifier
readOnly: true
timestamp:
type: string
format: date-time
description: The date and time the action took place
user:
type: integer
description: The staff member who performed the action (borrowernumber)
module:
type:
- string
- "null"
description: The module this action was taken against
action:
type:
- string
- "null"
description: The action performed (e.g. ADD, DELETE, MODIFY)
object:
type:
- integer
- "null"
description: The object that the action was taken against
info:
type:
- string
- "null"
description: Information about the action
interface:
type:
- string
- "null"
description: The context this action was taken in (INTRANET, OPAC, SIP, etc.)
script:
type:
- string
- "null"
description: The name of the cron script that caused this change
trace:
type:
- string
- "null"
description: An optional stack trace
diff:
type:
- string
- "null"
description: A diff of the changed object
librarian:
type:
- object
- "null"
description: |
The patron object for the librarian who performed the action
(only present if requested via x-koha-embed)
patron:
type:
- object
- "null"
description: |
Patron object joined on `object` (only meaningful for MEMBERS,
CIRCULATION, FINES and APIKEYS rows; only present if requested
via x-koha-embed)
item:
type:
- object
- "null"
description: |
Item object derived from the itemnumber carried in `info` (only
meaningful for CIRCULATION rows; only present if requested via
x-koha-embed)
additionalProperties: false