Project

General

Profile

Question #1142

Updated by Alexander Watzinger over 4 years ago

The Api.get_file functions won't get result with reference entities. 

 Update: 
 I tested it with *source + file* and *reference + file*. Both show the file as the relation but only the source lists it as depictions. That's because with reference the file is linked in the opposite direction so the get_file functions doesn't "find" it. 

 Question to Stefan: is this 
 * the correct behavior (link is valid and it's ok that the file isn't listed as depiction at the reference) 
 * or is the link in the wrong direction (but as far as I remember it was on purpose) 
 * or should the file be listed as depiction in the GeoJSON of the reference 
  

Back