Skip to main content

Get detectives

GET 

/api/v1/users/detectives

Return random users that are accepted food detectives with at least 1 review, but when there are not enough records - add to them also these without any reviews

Request

Query Parameters

    include string

    Include associations (delimited with comma). Available associations: specializations

    filter[city] string

    User city.

    page int32

    Default value: 1

    Page offset to fetch.

    per_page int32

    Default value: 5

    Number of results to return per page.

Body

    filter[exclude_cities] string[]

    Cities to exclude.

Responses

Return random users that are accepted food detectives with at least 1 review, but when there are not enough records - add to them also these without any reviews

Schema

    any

Loading...