Get all maintenance settings
GET/workspaces/:workspace_id/maintenances/settings
Get all maintenance settings
Request
Path Parameters
Workspace Id
Responses
- 200
- 400
- 404
- 500
OK response.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
settings
object[]
Maintenance settings
Unique identifier for the asset associated with the maintenance
Name of the asset associated with the maintenance
Timestamp indicating when the maintenance record was created, formatted as a string
Target number of operational cycles before maintenance is needed
Unique identifier for the maintenance record
Time interval (in seconds) for periodic maintenance
Target number of working hours after which maintenance is required
Unique identifier for the workspace associated with the maintenance
{
"settings": [
{
"asset_id": "string",
"asset_name": "string",
"created_at": "string",
"cycles_target": 0,
"id": "string",
"periodic_maintenance_time": 0,
"working_hour_target": 0,
"workspace_id": "string"
}
]
}
bad_request: Invalid Request
- application/json
- Schema
- Example (from schema)
Schema
Message of error
{
"message": "invalid request"
}
not_found: Not Found
- application/json
- Schema
- Example (from schema)
Schema
ID of missing object
Message of error
{
"id": "string",
"message": "object 1 not found"
}
internal_error: Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
Message of error
{
"message": "internal server error"
}