Gallery Categories

POST

Create Gallery Category

Create a new gallery category.

Required Permission: Create Gallery Category
POST /dashboard/gallery-categories

Request Body

JSON

    

Request Parameters

Parameter Type Required Validation Description
name String Required string, max:255 Name of the gallery category
type Integer Required integer, in:1,2 1 for photo, 2 for video
position Integer Optional integer The position/order of the gallery category.

Response

200 OK
Status Code
HTTP status code (200)
Message
Gallery category successfully created
Data
Created gallery category record