File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -174,6 +174,7 @@ App\Entity\Book:
174
174
schemes : ['https']
175
175
options :
176
176
my_option : ' my_option_value'
177
+ status : 200 # customize the HTTP status code to send
177
178
put :
178
179
method : ' PUT'
179
180
path : ' /grimoire/{id}/update'
@@ -203,13 +204,14 @@ Or in XML:
203
204
<attribute name="defaults">
204
205
<attribute name="color">brown</attribute>
205
206
</attribute>
206
- <attribute name="options">
207
- <attribute name="color">brown</attribute>
208
- </attribute>
207
+ <attribute name="host">{subdomain}.api-platform.com</attribute>
209
208
<attribute name="schemes">
210
209
<attribute>https</attribute>
211
210
</attribute>
212
- <attribute name="host">{subdomain}.api-platform.com</attribute>
211
+ <attribute name="options">
212
+ <attribute name="color">brown</attribute>
213
+ </attribute>
214
+ <attribute name="status">200</attribute>
213
215
</itemOperation>
214
216
<itemOperation name="put">
215
217
<attribute name="method">PUT</attribute>
You can’t perform that action at this time.
0 commit comments