Skip to content

Image API #92

@zhaoguoyuan

Description

@zhaoguoyuan

Create and Destroy of Image API, require a listing as parameter, but actually it only need a listing_id.

If start with a existing listing, it is fine, but think about the following scenario:

  1. Create a new listing then the API won't return a listing, it only return the listing_id(with current API when this issue raising)
  2. For adding image to the newly created listing, you have to query the whole listing with the listing_id again
  3. Then using the Create Image API to add image

Suggestion:
Change Create and Destroy API to using listing_id, then it will work for both scenario.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions