We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63ba9d2 commit 6e6297cCopy full SHA for 6e6297c
src/server/api/common_api.py
@@ -206,15 +206,6 @@ def get_animals(matching_id):
206
return result
207
208
209
-@common_api.route('/api/animal/<animal_id>/events', methods=['GET'])
210
-def get_animal_events(animal_id):
211
- result = {}
212
- animal_url = f"http://shelterluv.com/api/v1/animals/{animal_id}/events"
213
- event_details = requests.get(animal_url, headers={"x-api-key": SHELTERLUV_SECRET_TOKEN}).json()
214
- result[animal_id] = event_details["events"]
215
- return result
216
-
217
218
@common_api.route('/api/person/<matching_id>/animal/<animal_id>/events', methods=['GET'])
219
def get_person_animal_events(matching_id, animal_id):
220
result = {}
0 commit comments