Download OpenAPI specification:Download
An account in Clustermarket represents an organisation, department or a lab. We have a hierarchical strucure following these rules:
graph TD
org[Organisation]
org-->lab0[Lab]
dep1[Department]
dep2[Department]
org-->dep1
dep1-->lab1[Lab]
dep1-->lab2[Lab]
org-->dep2
dep2-->lab3[Lab]
il[Independent Lab]
Get the full details of a specific account. The application scope must include read_accounts
.
id required | integer Account ID |
{- "id": 0,
- "name": "Cambridge Graphene Center",
- "account_type": "lab",
- "sector": "academia",
- "description": "string",
- "timezone": "Europe/London",
- "department": {
- "name": "string",
- "id": 0
}, - "organisation": {
- "name": "string",
- "id": 0
}, - "labs": [
- {
- "id": 0,
- "name": "string"
}
], - "departments": [
- {
- "id": 0,
- "name": "string"
}
]
}
Return lists of bookings accessible to the user, optionally scopable to the providing lab account. The application scope must include read_bookings
.
provider_account | number The parent lab account ID. |
Lists all equipment under the specified lab. Requires read_equipment
scope.
account | number The target lab account ID |
[- {
- "id": 1,
- "name": "William Optics RedCat 71 APO",
- "description": "Apochromatic telescope",
- "room": "Room 101",
- "availability_status": "Available",
- "model": "RedCat 71",
- "manufacturer": "William Optics",
- "sub_category": {
- "id": 1,
- "name": "Audiovisual & IT"
}, - "contact_person": {
- "id": 1,
- "name": "Lisa Millar"
},
}
]
Returns details about a particular piece of equipment. Requires the equipment ID, and the application scope must include read_equipment
.
id required | integer Equipment ID |
{- "id": 0,
- "name": "string",
- "room": "string",
- "manufacturer": "string",
- "model": "string",
- "city": "string",
- "country": "string",
- "currency": "string",
- "charging_type": "string",
- "description": "string",
- "category": {
- "name": "string"
}, - "lab": {
- "id": 0,
- "name": "string"
}, - "manufacturing_year": "string",
- "serial_number": "string"
}
Returns bookings about a particular piece of equipment. Requires the equipment ID, and the application scope must include read_equipment
.
id required | integer Unique ID of the equipment |
[- {
- "id": 1,
- "asset_id": 1,
- "start_time": "2022-03-08T09:00:00.000+00:00",
- "end_time": "2022-03-08T11:00:00.000+00:00",
- "status": "Requested"
}
]
Get the full details of a specific group. The application scope must include read_accounts
.
id required | integer Group ID |
{- "id": 0,
- "name": "string",
- "equipment": [
- {
- "id": 0,
- "name": "string"
}
]
}