Skip to main content
GET
/
api
/
finds
Get finds for a location
curl --request GET \
  --url https://serengo.zias.be/api/finds \
  --header 'Authorization: Bearer <token>'
[
  {
    "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
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

locationId
string
required

ID of the location

includePrivate
boolean
includeFriends
boolean
order
enum<string>
default:desc
Available options:
desc,
asc

Response

200 - application/json

Finds for the location

id
string
title
string
description
string | null
category
string | null
isPublic
boolean
locationId
string
userId
string
media
object[]
createdAt
string<date-time>
rating
number
likeCount
integer
commentCount
integer
isLiked
boolean