You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The resource can be tested from this live documentation.
174
+
175
+
For example, the `POST /greet` at `<dev-domain>/api/ibexa/v2/doc#/App/api_greet_post` can be tested this way:
176
+
177
+
- Click the **Try it out** button
178
+
- In **Request body** section, choose the Content-Type from the drop-down menu. For example, the JSON format `application/vnd.ibexa.api.GreetingInput+json`
179
+
- In the text area, edit the JSON to make your own test
180
+
- In the **Responses** section, choose the desired response format for successful `200`
181
+
- Click the **Execute** button
182
+
183
+

184
+
185
+
Eventually, remove properties to see if default values work, inject parse errors, or empty the whole text area to see error handling.
186
+
174
187
## Registering resources in REST root
175
188
176
189
You can add the new resource to the [root resource](rest_api_usage.md#rest-root) through a configuration with the following pattern:
0 commit comments