Changes between Version 12 and Version 13 of RestApi


Ignore:
Timestamp:
18.10.2011 03:46:10 (9 years ago)
Author:
jri
Comment:

Get an association type

Legend:

Unmodified
Added
Removed
Modified
  • RestApi

    v12 v13  
    524524}}} 
    525525 
     526=== Get an association type === 
     527 
     528{{{ 
     529GET /core/assoctype/<Association Type URI> 
     530}}} 
     531 
     532==== Example ==== 
     533 
     534{{{ 
     535curl localhost:8080/core/assoctype/dm4.core.instantiation -i | jsonpretty 
     536}}} 
     537 
     538Response: 
     539 
     540{{{ 
     541HTTP/1.1 200 OK 
     542Content-Type: application/json 
     543 
     544{ 
     545  "id": 10, 
     546  "uri": "dm4.core.instantiation", 
     547  "type_uri": "dm4.core.assoc_type", 
     548  "value": "Instantiation", 
     549  "composite": { 
     550  }, 
     551  "data_type_uri": "dm4.core.text", 
     552  "index_mode_uris": [ 
     553  ], 
     554  "assoc_defs": [ 
     555  ], 
     556  "label_config": [ 
     557  ], 
     558  "view_config_topics": [ 
     559    { 
     560      "id": 792, 
     561      "uri": "", 
     562      "type_uri": "dm4.webclient.view_config", 
     563      "value": "", 
     564      "composite": { 
     565        "dm4.webclient.color": "rgb(41, 194, 225)" 
     566      } 
     567    } 
     568  ] 
     569} 
     570}}} 
     571 
     572For details about the association type format see DataFormat#AssociationType. 
     573 
    526574== Commands == 
    527575