Create a new hub.
Successful operation
Unprocessable Content
{- "name": "Nordantech"
}
{- "success": true,
- "hash": "a4330eabcfa39d7318eed2db6292c73da2bc302d",
- "data": {
- "user": {
- "id": 1,
- "hash": "f30fe0dfc81fa47662ba394fae600932acb588de",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "email": "titan@nordantech.com",
- "password_type": 3,
- "password_modified_time": "2022-06-27T09:48:05.000000Z",
- "password_age": 12,
- "password_age_relative_time": "1 week ago",
- "password_update": false,
- "login_confirmation": false,
- "language": 1,
- "settings": {
- "locale": 1,
- "statefulness": true
}, - "registration_time": "2019-11-14T16:07:39.000000Z",
- "terms_accepted_time": "2019-11-14T16:07:39.000000Z",
- "terms_reconfirmation": false,
- "status": 1,
- "model": "User",
- "image": {
- "id": 1,
- "hash": "613e66e4f1e3ef01a93cac169b75d4d9f43a8de4",
- "extension": "jpg",
- "mime": "image/jpeg",
- "size": 47100,
- "created_time": "2022-05-18T09:04:39.000000Z",
- "modified_time": "2022-05-18T09:04:39.000000Z",
- "modified_user_time": "2022-05-18T09:04:39.000000Z",
- "model": "Image"
}, - "hubs": [
- {
- "id": 1,
- "hash": "1daa7da5ba074972eb3d4552414928f5201541f3",
- "name": "Nordantech",
- "trial": true,
- "expiration_time": "2023-06-03T23:59:59.000000Z",
- "remaining_days": 355,
- "remaining_time": "355 days",
- "model": "Hub"
}, - {
- "id": 2,
- "hash": "9f7c05fde1b7740a7dae3cc605ac360c796eb2c4",
- "name": "Falcon",
- "trial": true,
- "expiration_time": "2022-07-13T23:59:59.000000Z",
- "remaining_days": 30,
- "remaining_time": "30 days",
- "model": "Hub"
}, - {
- "id": 28,
- "hash": "55fce4da094a691fee919ef2549dd83db4f4a526",
- "name": "Nordantech",
- "trial": true,
- "expiration_time": "2022-10-05T23:59:59.000000Z",
- "remaining_days": 30,
- "remaining_time": "30 days",
- "model": "Hub"
}
]
}, - "hub": {
- "id": 28,
- "hash": "55fce4da094a691fee919ef2549dd83db4f4a526",
- "name": "Nordantech",
- "settings": {
- "program_level": true,
- "login_confirmation": false,
- "login_confirmation_channel": 1,
- "office_preview": true,
- "pdf_preview": true,
- "support": true,
- "password_age": 0,
- "session_limit": 3
}, - "trial": true,
- "expiration_time": "2022-10-05T23:59:59.000000Z",
- "remaining_days": 30,
- "remaining_time": "30 days",
- "model": "Hub"
}, - "role": 5,
- "features": {
- "accounting": false,
- "attachments": true,
- "audit": false,
- "effect_freeze": true,
- "effect_provenience": true,
- "impersonation": true,
- "network_filter": false,
- "password_age": 0,
- "report_preferences": true,
- "security_settings": false,
- "session_limit": 3,
- "subscriptions": true,
- "trash": 7
}, - "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpc3MiiJmOYWxjb24uYmFja2VuZCIsImp0aSI6IjIyYTMxYjNlZjIxMDU1YTAzZDUwZGVjZDE3OGY0MjFiZGRjMDA5ZGYiLCJuYmYiOjE2NjIzODUzMjUuMzc2NjQxLCJpYXQiOjE2NjIzOUDzMjUuMzc2NjU4LCJleHAiOjE2NjQ5NzczMjUuMzc2NDg2LCJ0dGwiOjQzMjAwLCJzdWIiOiIxMGM0MjM4ODc1TYczYmEyNjc1YmJhNWVlMzRhN2IyZjExNTY5MTRhIiwiaHN1IjoiNWFkOTYyMmJiYTk5ZDY4ZmI1ZTY3MjhiZjY1MTI0YWFhM2EzZTMxMSIsInNlcyI6MzI5CLJodWIiOjI4LCJtZmEiOjMsInNjcCI6IioifQ.QqqsN28D3HwGvZKbjbfUHE9gmQPrgw0ahV7AJH1IRLRXiTvomdOKDQLC2iHU4DtgAosRnVL1nMsxPrRugt-wiQ",
- "ttl": 43200,
- "session": {
- "id": 329,
- "hash": "bff9d36c66bab1a63811c2d49b5b3e91da93e8f3",
- "model": "UserSession"
}
}, - "timestamp": 1662385325391
}
Get all hubs of the authenticated user.
Successful operation
Not Found
{- "success": true,
- "hash": "88edf5a107033a8bc38a5020b9b377d44c3514e1",
- "data": [
- {
- "id": 1,
- "hash": "1daa7da5ba074972eb3d4552414928f5201541f3",
- "name": "Nordantech",
- "trial": true,
- "expiration_time": "2023-08-21T23:59:59.000000Z",
- "remaining_days": 350,
- "remaining_time": "350 days",
- "model": "Hub"
}, - {
- "id": 2,
- "hash": "9f7c05fde1b7740a7dae3cc605ac360c796eb2c4",
- "name": "Falcon",
- "trial": true,
- "expiration_time": "2022-07-13T23:59:59.000000Z",
- "remaining_days": 30,
- "remaining_time": "30 days",
- "model": "Hub"
}, - {
- "id": 28,
- "hash": "55fce4da094a691fee919ef2549dd83db4f4a526",
- "name": "Nordantech",
- "trial": true,
- "expiration_time": "2022-10-05T23:59:59.000000Z",
- "remaining_days": 30,
- "remaining_time": "30 days",
- "model": "Hub"
}
], - "meta": {
- "page": 1,
- "first": 1,
- "last": 3,
- "total": 3,
- "limit": 1000,
- "pages": 1
}, - "timestamp": 1662388450027
}
{- "success": true,
- "hash": "b0393b97aa5acd983ee5a7f47796bb6ffcd766a5",
- "data": {
- "id": 1,
- "hash": "05e5d67da218680f0c6c9fdd9337f34e87884f1d",
- "name": "Nordantech",
- "settings": {
- "program_level": true,
- "login_confirmation": false,
- "login_confirmation_channel": 1,
- "report_gradient_color_cover_start": null,
- "report_gradient_color_cover_end": null,
- "report_gradient_alpha_cover_start": null,
- "report_gradient_alpha_cover_end": null,
- "report_font_color": null,
- "report_font_color_heading": null,
- "report_font_color_cover": null,
- "report_font_color_title": null,
- "report_font_color_subtitle": null,
- "report_font_color_placeholder": null,
- "report_font_color_footer": null,
- "report_background_color": null,
- "report_background_color_heading": null,
- "report_border_color": null,
- "report_border_color_heading": null,
- "report_chart_series_color_plan": null,
- "report_chart_series_color_actual": null,
- "office_preview": true,
- "pdf_preview": true,
- "support": true,
- "password_age": 0,
- "session_limit": 3,
- "network_allowlist": null
}, - "trial": false,
- "expiration_time": "2023-08-21T23:59:59.000000Z",
- "remaining_days": 350,
- "remaining_time": "350 days",
- "model": "Hub",
- "image": null
}, - "timestamp": 1662389256356
}
Update the current hub.
A JSON object containing hub information.
Successful operation
Not Found
Unprocessable Content
{- "login_confirmation": true,
- "login_confirmation_channel": 3,
- "report_font_color": "FE2EF7",
- "network_allowlist": "127.0.0.1"
}
{- "success": true,
- "hash": "b2977ca770f59bd15dbca10569fa842a7871700a",
- "data": {
- "id": 1,
- "hash": "05e5d67da218680f0c6c9fdd9337f34e87884f1d",
- "name": "Nordantech",
- "settings": {
- "program_level": true,
- "login_confirmation": true,
- "login_confirmation_channel": 3,
- "report_gradient_color_cover_start": null,
- "report_gradient_color_cover_end": null,
- "report_gradient_alpha_cover_start": null,
- "report_gradient_alpha_cover_end": null,
- "report_font_color": "FE2EF7",
- "report_font_color_heading": null,
- "report_font_color_cover": null,
- "report_font_color_title": null,
- "report_font_color_subtitle": null,
- "report_font_color_placeholder": null,
- "report_font_color_footer": null,
- "report_background_color": null,
- "report_background_color_heading": null,
- "report_border_color": null,
- "report_border_color_heading": null,
- "report_chart_series_color_plan": null,
- "report_chart_series_color_actual": null,
- "office_preview": true,
- "pdf_preview": true,
- "support": true,
- "password_age": 0,
- "session_limit": 3,
- "network_allowlist": null
}, - "trial": false,
- "expiration_time": "2023-08-21T23:59:59.000000Z",
- "remaining_days": 350,
- "remaining_time": "350 days",
- "model": "Hub",
- "image": null
}, - "timestamp": 1662394536910
}
Upload an image.
A JSON object containing image information.
Successful operation
Unprocessable Content
{- "success": true,
- "hash": "d29c3265b895448a86391286eba69ac57d02c346",
- "data": {
- "id": 6,
- "hash": "9a85184d01f970d009a43485bae40fe471affd4f",
- "extension": "jpg",
- "mime": "image/jpeg",
- "size": 133912,
- "created_time": "2022-09-02T15:54:57.000000Z",
- "modified_time": "2022-09-02T15:54:57.000000Z",
- "modified_user_time": "2022-09-02T15:54:57.000000Z",
- "model": "Image",
- "created_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-25T09:02:43.000000Z",
- "modified_user_time": "2022-05-25T09:02:43.000000Z",
- "model": "User"
}, - "modified_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-25T09:02:43.000000Z",
- "modified_user_time": "2022-05-25T09:02:43.000000Z",
- "model": "User"
}
}, - "timestamp": 1662134097451
}
Get the stats for the authenticated hub.
Successful operation
Not Found
{- "success": true,
- "hash": "906ce128dea490ce983fe0dd4ac6179791c85fcb",
- "data": {
- "start_time": "2023-08-01T00:00:00.000000Z",
- "end_time": "2024-09-20T00:00:00.000000Z"
}, - "timestamp": 1694703987750
}
Export a hub for an export type.
A JSON object containing hub export information.
Successful operation
Not Found
Unprocessable Content
{- "file_type": 3
}
{- "success": true,
- "hash": "8739602554c7f3241958e3cc9b57fdecb474d508",
- "data": { },
- "timestamp": 1653656536595
}