curl --request POST \
--url http://localhost/mogl/mogl-backend/api/service/saveService \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"category_id": 1,
"instruction": "Please create a short video",
"amount": 50,
"status": "A",
"sample_video": "https://example.com/sample.mp4",
"sample_description": "Sample video description",
"is_requested_delete_video": "N"
}
'curl --request POST \
--url http://localhost/mogl/mogl-backend/api/service/saveService \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"category_id": 1,
"instruction": "Please create a short video",
"amount": 50,
"status": "A",
"sample_video": "https://example.com/sample.mp4",
"sample_description": "Sample video description",
"is_requested_delete_video": "N"
}
'Documentation Index
Fetch the complete documentation index at: https://developer.mogl.online/llms.txt
Use this file to discover all available pages before exploring further.
JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.
Service category ID
1
Service instructions (NOT description, required when status=A)
"Please create a short video"
Service price (NOT price, required when status=A)
50
A=active (NOT is_active boolean)
"A"
Sample video (conditionally required)
"https://example.com/sample.mp4"
"Sample video description"
"N"
Service saved