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
Required
id, group_id, name
Optional
url_rewrite
Create a specification using the body of the request
Post
/{id}
Optional
ps_id, group_id, name, url_rewrite
Update the specification to the values given in the body of the
request
Delete
/{id}
Optional
specification: {specification_id}
Delete the specification with the ID {id}. If specified, replace any association with a model and this specification using {specification_id}