Difference between revisions of "OSF Content Types"

From OSF Wiki
Jump to: navigation, search
 
Line 5: Line 5:
 
* ''application/rdf+n3''
 
* ''application/rdf+n3''
 
* ''application/json''
 
* ''application/json''
* application/iron+json ([[Instance Record and Object Notation (irON) Specification|irJSON]])
+
* ''application/iron+json'' ([[Instance Record and Object Notation (irON) Specification|irJSON]])
* application/iron+common ([[Instance Record and Object Notation (irON) Specification|commON]])
+
* ''application/iron+common'' ([[Instance Record and Object Notation (irON) Specification|commON]])
 
* ''application/sparql-results+xml'' (limited to [[SPARQL]] service only)
 
* ''application/sparql-results+xml'' (limited to [[SPARQL]] service only)
 
* ''application/sparql-results+json'' (limited to [[SPARQL]] service only)
 
* ''application/sparql-results+json'' (limited to [[SPARQL]] service only)

Latest revision as of 18:37, 2 December 2014

OSF Web Services may respond to or report results via a number of different content (mime) types. The options available vary by specific Web service. Here is the complete listing of available content types that MAY be associated with specific services:

  • text/xml (based on the structXML format)
  • application/rdf+xml
  • application/rdf+n3
  • application/json
  • application/iron+json (irJSON)
  • application/iron+common (commON)
  • application/sparql-results+xml (limited to SPARQL service only)
  • application/sparql-results+json (limited to SPARQL service only)

Two deprecated formats, which may be re-introduced at a later time, include:

  • text/tsv
  • text/csv.