{"openapi":"3.0.0","info":{"title":"API GreenWay","description":"API used by the mobile and webapp GreenWay plateforme","version":"1.0.0"},"servers":[{"url":"\/","description":""}],"paths":{"\/api\/allSearch\/product":{"get":{"operationId":"gway_get_all_product_search","tags":["Lot"],"responses":{"200":{"description":"Lot resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves the list of my search product.","description":"Retrieves the list of my search product.","parameters":[],"deprecated":false},"parameters":[]},"\/api\/authenticate":{"post":{"operationId":"login_check_post","tags":["Login Check"],"responses":{"200":{"description":"User token created","content":{"application\/json":{"schema":{"type":"object","properties":{"token":{"readOnly":true,"type":"string","nullable":false}},"required":["token"]}}}}},"summary":"Creates a user token.","requestBody":{"description":"The login data","content":{"application\/json":{"schema":{"type":"object","properties":{"email":{"type":"string","nullable":false},"password":{"type":"string","nullable":false}},"required":["email","password"]}}},"required":true}},"parameters":[]},"\/api\/buyer\/lots\/bought\/{id}":{"get":{"operationId":"gway_my_lots_bought","tags":["Lot"],"responses":{"200":{"description":"Lot resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}}},"404":{"description":"Resource not found"}},"summary":"Get my lots bought","description":"Get my lots bought","parameters":[{"name":"id","in":"path","description":"Lot identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/catchment\/area":{"get":{"operationId":"gway_get_catchement_area","tags":["Lot"],"responses":{"200":{"description":"Lot resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}}},"404":{"description":"Resource not found"}},"summary":"Get list catchment area","description":"Get list catchment area","parameters":[],"deprecated":false},"post":{"operationId":"gway_catchment_area_add","tags":["Lot"],"responses":{"201":{"description":"Lot resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"catchment area","description":"catchment area","parameters":[],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","properties":{"band":{"type":"string"},"productName":{"type":"array","items":{"type":"string"}},"conditioning":{"type":"string"},"loadingMedium":{"type":"string"},"departments":{"type":"array","items":{"type":"string"}}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/catchment\/area\/update\/{id}":{"put":{"operationId":"gway_catchment_area_update","tags":["Lot"],"responses":{"200":{"description":"Lot resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"catchment area","description":"catchment area","parameters":[{"name":"id","in":"path","description":"Lot identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","properties":{"band":{"type":"string"},"productName":{"type":"array","items":{"type":"string"}},"conditioning":{"type":"string"},"loadingMedium":{"type":"string"},"departments":{"type":"array","items":{"type":"string"}},"status":{"type":"string"}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/departments":{"get":{"operationId":"api_departments_get_collection","tags":["Department"],"responses":{"200":{"description":"Department collection","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Department-read"}}},"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Department.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Department-read"}}}}}},"summary":"Retrieves the collection of Department resources.","description":"Retrieves the collection of Department resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/departments\/manage":{"post":{"operationId":"gway_department_manage","tags":["Department"],"responses":{"201":{"description":"Department resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Department-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Department.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Department-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Manage department","description":"Manage department","parameters":[],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"latitude":{"type":"string"},"longitude":{"type":"string"}}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/detailsOffer\/{id}":{"get":{"operationId":"gway_get_details_offer","tags":["Lot"],"responses":{"200":{"description":"Lot resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}}},"404":{"description":"Resource not found"}},"summary":"Get details of offer","description":"Get details of offer","parameters":[{"name":"id","in":"path","description":"Lot identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/lot\/all":{"get":{"operationId":"gway_lot_all","tags":["Lot"],"responses":{"200":{"description":"Lot resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}}},"404":{"description":"Resource not found"}},"summary":"Get all lots","description":"Get all lots","parameters":[],"deprecated":false},"parameters":[]},"\/api\/lot\/availables":{"get":{"operationId":"gway_lot_availables","tags":["Lot"],"responses":{"200":{"description":"Lot resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}}},"404":{"description":"Resource not found"}},"summary":"Get availalbles lots","description":"Get availalbles lots","parameters":[],"deprecated":false},"parameters":[]},"\/api\/lot\/new":{"post":{"operationId":"gway_lot_new","tags":["Lot"],"responses":{"201":{"description":"Lot resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Add lot","description":"Add lot","parameters":[],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","properties":{"products":{"type":"array","items":{"type":"object","properties":{"band":{"type":"string"},"name":{"type":"string"},"conditioning":{"type":"string"},"estimatedQuantity":{"type":"integer"},"unity":{"type":"string"},"loadingManages":{"type":"string"},"pricePerTon":{"type":"string"}}}},"pictures":{"type":"array","items":{"type":"object","properties":{"filename":{"type":"string"},"filecontent":{"type":"string"}}}},"title":{"type":"string"},"options":{"type":"string"},"description":{"type":"string"},"location":{"type":"string"},"loyalBuyers":{"type":"array","items":{"type":"string"}},"removalPeriodStart":{"type":"string","format":"date-time"},"removalPeriodEnd":{"type":"string","format":"date-time"},"idClient":{"type":"string","default":null}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/lot\/offer-products\/{lotId}":{"get":{"operationId":"gway_lot_offer_products_list","tags":["Lot"],"responses":{"200":{"description":"Lot resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}}},"404":{"description":"Resource not found"}},"summary":"List OfferProducts for a Lot","description":"Returns a paginated, filterable list of OfferProducts for a given Lot ID.","parameters":[{"name":"page","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"limit","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"integer","default":20},"style":"form","explode":false,"allowReserved":false},{"name":"filter[status]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string","description":"Filter OfferProducts by status"},"style":"form","explode":false,"allowReserved":false},{"name":"id","in":"path","description":"Lot identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/lot\/refuse\/{id}":{"put":{"operationId":"gway_lot_refuse","tags":["Lot"],"responses":{"200":{"description":"Lot resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Refuse my lots","description":"Refuse my lots","parameters":[{"name":"id","in":"path","description":"Lot identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"array","items":{"type":"object"}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/lot\/request-support\/{lotId}":{"post":{"operationId":"gway_request_support","tags":["Lot"],"responses":{"201":{"description":"Lot resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Request Support for a Lot","description":"Allows users to request support for a specific lot.","parameters":[{"name":"id","in":"path","description":"Lot identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The new Lot resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot.RequestSupportCommand-write"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.RequestSupportCommand.jsonld-write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot.RequestSupportCommand-write"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/lot\/save":{"post":{"operationId":"gway_lot_save","tags":["Lot"],"responses":{"201":{"description":"Lot resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Save lot","description":"Save lot","parameters":[],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","properties":{"products":{"type":"array","items":{"type":"object","properties":{"band":{"type":"string"},"name":{"type":"string"},"conditioning":{"type":"string"},"estimatedQuantity":{"type":"integer"},"unity":{"type":"string"},"loadingManages":{"type":"string"}}}},"pictures":{"type":"array","items":{"type":"object","properties":{"filename":{"type":"string"},"filecontent":{"type":"string"}}}},"title":{"type":"string"},"options":{"type":"string"},"description":{"type":"string"},"location":{"type":"string"},"loyalBuyers":{"type":"array","items":{"type":"string"}},"removalPeriodStart":{"type":"string","format":"date-time"},"removalPeriodEnd":{"type":"string","format":"date-time"},"idClient":{"type":"string","default":null}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/lot\/saved":{"get":{"operationId":"gway_all_saved_lot","tags":["Lot"],"responses":{"200":{"description":"Lot resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}}},"404":{"description":"Resource not found"}},"summary":"Get my saved lots","description":"Get my saved lots","parameters":[],"deprecated":false},"parameters":[]},"\/api\/lot\/search":{"post":{"operationId":"gway_lot_search","tags":["Lot"],"responses":{"201":{"description":"Lot resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Search Lot","description":"Search Lot","parameters":[],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","properties":{"keywords":{"type":"string"}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/lot\/update\/{id}":{"put":{"operationId":"gway_lot_update","tags":["Lot"],"responses":{"200":{"description":"Lot resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Update lot","description":"Update lot","parameters":[{"name":"id","in":"path","description":"Lot identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Lot resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-write"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-write"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/lot\/valid\/{id}":{"put":{"operationId":"gway_lot_valid","tags":["Lot"],"responses":{"200":{"description":"Lot resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Valid my lots","description":"Valid my lots","parameters":[{"name":"id","in":"path","description":"Lot identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","properties":{"proposed_buyer_ids":{"type":"array","items":{"type":"string","format":"uuid"}}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/lot\/validated":{"get":{"operationId":"gway_lot_status_two","tags":["Lot"],"responses":{"200":{"description":"Lot resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}}},"404":{"description":"Resource not found"}},"summary":"Get my lots validated","description":"Get my lots validated","parameters":[],"deprecated":false},"parameters":[]},"\/api\/lots":{"get":{"operationId":"api_lots_get_collection","tags":["Lot"],"responses":{"200":{"description":"Lot collection","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Lot-read"}}},"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Lot-read"}}}}}},"summary":"Retrieves the collection of Lot resources.","description":"Retrieves the collection of Lot resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/lots\/lotmyoffer\/all":{"get":{"operationId":"gway_get_lot_assiociated_my_all_offer","tags":["Lot"],"responses":{"200":{"description":"Lot resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves the list of lots containing your bids as a buyer.","description":"Retrieves the list of lots containing your bids as a buyer.","parameters":[],"deprecated":false},"parameters":[]},"\/api\/lots\/myoffer\/all":{"get":{"operationId":"gway_get_my_all_offer","tags":["Lot"],"responses":{"200":{"description":"Lot resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves the list of lots containing your bids as a buyer.","description":"Retrieves the list of lots containing your bids as a buyer.","parameters":[],"deprecated":false},"parameters":[]},"\/api\/lots\/{id}":{"get":{"operationId":"gway_lot_details","tags":["Lot"],"responses":{"200":{"description":"Lot resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a lot resource","description":"Retrieves a lot resource","parameters":[{"name":"id","in":"path","description":"Lot identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_lots_id_delete","tags":["Lot"],"responses":{"204":{"description":"Lot resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Lot resource.","description":"Removes the Lot resource.","parameters":[{"name":"id","in":"path","description":"Lot identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/myLot\/all":{"get":{"operationId":"gway_my_lot_all","tags":["Lot"],"responses":{"200":{"description":"Lot resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}}},"404":{"description":"Resource not found"}},"summary":"Get my all lots","description":"Get my all lots","parameters":[],"deprecated":false},"parameters":[]},"\/api\/myLot\/inPending":{"get":{"operationId":"gway_lot_in_pending","tags":["Lot"],"responses":{"200":{"description":"Lot resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}}},"404":{"description":"Resource not found"}},"summary":"Get my lots in pending","description":"Get my lots in pending","parameters":[],"deprecated":false},"parameters":[]},"\/api\/myLot\/saved":{"get":{"operationId":"gway_saved_lot","tags":["Lot"],"responses":{"200":{"description":"Lot resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}}},"404":{"description":"Resource not found"}},"summary":"Get my saved lots","description":"Get my saved lots","parameters":[],"deprecated":false},"parameters":[]},"\/api\/myLot\/validated":{"get":{"operationId":"gway_lot_validated","tags":["Lot"],"responses":{"200":{"description":"Lot resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}}},"404":{"description":"Resource not found"}},"summary":"Get my lots validated","description":"Get my lots validated","parameters":[],"deprecated":false},"parameters":[]},"\/api\/mySearch\/product":{"get":{"operationId":"gway_get_my_product_search","tags":["Lot"],"responses":{"200":{"description":"Lot resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves the list of my search product.","description":"Retrieves the list of my search product.","parameters":[],"deprecated":false},"parameters":[]},"\/api\/offer\/new":{"post":{"operationId":"gway_offer_new","tags":["Lot"],"responses":{"201":{"description":"Lot resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"New offer","description":"New offer","parameters":[],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","properties":{"lotId":{"type":"string"},"offerProducts":{"type":"array","items":{"type":"object","properties":{"productId":{"type":"string"},"typePrice":{"type":"string"},"price":{"type":"integer"},"quantity":{"type":"integer"}}}},"expirationDate":{"type":"string","format":"date-time"}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/offer\/update\/{id}":{"put":{"operationId":"gway_offer_update","tags":["Lot"],"responses":{"200":{"description":"Lot resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Update offer","description":"Update offer","parameters":[{"name":"id","in":"path","description":"Lot identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","properties":{"offerProducts":{"type":"array","items":{"type":"object","properties":{"productId":{"type":"string","default":null},"typePrice":{"type":"string"},"price":{"type":"integer","default":null},"quantity":{"type":"integer","default":null}}}},"expirationDate":{"type":"string","format":"date-time","default":null},"status":{"type":"string","default":null},"isCancelable":{"type":"boolean","default":null}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/offerPerLot\/{id}":{"get":{"operationId":"gway_get_offer_per_lot","tags":["Lot"],"responses":{"200":{"description":"Lot resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}}},"404":{"description":"Resource not found"}},"summary":"Get offer per lot","description":"Get offer per lot","parameters":[{"name":"id","in":"path","description":"Lot identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/product\/search":{"post":{"operationId":"gway_search_product","tags":["Lot"],"responses":{"201":{"description":"Lot resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Search product","description":"Search product","parameters":[],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","properties":{"band":{"type":"string"},"name":{"type":"string"},"quantity":{"type":"integer"},"pricePerTon":{"type":"string"},"department":{"type":"array","items":{"type":"string"}}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/product\/search\/update\/{id}":{"put":{"operationId":"gway_update_search_product","tags":["Lot"],"responses":{"200":{"description":"Lot resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Search product update","description":"Search product update","parameters":[{"name":"id","in":"path","description":"Lot identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","properties":{"band":{"type":"string"},"name":{"type":"string"},"quantity":{"type":"integer"},"pricePerTon":{"type":"string"},"department":{"type":"array","items":{"type":"string"}},"status":{"type":"string"}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/product\/searchProposal\/{id}":{"post":{"operationId":"gway_search_proposal","tags":["Lot"],"responses":{"201":{"description":"Lot resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Manage product proposal","description":"Manage product proposal","parameters":[{"name":"id","in":"path","description":"Lot identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"array","items":{"type":"object","properties":{"productId":{"type":"string"}}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/refresh\/token":{"post":{"operationId":"gway_user_token_refresh","tags":["UserSecurity"],"responses":{"201":{"description":"UserSecurity resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Refresh token","description":"Refresh token","parameters":[],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object"}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/search\/product\/{id}":{"get":{"operationId":"gway_get_details_product_search","tags":["Lot"],"responses":{"200":{"description":"Lot resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves the list of my search product.","description":"Retrieves the list of my search product.","parameters":[{"name":"id","in":"path","description":"Lot identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/seller\/lots\/sold\/{id}":{"get":{"operationId":"gway_my_lots_sold","tags":["Lot"],"responses":{"200":{"description":"Lot resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}}},"404":{"description":"Resource not found"}},"summary":"Get my lots sold","description":"Get my lots sold","parameters":[{"name":"id","in":"path","description":"Lot identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/skip\/lot\/{id}":{"post":{"operationId":"gway_lot_skip_lot","tags":["Lot"],"responses":{"201":{"description":"Lot resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Skip lot","description":"Skip lot","parameters":[{"name":"id","in":"path","description":"Lot identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The new Lot resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Lot.SkipLotCommand-write"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Lot.SkipLotCommand.jsonld-write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Lot.SkipLotCommand-write"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/user\/checkCode":{"post":{"operationId":"gway_user_check_code","tags":["UserSecurity"],"responses":{"201":{"description":"UserSecurity resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Check code user","description":"Check code user","parameters":[],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","properties":{"code":{"type":"string"}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/user_securities":{"get":{"operationId":"api_user_securities_get_collection","tags":["UserSecurity"],"responses":{"200":{"description":"UserSecurity collection","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserSecurity-read"}}},"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserSecurity.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserSecurity-read"}}}}}},"summary":"Retrieves the collection of UserSecurity resources.","description":"Retrieves the collection of UserSecurity resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/user_securities\/activation\/{id}":{"put":{"operationId":"gway_user_security_user_activation","tags":["UserSecurity"],"responses":{"200":{"description":"UserSecurity resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Activate registered user","description":"Activate registered user","parameters":[{"name":"id","in":"path","description":"User identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"array","items":{"type":"object"}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/user_securities\/desactivation\/{id}":{"put":{"operationId":"gway_user_security_user_desactivation","tags":["UserSecurity"],"responses":{"200":{"description":"UserSecurity resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Desactivate registered user","description":"Desactivate registered user","parameters":[{"name":"id","in":"path","description":"User identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated UserSecurity resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity.UserDesactivationCommand-write"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity.UserDesactivationCommand.jsonld-write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity.UserDesactivationCommand-write"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/user_securities\/manage\/":{"post":{"operationId":"gway_user_new_manage","tags":["UserSecurity"],"responses":{"201":{"description":"UserSecurity resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Manage user","description":"Manage user","parameters":[],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"roles":{"type":"string"},"sirenAndSiret":{"type":"string"},"postalAddress":{"typr":"string"},"phoneNumber":{"type":"string"},"tva":{"type":"string"},"authorizationNumberTrackdechet":{"type":"string"},"iban":{"type":"string"},"bic":{"type":"string"},"adress":{"type":"string"},"isDelete":{"type":"boolean","default":false}}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/user_securities\/new\/":{"post":{"operationId":"gway_user_new_user","tags":["UserSecurity"],"responses":{"201":{"description":"UserSecurity resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"New registered user","description":"New registered user","parameters":[],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"email":{"type":"string"},"roles":{"type":"string"}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/user_securities\/password\/update":{"put":{"operationId":"gway_user_update_password","tags":["UserSecurity"],"responses":{"200":{"description":"UserSecurity resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Update password user","description":"Update password user","parameters":[],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","properties":{"oldPassword":{"type":"string"},"newPassword":{"type":"string"},"confirmNewPassword":{"type":"string"}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/user_securities\/profil\/update":{"put":{"operationId":"gway_user_update_profil","tags":["UserSecurity"],"responses":{"200":{"description":"UserSecurity resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Update profil user","description":"Update profil user","parameters":[],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"email":{"type":"string"},"entreprise":{"type":"string"},"postalAddress":{"type":"string"},"phoneNumber":{"type":"string"},"sirenAndSiret":{"type":"string"},"tva":{"type":"string"},"authorizationNumberTrackdechet":{"type":"string"},"iban":{"type":"string"},"bic":{"type":"string"},"department":{"type":"string"}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/user_securities\/refuse\/{id}":{"put":{"operationId":"gway_user_security_user_refuse","tags":["UserSecurity"],"responses":{"200":{"description":"UserSecurity resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Refuse registered user","description":"Refuse registered user","parameters":[{"name":"id","in":"path","description":"User identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"array","items":{"type":"object"}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/user_securities\/update\/{id}":{"put":{"operationId":"gway_user_update_user_activation","tags":["UserSecurity"],"responses":{"200":{"description":"UserSecurity resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Update registered user","description":"Update registered user","parameters":[{"name":"id","in":"path","description":"User identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"email":{"type":"string"},"entreprise":{"type":"string"},"postalAddress":{"type":"string"},"phoneNumber":{"type":"string"},"sirenAndSiret":{"type":"string"},"tva":{"type":"string"},"authorizationNumberTrackdechet":{"type":"string"},"iban":{"type":"string"},"bic":{"type":"string"},"department":{"type":"string"},"adress":{"type":"string"},"infoBanque":{"type":"string"}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/user_securities\/{id}":{"get":{"operationId":"api_user_securities_id_get","tags":["UserSecurity"],"responses":{"200":{"description":"UserSecurity resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a UserSecurity resource.","description":"Retrieves a UserSecurity resource.","parameters":[{"name":"id","in":"path","description":"User identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_user_securities_id_delete","tags":["UserSecurity"],"responses":{"204":{"description":"UserSecurity resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the UserSecurity resource.","description":"Removes the UserSecurity resource.","parameters":[{"name":"id","in":"path","description":"User identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/users":{"get":{"operationId":"api_users_get_collection","tags":["User"],"responses":{"200":{"description":"User collection","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User-read"}}},"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/User.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User-read"}}}}}},"summary":"Retrieves the collection of User resources.","description":"Retrieves the collection of User resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/users\/account_opening_request":{"post":{"operationId":"gway_user_signup","tags":["User"],"responses":{"201":{"description":"User resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Register a new user","description":"Register a new user","parameters":[],"requestBody":{"description":"The new User resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User.SignUpCommand-write"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.SignUpCommand.jsonld-write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User.SignUpCommand-write"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/users\/buyers":{"get":{"operationId":"gway_user_security_user_buyer","tags":["UserSecurity"],"responses":{"200":{"description":"UserSecurity resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}}}},"404":{"description":"Resource not found"}},"summary":"List account user buyer","description":"All account  user not active !","parameters":[],"deprecated":false},"parameters":[]},"\/api\/users\/forgotPassword":{"put":{"operationId":"gway_user_security_user_forgot_password","tags":["UserSecurity"],"responses":{"200":{"description":"UserSecurity resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Send email to reset password","description":"Send 6 digit code to email for password reset","parameters":[],"requestBody":{"description":"The updated UserSecurity resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity.UserForgotPasswordCommand-write"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity.UserForgotPasswordCommand.jsonld-write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity.UserForgotPasswordCommand-write"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/users\/in_pending":{"get":{"operationId":"gway_user_security_user_in_pending","tags":["UserSecurity"],"responses":{"200":{"description":"UserSecurity resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}}}},"404":{"description":"Resource not found"}},"summary":"List account user not active","description":"All account  user in pending !","parameters":[],"deprecated":false},"parameters":[]},"\/api\/users\/my-users":{"get":{"operationId":"gway_user_security_my_user","tags":["UserSecurity"],"responses":{"200":{"description":"UserSecurity resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}}}},"404":{"description":"Resource not found"}},"summary":"List account user of user","description":"List ! ","parameters":[],"deprecated":false},"parameters":[]},"\/api\/users\/newPassword":{"put":{"operationId":"gway_user_security_new_password","tags":["UserSecurity"],"responses":{"200":{"description":"UserSecurity resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Change user's password","description":"Change user's password if code provided is correct and the two password match (retypePassword and password)","parameters":[],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"password":{"type":"string"},"retypePassword":{"type":"string"}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/users\/profil":{"get":{"operationId":"gway_user_profil","tags":["UserSecurity"],"responses":{"200":{"description":"UserSecurity resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}}}},"404":{"description":"Resource not found"}},"summary":"Profil user","description":"Profil user","parameters":[],"deprecated":false},"parameters":[]},"\/api\/users\/sellers":{"get":{"operationId":"gway_user_security_user_seller","tags":["UserSecurity"],"responses":{"200":{"description":"UserSecurity resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserSecurity-read"}}}},"404":{"description":"Resource not found"}},"summary":"List account user seller","description":"All account  user not active !","parameters":[],"deprecated":false},"parameters":[]},"\/api\/users\/{id}":{"get":{"operationId":"api_users_id_get","tags":["User"],"responses":{"200":{"description":"User resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User-read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a User resource.","description":"Retrieves a User resource.","parameters":[{"name":"id","in":"path","description":"User identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_users_id_delete","tags":["User"],"responses":{"204":{"description":"User resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the User resource.","description":"Removes the User resource.","parameters":[{"name":"id","in":"path","description":"User identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]}},"components":{"schemas":{"Department-read":{"type":"object","description":"","deprecated":false,"properties":{"id":{"readOnly":true,"type":"integer"},"name":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"}}},"Department.jsonld-read":{"type":"object","description":"","deprecated":false,"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"type":"integer"},"name":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"}}},"Lot-read":{"type":"object","description":"","deprecated":false,"properties":{"id":{"description":"Get the value of id","type":"string","format":"uuid"},"options":{"type":"string"},"title":{"description":"Get the value of lastName","type":"string"},"description":{"type":"string"},"location":{"type":"string"},"loyalBuyers":{"description":"Get the value of loyalBuyers","type":"array","items":{"type":"string"}},"removalPeriodStart":{"type":"string","format":"date-time"},"removalPeriodEnd":{"type":"string","format":"date-time"},"createdAt":{"readOnly":true,"type":"string","format":"date-time"},"isValid":{"default":"false","example":"false","type":"boolean"},"indexation":{"type":"string"},"status":{"type":"integer"}}},"Lot-write":{"type":"object","description":"","deprecated":false,"properties":{"id":{"description":"Get the value of id","type":"string","format":"uuid"},"options":{"type":"string"},"title":{"description":"Get the value of lastName","type":"string"},"description":{"type":"string"},"location":{"type":"string"},"loyalBuyers":{"description":"Get the value of loyalBuyers","type":"array","items":{"type":"string"}},"removalPeriodStart":{"type":"string","format":"date-time"},"removalPeriodEnd":{"type":"string","format":"date-time"},"createdAt":{"readOnly":true,"type":"string","format":"date-time"},"isValid":{"default":"false","example":"false","type":"boolean"},"indexation":{"type":"string"},"status":{"type":"integer"}}},"Lot.RequestSupportCommand-write":{"type":"object","description":"","deprecated":false},"Lot.RequestSupportCommand.jsonld-write":{"type":"object","description":"","deprecated":false},"Lot.SkipLotCommand-write":{"type":"object","description":"","deprecated":false},"Lot.SkipLotCommand.jsonld-write":{"type":"object","description":"","deprecated":false},"Lot.jsonld-read":{"type":"object","description":"","deprecated":false,"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"description":"Get the value of id","type":"string","format":"uuid"},"options":{"type":"string"},"title":{"description":"Get the value of lastName","type":"string"},"description":{"type":"string"},"location":{"type":"string"},"loyalBuyers":{"description":"Get the value of loyalBuyers","type":"array","items":{"type":"string"}},"removalPeriodStart":{"type":"string","format":"date-time"},"removalPeriodEnd":{"type":"string","format":"date-time"},"createdAt":{"readOnly":true,"type":"string","format":"date-time"},"isValid":{"default":"false","example":"false","type":"boolean"},"indexation":{"type":"string"},"status":{"type":"integer"}}},"Lot.jsonld-write":{"type":"object","description":"","deprecated":false,"properties":{"id":{"description":"Get the value of id","type":"string","format":"uuid"},"options":{"type":"string"},"title":{"description":"Get the value of lastName","type":"string"},"description":{"type":"string"},"location":{"type":"string"},"loyalBuyers":{"description":"Get the value of loyalBuyers","type":"array","items":{"type":"string"}},"removalPeriodStart":{"type":"string","format":"date-time"},"removalPeriodEnd":{"type":"string","format":"date-time"},"createdAt":{"readOnly":true,"type":"string","format":"date-time"},"isValid":{"default":"false","example":"false","type":"boolean"},"indexation":{"type":"string"},"status":{"type":"integer"}}},"User-read":{"type":"object","description":"","deprecated":false,"properties":{"id":{"description":"Get the value of id","type":"string","format":"uuid"},"sirenAndSiret":{"description":"Get the value of sirenAndSiret","type":"string"},"name":{"description":"Get the value of lastName","type":"string"},"email":{"description":"Get the value of email","type":"string"},"type":{"type":"string","nullable":true}}},"User.SignUpCommand-write":{"type":"object","description":"","deprecated":false,"properties":{"sirenAndSiret":{"type":"string"},"name":{"type":"string"},"phoneNumber":{"type":"string"},"email":{"type":"string"},"type":{"type":"string"},"calendlyLink":{"type":"string"}}},"User.SignUpCommand.jsonld-write":{"type":"object","description":"","deprecated":false,"properties":{"sirenAndSiret":{"type":"string"},"name":{"type":"string"},"phoneNumber":{"type":"string"},"email":{"type":"string"},"type":{"type":"string"},"calendlyLink":{"type":"string"}}},"User.jsonld-read":{"type":"object","description":"","deprecated":false,"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"description":"Get the value of id","type":"string","format":"uuid"},"sirenAndSiret":{"description":"Get the value of sirenAndSiret","type":"string"},"name":{"description":"Get the value of lastName","type":"string"},"email":{"description":"Get the value of email","type":"string"},"type":{"type":"string","nullable":true}}},"UserSecurity-read":{"type":"object","description":"","deprecated":false,"properties":{"id":{"description":"Get the value of id","type":"string","format":"uuid"},"email":{"description":"Get the value of email","type":"string"},"sirenAndSiret":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"roles":{"description":"Get the value of roles","type":"array","items":{"type":"string"}},"department":{"anyOf":[{"$ref":"#\/components\/schemas\/Department-read"}],"nullable":true},"entreprise":{"type":"string","nullable":true},"phoneNumber":{"type":"string","nullable":true},"postalAddress":{"type":"string","nullable":true},"tva":{"type":"string","nullable":true},"authorizationNumberTrackdechet":{"type":"string","nullable":true},"iban":{"type":"string","nullable":true},"bic":{"type":"string","nullable":true},"isActivated":{"description":"Get the value of isActivated","default":"false","example":"false","type":"boolean"}}},"UserSecurity.UserDesactivationCommand-write":{"type":"object","description":"","deprecated":false},"UserSecurity.UserDesactivationCommand.jsonld-write":{"type":"object","description":"","deprecated":false},"UserSecurity.UserForgotPasswordCommand-write":{"type":"object","description":"","deprecated":false,"properties":{"email":{}}},"UserSecurity.UserForgotPasswordCommand.jsonld-write":{"type":"object","description":"","deprecated":false,"properties":{"email":{}}},"UserSecurity.jsonld-read":{"type":"object","description":"","deprecated":false,"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"description":"Get the value of id","type":"string","format":"uuid"},"email":{"description":"Get the value of email","type":"string"},"sirenAndSiret":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"roles":{"description":"Get the value of roles","type":"array","items":{"type":"string"}},"department":{"anyOf":[{"$ref":"#\/components\/schemas\/Department.jsonld-read"}],"nullable":true},"entreprise":{"type":"string","nullable":true},"phoneNumber":{"type":"string","nullable":true},"postalAddress":{"type":"string","nullable":true},"tva":{"type":"string","nullable":true},"authorizationNumberTrackdechet":{"type":"string","nullable":true},"iban":{"type":"string","nullable":true},"bic":{"type":"string","nullable":true},"isActivated":{"description":"Get the value of isActivated","default":"false","example":"false","type":"boolean"}}}},"responses":{},"parameters":{},"examples":{},"requestBodies":{},"headers":{},"securitySchemes":{"JWT":{"type":"apiKey","description":"Value for the Authorization header parameter.","name":"Authorization","in":"header"}}},"security":[{"JWT":[]}],"tags":[]}