cURL
curl --request PUT \ --url https://serengo.zias.be/api/finds/{findId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "title": "<string>", "description": "<string>", "category": "<string>", "isPublic": true, "media": [ { "id": "<string>", "type": "image", "url": "<string>", "thumbnailUrl": "<string>" } ], "mediaToDelete": [ "<string>" ] } '
{ "id": "<string>", "title": "<string>", "description": "<string>", "category": "<string>", "isPublic": true, "locationId": "<string>", "userId": "<string>", "media": [ { "id": "<string>", "type": "image", "url": "<string>", "thumbnailUrl": "<string>" } ], "createdAt": "2023-11-07T05:31:56Z", "rating": 123, "likeCount": 123, "commentCount": 123, "isLiked": true }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
100
500
Show child attributes
Find updated