Skip to content
  • Jörg Richter's avatar
    REST API: change 4 get/query-assocs requests (#341) · ec30e557
    Jörg Richter authored
    BREAKING CHANGE
    
    change 4 assoc requests:
    
    ## getAssoc()
    
        GET /core/association/{id}
        ->
        GET /core/assoc/{id}
    
    ## getAssocByValue
    
        GET /core/assoc/by_value/{uri}/{value}
        ->
        GET /core/assoc/type/{uri}/{value}
    
    ## queryAssocs
    
        GET /core/assoc/multi/by_value/{uri}/{value}
        ->
        GET /core/assocs/type/{uri}/query/{value}
    
    ## getAssoc(String assocTypeUri, long topic1Id, long topic2Id, String roleTypeUri1, String roleTypeUri2)
    
        GET /core/association/{assoc_type_uri}/{topic1_id}/{topic2_id}/{role_type1_uri}/{role_type2_uri}
        ->
        GET /core/assoc/{assoc_type_uri}/{topic1_id}/{topic2_id}/{role_type1_uri}/{role_type2_uri}
    ec30e557