CREATED: 22-03-2025

LAST MODIFIED: 02-05-2025


BASE_URL = /api/segment/

Authentication

All endpoints require authentication via JWT Bearer Token

Headers

Header Type Required Description
Authorization string Yes Bearer token for authentication

Error Codes Reference

Code HTTP Status Description
VALIDATION_ERROR 400 Input validation failed
UNAUTHORIZED_ERROR 401 Missing / Invalid Token
NOT_FOUND 404 Could Not Find Road map with given details
INTERNAL_SERVER_ERROR 500 Could Not process the request in given time
FORBIDDEN_ERROR 403 Forbidden to access the resource

1.Create a Single Segment of a Timeline

Creates one new segments within a specified timeline.