Feature #1479
closedAPI: get by view name and system class
Description
With the new system class, it is possible to get more entities with the "code" path. Because we can not change the API path, /api/0.2./code/ will provide still the (now called) view names ['actor', 'event', 'place', 'reference', 'source', 'artifact', 'type' , 'file' , 'source_translation' ] (italic ones aren't supported right now, but will be)
Additionally, a new path will be created: /api/0.2/system_class/, which will have the following options: ['acquisition', 'activity', 'actor_appellation','administrative_unit', 'appellation', 'artifact', 'bibliography', 'edition', 'external_reference', 'feature','file', 'find', 'group', 'human_remains', 'move', 'object_location', 'person', 'place', 'reference_system', 'source', 'stratigraphic_unit','source_translation', 'type']
system_class will also be available for /query/?system_classes=.
Updated by Bernhard Koschiček-Krombholz over 3 years ago
- Description updated (diff)
Updated by Alexander Watzinger over 3 years ago
I agree, we shouldn't change the code pass, this should work independently from our system and is a pure CIDOC CRM approach.
As for the system_class approach you could look the list up at model/system.py.
Updated by Bernhard Koschiček-Krombholz over 3 years ago
- Status changed from New to Closed
Updated by Bernhard Koschiček-Krombholz over 3 years ago
- Related to Feature #1484: API: Add new functions added