Skip to main content
GET
/
hub
/
{hubId}
Read hub by ID
curl --request GET \
  --url https://apiweb.mile.app/api/v3/hub/{hubId}/ \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "_id": "63c7705c8608d52094785374",
    "name": "Neo Soho",
    "address": "Jakarta Barat 11470, Indonesia",
    "lat": -6.17434,
    "lng": 106.79028,
    "organizationId": "63c76fdb88697c70e35866e2",
    "updatedTime": "2023-01-18T04:06:52.773000Z",
    "createdTime": "2023-01-18T04:06:52.773000Z",
    "deleteAccess": true
  },
  "status": true
}

Authorizations

Authorization
string
header
required

Use a valid Bearer token to authenticate.

Path Parameters

hubId
string
required

Unique identifier for the hub that generated by system. Example: 63c7705c8608d52094785374

Response

Success

status
string

Status of response.

data
object

Detail of object hub.