Contains information about the outfits generated by the service. The user must upload clothing items of differen types to the service before creating outfits out of those clothing items.
The clothingItems
property is what tells the service which clothing items make up an outfit.
{server_url}/outfits
The {server_url}
for the service is http://localhost:3000
.
A string that uniquely identifies the outfit.
A string that describes the season in which the user can wear the outfit. The service allows one season
per outfit
.
Accepted values for the season
property:
winter
spring
summer
fall
A string that describes the event type that the user can wear the outfit to. The service uses the event
property to determine what types of clothing make up an outfit.
A string that provides a long description of the outfit.
A string with arrays that contain the clothing
resources that make up an outfit.
A number that represens the outfit’s unique record ID.
clothing
resource {
"name": "picnic outfit",
"season": "spring",
"event": "outdoors",
"description": "Cottage-core, but make it practical.",
"clothingItems": [
"long-sleeved shirt",
"denim jeans",
"sneakers",
"backpack"
],
"id": 4
}
outfit
operations