Difference between revisions of "App/API"

From mx Help Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
 +
== Requests ==
 +
 +
All requests default to JSON. 
 +
 
== Conventions ==
 
== Conventions ==
  
 
=== Request ===
 
=== Request ===
  
* [ option1 | option2 ] - List of options, one of which is required
+
* [ ] - List of options, one of which is required
 
* < value > - Required.
 
* < value > - Required.
  
 
=== Response ===  
 
=== Response ===  
  
  Regular text: literal
+
  Regular text - literal
  ''Italicized text'': replaced with response
+
  ''Italicized text'' - replaced with response
  '''...''': Result at same level can be repeated.
+
  '''...''' - Result at same level can be repeated.
 
+
[] - Array
 +
{} - Hash
 +
Key:Value - ''':'''Separates the two.
  
 
== Methods ==
 
== Methods ==
  
 
{{Special:Prefixindex/App/API}}
 
{{Special:Prefixindex/App/API}}

Revision as of 15:57, 10 February 2011

Contents

Requests

All requests default to JSON.

Conventions

Request

  • [ ] - List of options, one of which is required
  • < value > - Required.

Response

Regular text - literal
Italicized text - replaced with response
... - Result at same level can be repeated.
[] - Array
{} - Hash
Key:Value - :Separates the two.

Methods

App/APIApp/API/FigureApp/API/Ontology
App/API/Ontology/analyzeApp/API/Ontology/glossary markupApp/API/Ontology/label
App/API/Ontology/ontology classApp/API/Ontology/svgApp/API/Ontology/uri markup
Personal tools