Project

General

Profile

Actions

Feature #1479

closed

API: get by view name and system class

Added by Bernhard Koschiček-Krombholz about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Start date:
2021-03-05
Estimated time:

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=.


Related issues 1 (0 open1 closed)

Related to OpenAtlas - Feature #1484: API: Add new functionsClosedBernhard Koschiček-Krombholz2021-03-11Actions
Actions

Also available in: Atom PDF