Feedback
Event Feedback
- integreat_cms.api.v3.feedback.event_feedback.event_feedback(data: dict[str, str], region: Region, language: Language, comment: str, rating: bool, is_technical: bool) JsonResponse [source]
Store feedback about single event in database
- Parameters:
- Returns:
decorated function that saves feedback in database
- Return type:
JsonResponse
- integreat_cms.api.v3.feedback.event_feedback.event_feedback_internal(data: dict[str, str], region: Region, language: Language, comment: str, rating: bool, is_technical: bool) JsonResponse [source]
Store feedback about single event in database
- Parameters:
- Raises:
Http404 – HTTP status 404 if no event with the given slug exists.
- Returns:
JSON object according to APIv3 single page feedback endpoint definition
- Return type:
JsonResponse
Event List Feedback
APIv3 endpoint for the events (list)
- integreat_cms.api.v3.feedback.event_list_feedback.event_list_feedback(data: dict, region: Region, language: Language, comment: str, rating: bool, is_technical: bool) JsonResponse [source]
Store feedback on events list in database
- Parameters:
- Returns:
JSON object according to APIv3 event list feedback endpoint definition
- Return type:
JsonResponse
Imprint Page Feedback
APIv3 endpoint for feedback about the imprint
- integreat_cms.api.v3.feedback.imprint_page_feedback.imprint_page_feedback(data: dict, region: Region, language: Language, comment: str, rating: bool, is_technical: bool) JsonResponse [source]
Store feedback about imprint in database
- Parameters:
- Returns:
decorated function that saves feedback in database
- Return type:
JsonResponse
- integreat_cms.api.v3.feedback.imprint_page_feedback.imprint_page_feedback_internal(data: dict, region: Region, language: Language, comment: str, rating: bool, is_technical: bool) JsonResponse [source]
Store feedback about imprint in database
- Parameters:
- Raises:
Http404 – HTTP status 404 if the region has no imprint
- Returns:
JSON object according to APIv3 imprint feedback endpoint definition
- Return type:
JsonResponse
Legacy Feedback Endpoint
APIv3 legacy feedback endpoint for pages, events and imprint
- integreat_cms.api.v3.feedback.legacy_feedback_endpoint.legacy_feedback_endpoint(data: dict[str, str], region: Region, language: Language, comment: str, rating: bool, is_technical: bool) JsonResponse [source]
Decorate function for storing feedback about single page, imprint or event in database. This is a legacy endpoint for compatibility.
- Parameters:
- Returns:
decorated function that saves feedback in database
- Return type:
JsonResponse
Map Feedback
APIv3 endpoint for the map (POIs in general)
- integreat_cms.api.v3.feedback.map_feedback.map_feedback(data: dict, region: Region, language: Language, comment: str, rating: bool, is_technical: bool) JsonResponse [source]
Store feedback on map in database
- Parameters:
- Returns:
JSON object according to APIv3 event list feedback endpoint definition
- Return type:
JsonResponse
Offer Feedback
APIv3 feedback endpoint for feedback about single offer
- integreat_cms.api.v3.feedback.offer_feedback.offer_feedback(data: dict[str, str], region: Region, language: Language, comment: str, rating: bool, is_technical: bool) JsonResponse [source]
Store feedback about single offer in database
- Parameters:
- Returns:
JSON object according to APIv3 offer feedback endpoint definition
- Return type:
JsonResponse
Offer List Feedback
APIv3 feedback endpoint for feedback about offers
- integreat_cms.api.v3.feedback.offer_list_feedback.offer_list_feedback(data: dict, region: Region, language: Language, comment: str, rating: bool, is_technical: bool) JsonResponse [source]
Store feedback about offers list in database
- Parameters:
- Returns:
JSON object according to APIv3 offers list feedback endpoint definition
- Return type:
JsonResponse
Page Feedback
APIv3 endpoint for feedback bout single pages
- integreat_cms.api.v3.feedback.page_feedback.page_feedback(data: dict[str, str], region: Region, language: Language, comment: str, rating: bool, is_technical: bool) JsonResponse [source]
Decorate function for storing feedback about single page in database
- Parameters:
- Returns:
decorated function that saves feedback in database
- Return type:
JsonResponse
- integreat_cms.api.v3.feedback.page_feedback.page_feedback_internal(data: dict[str, str], region: Region, language: Language, comment: str, rating: bool, is_technical: bool) JsonResponse [source]
Store feedback about single event in database
- Parameters:
- Raises:
Http404 – HTTP status 404 if no page with the given slug exists.
- Returns:
JSON object according to APIv3 single page feedback endpoint definition
- Return type:
JsonResponse
POI Feedback
- integreat_cms.api.v3.feedback.poi_feedback.poi_feedback(data: dict[str, str], region: Region, language: Language, comment: str, rating: bool, is_technical: bool) JsonResponse [source]
Store feedback about single POI in database
- Parameters:
- Raises:
Http404 – HTTP status 404 if no POI with the given slug exists.
- Returns:
decorated function that saves feedback in database
- Return type:
JsonResponse
Region Feedback
APIv3 endpoint for feedback about full region (main level of content)
- integreat_cms.api.v3.feedback.region_feedback.region_feedback(data: dict, region: Region, language: Language, comment: str, rating: bool | None, is_technical: bool) JsonResponse [source]
Store feedback about region / main pages in database
- Parameters:
- Returns:
JSON object according to APIv3 region feedback endpoint definition
- Return type:
JsonResponse
Search Result Feedback
APIv3 app search result feedback endpoint
- integreat_cms.api.v3.feedback.search_result_feedback.search_result_feedback(data: dict[str, str], region: Region, language: Language, comment: str, rating: bool, is_technical: bool) JsonResponse [source]
Store feedback on app search results in database
- Parameters:
- Returns:
JSON object according to APIv3 search result feedback endpoint definition
- Return type:
JsonResponse