Association of a feature with a model

Association of a feature with a model

Usage

Route : /api/modele_specs
Protected : true

Attributes

id : integer
name : translated
modele_id : integer
specification_id : integer

Endpoints

GET /
Return ModeleSpecifiation associations index list

GET /modeles/{id}
Return details of the Specifications for Modele {id}

GET /specifications/{id}
Return details of the Modeles for Specification {id}

PUT/store
Requiredmodele_id, specification_id, name
Create an association of a Model with a Specification using request’s body

POST /{id}
Requiredmodele_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}
Optionalspecification_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}
Optionalmodele_id: {modele_id}
Delete every ModeleSpecification with specification_id {id}. If specified within the body, only delete the entry with modele_id {modele_id}.