Difference between revisions of "History Object"

From EPrints Documentation
Jump to: navigation, search
(link to API page and descriptions for fields added.)
m
 
Line 7: Line 7:
 
<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>The unique numerical ID of this history event.</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>A text representation of the actor responsible for the action for this history event.</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>The name of the dataset to which the modified item belongs.</td></tr>
 
<tr><td>datasetid</td><td>[[text field]]</td><td>The name of the dataset to which the modified item belongs.</td></tr>

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 NameTypeDescription
historyidint fieldThe unique numerical ID of this history event.
useriditemref field userThe 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).
actortext fieldA text representation of the actor responsible for the action for this history event.
datasetidtext fieldThe name of the dataset to which the modified item belongs.
objectidint fieldThe numerical ID of the object in the dataset.
revisionint fieldThe revision of the object. This is the revision number after theaction occured.
timestamptime fieldThe moment at which this event happened.
actionset fieldThe type of event.
detailslongtext fieldIf this is a rejection, then the details contain the message sent to the user.

See Also