V1::GalleryTagsController
Gallery Tags
index
Get a list of gallery_tags
URL
GET /schools/:school_id/gallery_tagsObjeto resposta
| Array<GalleryTag> | The created gallery_tags |
show
View a content {GalleryTag}
URL
GET /gallery_tags/:idParâmetros obrigatórios
| Nome | Tipo | Descrição |
|---|---|---|
| id | Integer | Identifier the gallery_tag |
Objeto resposta
| GalleryTag | The requested gallery_tag |
create
Create {GalleryTag}
URL
POST /schools/:school_id/gallery_tagsParâmetros obrigatórios
| Nome | Tipo | Descrição |
|---|---|---|
| gallery_tag | Hash | The school tag to create |
| gallery_tag[name] | String | Name of the gallery_tag |
update
Update an existing {GalleryTag}
URL
PUT/PATCH /gallery_tag/:idParâmetros obrigatórios
| Nome | Tipo | Descrição |
|---|---|---|
| gallery_tag | Hash | The gallery tag to update |
| gallery_tag[name] | String | Name of the gallery tag |
destroy
Delete {GalleryTag}
URL
DELETE /gallery_tag/:idParâmetros obrigatórios
| Nome | Tipo | Descrição |
|---|---|---|
| id | Integer | Id of an gallery tag |