Skip to content

Retrieve photos in bulk #223

@CapitalP222

Description

@CapitalP222

Regarding your photo example:

# Get all photos (*) for MLS ID 'mls_id'
# Pass :object_id (ie '0', '1,2', wildcard '*')
# The pass :resource (Property, Agent, MetaData, ...), :object_type (Photo, PhotoLarge), :rescource_id (ID of agent, MLS, ...)
photos = client.objects '*', {
  resource: 'Property',
  object_type: 'Photo',
  resource_id: 'mls_id'
}

1 - Is there any way to get one response for multiple records? (based on mls_ids or other categories)

I have tried using commas, colons and semicolon to separate different "mls_ids" but it doesn't work

2 - what do the values represent for object_id?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions