Project

General

Profile

API Version 1

Issues

Ideas

  • rename results in entities
  • rename lang parameter to language
  • rename viewClass/view_class to class_group
  • rename systemClass/system_class to openatlas_class
  • merge export and format parameter
  • change lp to lpf in JSON_FORMATS
  • replace every _ in the endpoints and parameters to - (add link why this is important)
  • Remove geojson format and rename geojson-v2 to geojson. Or completely remove it, if the new presentation site format is better suited.
  • Add better header support
  • Remove last and first parameter since page does everything which is needed

Endpoints

To accomplish a true REST API, a restructure is in order. These are just mere ideas.

Entities Endpoint

  • /entities/ -> List of all possible next entities paths
    • /entities/id/ -> List of Links from all possible entities
    • /entities/id/4124 -> Entities by ID, should be possible to add multiple IDs
    • /entities/cidoc_code/ -> List of URLs for all cidoc codes
    • /entities/cidoc_code/E18 -> Entities with cidoc code E18
    • /entities/openatlas_class/ -> List of URLs for all openatlas class codes
    • /entities/openatlas_class/person -> List of all entities with openatlas class person
    • /entities/class_group/ -> List of URLs for all view names
    • /entities/class_group/actor -> List of all entities of actors
    • /entities/type -> List of URLs of possible types
    • /entities/type/24124 -> List of all entities with the type 24124
    • /entities/entity/ -> List of URLs for all entities
    • /entities/entity/4124 -> List of entities linked to entity
    • /entities/latest/ -> List of possible limit range (10/20/25/30/50/75/100)
    • /entities/latest/85 -> List of latest 85 entities

Meta endpoints

  • /meta/ -> List of all possible next meta paths
  • /meta/content/ -> List of URLs
  • /meta/content/de -> Content in de
  • /meta/class_mapping/ -> List of Class Mapping
  • /meta/openatlas_class_count/ -> List of openatlas classes and how many exist

Also available in: PDF HTML TXT