Difference between revisions of "Access Object"

From EPrints Documentation
Jump to: navigation, search
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>accessid</td><td>[[int field]]</td><td></td></tr>
 
<tr><td>accessid</td><td>[[int field]]</td><td></td></tr>
<tr><td>datestamp</td><td>[[time field]]</td><td></td></tr>
+
<tr><td>datestamp</td><td>[[time field]]</td><td>Date/time the request occurred (not when the request was eventually served!).</td></tr>
<tr><td>requester_id</td><td>[[text field]]</td><td></td></tr>
+
<tr><td>requester_id</td><td>[[text field]]</td><td>The identity of the requesting user, currently their IP address but this may change in future.</td></tr>
<tr><td>requester_user_agent</td><td>[[text field]]</td><td></td></tr>
+
<tr><td>requester_user_agent</td><td>[[text field]]</td><td>The user agent string given by the user's web browser (useful for robots detection).</td></tr>
<tr><td>requester_country</td><td>[[text field]]</td><td></td></tr>
+
<tr><td>requester_country</td><td>[[text field]]</td><td>The country the user made the request from (if available).</td></tr>
<tr><td>requester_institution</td><td>[[text field]]</td><td></td></tr>
+
<tr><td>requester_institution</td><td>[[text field]]</td>The institution the user made the request from (if available).<td></td></tr>
<tr><td>requester_id</td><td>[[text field]]</td><td></td></tr>
+
<tr><td>referring_entity_id</td><td>[[text field]]</td><td>The location from which the user has come (either a web page or eprint id).</td></tr>
<tr><td>referring_entity_id</td><td>[[text field]]</td><td></td></tr>
+
<tr><td>service_type_id</td><td>[[text field]]</td><td>The type of object requested, currently one of "?fulltext=yes" or "?abstract=yes"</td></tr>
<tr><td>service_type_id</td><td>[[text field]]</td><td></td></tr>
+
<tr><td>referent_id</td><td>[[text field]]</td><td>The id of the eprint requested.</td></tr>
<tr><td>referent_id</td><td>[[text field]]</td><td></td></tr>
+
<tr><td>referent_docid</td><td>[[text field]]</td><td>The id of the document requested (if it was a full-text request).</td></tr>
<tr><td>referent_docid</td><td>[[text field]]</td><td></td></tr>
 
 
</table>
 
</table>

Revision as of 12:40, 25 May 2007

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

The institution the user made the request from (if available).
Field NameTypeDescription
accessidint field
datestamptime fieldDate/time the request occurred (not when the request was eventually served!).
requester_idtext fieldThe identity of the requesting user, currently their IP address but this may change in future.
requester_user_agenttext fieldThe user agent string given by the user's web browser (useful for robots detection).
requester_countrytext fieldThe country the user made the request from (if available).
requester_institutiontext field
referring_entity_idtext fieldThe location from which the user has come (either a web page or eprint id).
service_type_idtext fieldThe type of object requested, currently one of "?fulltext=yes" or "?abstract=yes"
referent_idtext fieldThe id of the eprint requested.
referent_docidtext fieldThe id of the document requested (if it was a full-text request).