Skip to main content

Retrieve a list of photos for a user (by phone)

GET 

/api/users/by-phone/:phoneNumber/photos

Retrieve a list of photos for a user. The user is identified by the cell phone number of the user and in the format +1CCCBBBAAAA. If the caller does not have access to the user throws an exception.

Request

Path Parameters

    phoneNumber stringrequired

Query Parameters

    pageable objectrequired
    sortField string

    Default value: dateUploaded

    sortDirection string

    Default value: desc

Header Parameters

    partnerId stringrequired

    Partner Id

    clientId stringrequired

    Client Id

    clientSecret stringrequired

    Client Secret

Responses

List of photos uploaded by user.

Schema

  • Array [

  • userId string

    Id of the owner

    photoUrl string

    URL of the photo

    deviceIdentifier string

    Device identifier of the device on which photo was taken

    deviceManufacturer string

    Manufacturer of the device on which photo was taken

    deviceModel string

    Model of the device on which photo was taken

    deviceOS string

    OS of the device on which photo was taken

    takenOn string

    The timestamp at which the photo was taken

    latitude double

    Latitude of the location at which photo was taken

    longitude double

    Longitude of the location at which photo was taken

  • ]

Loading...