Changes between Version 109 and Version 110 of CalencoRestApi


Ignore:
Timestamp:
02/25/10 19:29:23 (7 months ago)
Author:
fabian@…
Comment:

Added notes for specifying the desired response format as a normal file extension for languages, toolchains and classifications

Legend:

Unmodified
Added
Removed
Modified
  • CalencoRestApi

    v109 v110  
    650650`GET /workspaces/WKSP/classifications` 
    651651 
     652''Note: One can also specify the desired format of the response by appending it to the request, for example GET /workspaces/WKSP/classifications.json to get the response in JSON. Supported formats are XML, JSON and HTML'' 
     653 
    652654=== Response === 
    653655{{{ 
     
    964966`GET /system/toolchains?cco_xmltype=DocBook5.0` 
    965967 
     968''Note: One can also specify the desired format of the response by appending it to the request, for example GET /workspaces/WKSP/toolchains.json?cco_xmltype=DocBook5.0 to get the response in JSON. Supported formats are XML, JSON and HTML'' 
     969 
    966970|| Field || Possible values || Description || Notes || 
    967971|| cco_xmltype || any registered XML type (e.g. !DocBook5.0) || Optional. The XML type corresponding to a given add-on || The cco_xmltype is a property of a file || 
     
    10221026=== Request === 
    10231027`GET /system/languages` 
     1028 
     1029''Note: One can also specify the desired format of the response by appending it to the request, for example GET /system/languages.json to get the response in JSON. Supported formats are JSON and XML'' 
    10241030 
    10251031=== Response ===