Commit 77bce58d218ec37d30cf18eba060014032dc16ce
1 parent
313cf040
docs
Showing
1 changed file
with
0 additions
and
10 deletions
Show diff stats
app/library/App/Resources/ProjectResource.php
| @@ -31,16 +31,6 @@ class ProjectResource extends ApiResource { | @@ -31,16 +31,6 @@ class ProjectResource extends ApiResource { | ||
| 31 | 31 | ||
| 32 | ->endpoint(ApiEndpoint::all()) | 32 | ->endpoint(ApiEndpoint::all()) |
| 33 | ->endpoint(ApiEndpoint::create()) | 33 | ->endpoint(ApiEndpoint::create()) |
| 34 | - ->exampleRequest([ | ||
| 35 | - 'JSON data' => [ | ||
| 36 | - 'required' => [ | ||
| 37 | - "name" => "123", | ||
| 38 | - "ga_view_id" => "123", | ||
| 39 | - "user_id" => "1" | ||
| 40 | - ], | ||
| 41 | - 'optional' => [] | ||
| 42 | - ], | ||
| 43 | - ]) | ||
| 44 | ->endpoint(ApiEndpoint::find()) | 34 | ->endpoint(ApiEndpoint::find()) |
| 45 | ->endpoint(ApiEndpoint::update()) | 35 | ->endpoint(ApiEndpoint::update()) |
| 46 | ->endpoint(ApiEndpoint::remove()); | 36 | ->endpoint(ApiEndpoint::remove()); |