Usage
Route : /api/modele_specs
Protected : true
Attributes
id : integer
name : translated
modele_id : integer
specification_id : integer
Endpoints
Return ModeleSpecifiation associations index list
Return details of the Specifications for Modele {id}
Return details of the Modeles for Specification {id}
PUT | /store |
Required | modele_id, specification_id, name |
Create an association of a Model with a Specification using request’s body
POST | /{id} |
Required | modele_id, name |
Update every ModeleSpecification with specification_id {id} according to the keys and values given in the request's body. If a modele_id is specified, only update the matching record.
DELETE | /modeles/{id} |
Optional | specification_id: {specification_id} |
Delete every ModeleSpecification with modele_id {id}. If specified within the body, only delete the entry with specification_id {specification_id}.
DELETE | /specifications/{id} |
Optional | modele_id: {modele_id} |
Delete every ModeleSpecification with specification_id {id}. If specified within the body, only delete the entry with modele_id {modele_id}.