Difference between revisions of "OJ Break v2 Media Reference"

From xBio:D Wiki
Jump to navigation Jump to search
(Created page with "'''Introduction''' OJ_Break is the name of the xBio:D RESTful API service which enables the discovery of data within the xBio:D database. The API can respond with JavaScript ...")
 
(Media Data Type Glossary)
Line 25: Line 25:
 
* ''public'': ''[[#public|public]]'' element
 
* ''public'': ''[[#public|public]]'' element
  
==== MediaExtended (extends [[#MediaBasic|MediaBasic]])
+
==== MediaExtended (extends [[#MediaBasic|MediaBasic]]) ====
 
* ''caption'': ''[[#caption|caption]]'' element
 
* ''caption'': ''[[#caption|caption]]'' element
 
* ''copyright'': ''[[#copyright|copyright]]'' element
 
* ''copyright'': ''[[#copyright|copyright]]'' element
Line 48: Line 48:
  
 
=== Elements ===
 
=== Elements ===
 +
==== angle ====
 +
String -
 +
==== caption ====
 +
String
 +
==== copyright ====
 +
String
 +
==== enterer ====
 +
String -
 +
==== license ====
 +
String -
 +
==== media_id ====
 +
Number -
 +
==== media_source ====
 +
String -
 +
==== media_type ====
 +
String -
 +
==== media_url ====
 +
URL -
 +
==== public ====
 +
Boolean_flag -
  
 
== See also ==
 
== See also ==

Revision as of 20:54, 16 April 2015

Introduction

OJ_Break is the name of the xBio:D RESTful API service which enables the discovery of data within the xBio:D database. The API can respond with JavaScript Object Notation (JSON), XML, or JSON with padding (JSONP) and accepts HTTP GET and POST requests indiscriminately. The backend of the API is written in Oracle's PL/SQL database language, which is fast but often inflexible, while a Python presentation layer mitigates request handling and authentication.

OJ_Break Version 2 is a new and improved edition of the work started in Version 1. Version 2 introduces a completely restructured and standardized data model to further enhance the functionality of the xBio:D database.

API Information and Access

This page specifies the data defined by OJ_Break Version 2, more precisely those that are defined by the Media data domain. To get information on any of the other data domains defined in OJ_Break Version 2, visit the See also section.


Media Data Type Glossary

Classes

ImageExtended (extends MediaExtended)

  • thumb: URL
  • raw: URL

LocalityImageExtended (realizes ImageExtended)

MediaBasic

MediaExtended (extends MediaBasic)

OccurrenceImageExtended (realizes ImageExtended)

OccurrenceRecordingExtended (realizes MediaExtended)

TaxonImageExtended (realizes ImageExtended)

VideaExtended (realizes ImageExtended)

Elements

angle

String -

caption

String

copyright

String

enterer

String -

license

String -

media_id

Number -

media_source

String -

media_type

String -

media_url

URL -

public

Boolean_flag -

See also

Visit any of the below links to find information about the other data domains defined by OJ_Break Version 2.