Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

...

All of the published records can have relationships to each other, regardless of the presentations they appear in. Records can have multiple children and/or multiple parents.

  • (Member – A member is an entity that represents a record in a presentation. The member holds the record, in addition to presentation-specific attributes like position and map coordinates) 
  • Record – The main object (a kulturpunkt is a record). A record can have a image, title and description in multiple languages (under 'content'). A record can be a building, a painting, a person, or similar. The rest of the content is located in the record's pages.
  • Language - An abstract level. Each page belongs to one (and only one) language. 
  • Page – Pages belong to a record. A record can have multiple pages. Pages are the main container for contents, organized in content blocks. Having more than one page in each record is not recommended.
  • Block - Blocks of content. See "Types" for the different types of blocks. The type "image_video" can contain a mix of images and videos. 

...

/v2/record/map/simple

 GET

Returns list of with simple version of the records for a map, with location, distance, owner_id and id - optionally belonging to a specific owner

Example: https://api.kulturpunkt.org/v2/record/map/simple?location=59.908452,10.676749&owner_id=46

ParameterTypeDescriptionRequired
locationStringlatitude and longitude, separated by commaYes
owner_idIntegerOwner's id. If included, only records from this owner are includedNo
group_idIntegerGroup's id. If included, only records from this group are includedNo


...