Skip to main content

Get Marker by ID

Get full marker details by UUID.

GET /api/v1/markers/{id}

Parameters

ParameterTypeLocationDescription
iduuidpathMarker ID

Headers

Authorization: Bearer {access_token}

Response

{
"meta": {
"success": true,
"message": "Marker retrieved successfully"
},
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"short_code": "ABC123",
"creator_id": "660e8400-e29b-41d4-a716-446655440000",
"name": "Bamboo Cluster A",
"description": "Large bamboo cluster near the river",
"strain": "Bambusa vulgaris",
"quantity": 50,
"latitude": "-7.797068",
"longitude": "110.370529",
"image_url": "https://drive.google.com/uc?id=...",
"owner_name": "Pak Bambang",
"owner_contact": "081234567890",
"created_at": "2025-01-01T00:00:00Z",
"updated_at": "2025-01-01T00:00:00Z"
}
}