Image: POST

Allows the user to create an image and add to the database.

Request

To create a new image:

/api/lot/:lotID/image

Requires bearer authentication.

Response

Should return 200 status code and JSON object on the response body.

body: {
    userID: 12f345f6789098uk7jty65sfa4sg3w21
    lotID:fw8364gofqy02023j
    imageURI: http://amazon.com/aws/1234567890.png
    objectKey:1234567890.png
    _id: 287563420fhidufg8q923y
}

results matching ""

    No results matching ""