Download OpenAPI specification:
CCAPDEV MCO
| email required | string <email> |
| password required | string <password> (UserPassword) |
{- "email": "user@example.com",
- "password": "123456"
}{- "message": "string"
}| email required | string <email> |
| password required | string <password> (UserPassword) |
required | object (UserName) |
{- "email": "user@example.com",
- "password": "123456",
- "name": {
- "first": "Juan",
- "last": "Dela Cruz"
}
}"507f1f77bcf86cd799439011"| id required | string (UserId) ^[0-9a-fA-F]{24}$ Example: 507f1f77bcf86cd799439011 The unique identifier of the user |
{- "name": {
- "first": "Juan",
- "last": "Dela Cruz"
}, - "description": "Epic gamer",
- "id": "507f1f77bcf86cd799439011",
- "admin": true,
- "editable": true
}| id required | string (UserId) ^[0-9a-fA-F]{24}$ Example: 507f1f77bcf86cd799439011 The unique identifier of the user |
required | object (UserName) |
| description required | string |
| password | string <password> (UserPassword) |
{- "name": {
- "first": "Juan",
- "last": "Dela Cruz"
}, - "description": "Epic gamer",
- "password": "123456"
}{- "message": "string"
}| id required | string (UserId) ^[0-9a-fA-F]{24}$ Example: 507f1f77bcf86cd799439011 The unique identifier of the user |
{- "message": "string"
}| q | string The search query to filter labs |
| page | integer >= 1 Default: 1 Pagination query |
{- "data": [
- {
- "name": "GK403",
- "weeklySchedule": {
- "sunday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "monday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "tuesday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "wednesday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "thursday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "friday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "saturday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}
}, - "slots": [
- {
- "id": "1",
- "x": 0,
- "y": 0
}
], - "id": "507f1f77bcf86cd799439011",
- "editable": true
}
], - "hasNextPage": true
}The lab to create
| name required | string |
required | object Weekly schedule of the lab |
required | Array of objects Available slots in the lab |
{- "name": "GK403",
- "weeklySchedule": {
- "sunday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "monday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "tuesday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "wednesday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "thursday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "friday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "saturday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}
}, - "slots": [
- {
- "id": "1",
- "x": 0,
- "y": 0
}
]
}"507f1f77bcf86cd799439011"| id required | string (LabId) ^[0-9a-fA-F]{24}$ Example: 507f1f77bcf86cd799439011 The unique identifier of the lab |
{- "name": "GK403",
- "weeklySchedule": {
- "sunday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "monday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "tuesday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "wednesday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "thursday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "friday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "saturday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}
}, - "slots": [
- {
- "id": "1",
- "x": 0,
- "y": 0
}
], - "id": "507f1f77bcf86cd799439011",
- "editable": true
}| id required | string (LabId) ^[0-9a-fA-F]{24}$ Example: 507f1f77bcf86cd799439011 The unique identifier of the lab |
| name required | string |
required | object Weekly schedule of the lab |
required | Array of objects Available slots in the lab |
{- "name": "GK403",
- "weeklySchedule": {
- "sunday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "monday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "tuesday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "wednesday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "thursday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "friday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "saturday": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}
}, - "slots": [
- {
- "id": "1",
- "x": 0,
- "y": 0
}
]
}{- "message": "string"
}| anonymous | boolean |
required | object (Interval) Time interval |
| slotIds required | Array of strings (SlotId) [ items non-empty ] |
| labId required | string (LabId) ^[0-9a-fA-F]{24}$ The unique identifier of a lab |
{- "anonymous": true,
- "schedule": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "slotIds": [
- "string"
], - "labId": "507f1f77bcf86cd799439011"
}"507f1f77bcf86cd799439011"| id required | string (ReservationId) ^[0-9a-fA-F]{24}$ Example: 507f1f77bcf86cd799439011 The unique identifier of the reservation |
| anonymous | boolean |
required | object (Interval) Time interval |
| slotIds required | Array of strings (SlotId) [ items non-empty ] |
{- "anonymous": true,
- "schedule": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "slotIds": [
- "string"
]
}{- "message": "string"
}| id required | string (UserId) ^[0-9a-fA-F]{24}$ Example: 507f1f77bcf86cd799439011 The unique identifier of the user |
[- {
- "anonymous": true,
- "schedule": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "slotIds": [
- "string"
], - "labId": "507f1f77bcf86cd799439011",
- "id": "507f1f77bcf86cd799439011",
- "userId": "507f1f77bcf86cd799439011",
- "editable": true
}
]| id required | string (LabId) ^[0-9a-fA-F]{24}$ Example: 507f1f77bcf86cd799439011 The unique identifier of the lab |
[- {
- "anonymous": true,
- "schedule": {
- "start": "1970-01-01T00:00:00.000Z",
- "end": "1970-01-01T00:00:00.000Z"
}, - "slotIds": [
- "string"
], - "labId": "507f1f77bcf86cd799439011",
- "id": "507f1f77bcf86cd799439011",
- "userId": "507f1f77bcf86cd799439011",
- "editable": true
}
]