Difference between revisions of "History Object"
m |
|||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{dataobj}} | ||
+ | __NOTOC__ | ||
+ | |||
=== Built in Fields === | === Built in Fields === | ||
<table border="1" cellspacing="0" cellpadding="2"> | <table border="1" cellspacing="0" cellpadding="2"> | ||
<tr><th>Field Name</th><th>Type</th><th>Description</th></tr> | <tr><th>Field Name</th><th>Type</th><th>Description</th></tr> | ||
− | <tr><td>historyid</td><td>[[int field]]</td><td></td></tr> | + | <tr><td>historyid</td><td>[[int field]]</td><td>The unique numerical ID of this history event.</td></tr> |
− | <tr><td>userid</td><td>[[itemref field]] user</td><td></td></tr> | + | <tr><td>userid</td><td>[[itemref field]] user</td><td>The ID of the user who caused this event. A value of zero or undefined indicates that there was no user responsible (i.e. a script did it).</td></tr> |
− | <tr><td>actor</td><td>[[text field]]</td><td></td></tr> | + | <tr><td>actor</td><td>[[text field]]</td><td>A text representation of the actor responsible for the action for this history event.</td></tr> |
− | <tr><td>datasetid</td><td>[[text field]]</td><td></td></tr> | + | <tr><td>datasetid</td><td>[[text field]]</td><td>The name of the dataset to which the modified item belongs.</td></tr> |
− | <tr><td>objectid</td><td>[[int field]]</td><td></td></tr> | + | <tr><td>objectid</td><td>[[int field]]</td><td>The numerical ID of the object in the dataset.</td></tr> |
− | <tr><td>revision</td><td>[[int field]]</td><td></td></tr> | + | <tr><td>revision</td><td>[[int field]]</td><td>The revision of the object. This is the revision number after theaction occured.</td></tr> |
− | <tr><td>timestamp</td><td>[[time field]]</td><td></td></tr> | + | <tr><td>timestamp</td><td>[[time field]]</td><td>The moment at which this event happened.</td></tr> |
− | <tr><td>action</td><td>[[set field]]</td><td></td></tr> | + | <tr><td>action</td><td>[[set field]]</td><td>The type of event.</td></tr> |
− | <tr><td>details</td><td>[[longtext field]]</td><td></td></tr> | + | <tr><td>details</td><td>[[longtext field]]</td><td>If this is a rejection, then the details contain the message sent to the user.</td></tr> |
</table> | </table> | ||
+ | |||
+ | == See Also == | ||
+ | * [[API:EPrints/DataObj/History|EPrints::DataObj::History]] - API page |
Latest revision as of 16:14, 18 February 2022
EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects
Data Objects: Access - Document - EPrint - Event Queue - File - History - Import - Login Ticket - Request - Saved Search - Subject - User
Built in Fields
Field Name | Type | Description |
---|---|---|
historyid | int field | The unique numerical ID of this history event. |
userid | itemref field user | The ID of the user who caused this event. A value of zero or undefined indicates that there was no user responsible (i.e. a script did it). |
actor | text field | A text representation of the actor responsible for the action for this history event. |
datasetid | text field | The name of the dataset to which the modified item belongs. |
objectid | int field | The numerical ID of the object in the dataset. |
revision | int field | The revision of the object. This is the revision number after theaction occured. |
timestamp | time field | The moment at which this event happened. |
action | set field | The type of event. |
details | longtext field | If this is a rejection, then the details contain the message sent to the user. |
See Also
- EPrints::DataObj::History - API page