Skip to content

Commit

Permalink
api documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Redjik committed Sep 6, 2015
1 parent 6ae2131 commit f87f7f3
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions api/resources/views/documentation/sections/tag.blade.apib
Expand Up @@ -85,3 +85,27 @@ It is recommended to use the PUT method with `entityId` in route, as the same ac

+ Response 204

## Tag child Tags [/tags/{tagId}/child-tags]
+ Parameters
+ tagId (required, uuid, `{!! $faker->uuid !!}`) ... Unique `id` or `tag` of the tag to perform action with.

### Add tags to tag [PUT]

+ Request
+ Body

{!!
$factory->get(\App\Models\Tag::class)
->hide(['_self'])
->json()
!!}

+ Response 201 (application/json)
+ Body

{!!
$factory->get(\App\Models\Tag::class)
->showOnly(['_self'])
->json()
!!}

0 comments on commit f87f7f3

Please sign in to comment.