Model characteristics

Model characteristics

Use

Road:/api/specifications
Protected:true

Attributes

id:integer
group_id:integer
name:translation
url_rewrite:translation

Roads

Get/
Return the list of specifications

Get/{id}
Returns the details of the specification corresponding to the ID {id}

Put/store
Requiredid, group_id, name
Optionalurl_rewrite
Create a specification using the body of the request

Post/{id}
Optionalps_id, group_id, name, url_rewrite
Update the specification to the values given in the body of the request

Delete/{id}
Optionalspecification: {specification_id}
Delete the specification with the ID {id}. If specified, replace any association with a model and this specification using {specification_id}