{- "success": true,
- "hash": "f7c6b689ca178876b63f4875583793cd10f63992",
- "data": [
- {
- "id": 297,
- "hash": "656653861b3fcf781bf9994e8ae85bd3d4346a2a",
- "name": "Inventory",
- "color": null,
- "created_time": "2022-07-22T09:59:26.000000Z",
- "modified_time": "2022-07-22T09:59:26.000000Z",
- "modified_user_time": "2022-07-22T09:59:26.000000Z",
- "measures_count": 2,
- "model": "Tag",
- "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-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.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-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}
}, - {
- "id": 298,
- "hash": "350bbd9e90261cba6d8db0e1732ab75892d92703",
- "name": "Germany",
- "color": "ff26f4",
- "created_time": "2022-07-22T14:54:27.000000Z",
- "modified_time": "2022-07-22T14:54:27.000000Z",
- "modified_user_time": "2022-07-22T14:54:27.000000Z",
- "measures_count": 10,
- "model": "Tag",
- "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-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.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-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}
}, - {
- "id": 312,
- "hash": "db7e54ea90e40de7f008e8aea039edf8c13b4d50",
- "name": "France",
- "color": "0019ff",
- "created_time": "2022-07-26T11:32:34.000000Z",
- "modified_time": "2022-08-03T16:25:03.000000Z",
- "modified_user_time": "2022-08-03T16:25:03.000000Z",
- "measures_count": 8,
- "model": "Tag",
- "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-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.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-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}
}
], - "meta": {
- "page": 1,
- "first": 1,
- "last": 3,
- "total": 3,
- "limit": 1000,
- "pages": 1
}, - "timestamp": 1659543909845
}
{- "success": true,
- "hash": "fb35225599e2db01ecf7b627d79de02f50012156",
- "data": {
- "id": 298,
- "hash": "350bbd9e90261cba6d8db0e1732ab75892d92703",
- "name": "Germany",
- "color": "ff26f4",
- "created_time": "2022-07-22T14:54:27.000000Z",
- "modified_time": "2022-08-03T16:25:03.000000Z",
- "modified_user_time": "2022-08-03T16:25:03.000000Z",
- "measures_count": 10,
- "model": "Tag",
- "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-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.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-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}
}, - "timestamp": 1657895194580
}
Update a tag.
Successful operation
Not Found
Unprocessable Content
{- "name": "Netherlands",
- "color": "FBAA00"
}
{- "success": true,
- "hash": "a53973c66ee4c2cda1ea068f7d42f66d2e266d24",
- "data": {
- "id": 312,
- "hash": "db7e54ea90e40de7f008e8aea039edf8c13b4d50",
- "name": "Netherlands",
- "color": "FBAA00",
- "created_time": "2022-07-26T11:32:34.000000Z",
- "modified_time": "2022-08-03T16:42:26.000000Z",
- "modified_user_time": "2022-08-03T16:42:26.000000Z",
- "model": "Tag",
- "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-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}
}, - "timestamp": 1659544946878
}
Merge multiple tags to a single tag.
If you want to merge the tags to an already existing tag, the tag name must be part of the tags array.
Successful operation
Unprocessable Content
{- "name": "Europe",
- "tags": [
- "France",
- "Netherlands"
]
}
{- "success": true,
- "hash": "ca9548868aee978fd82fede86f8f00c846b2c18b",
- "data": {
- "id": 355,
- "hash": "bdd786bdde0eb10a574ef504ccfd5a74419c223d",
- "name": "Europe",
- "color": null,
- "created_time": "2022-08-03T17:08:09.000000Z",
- "modified_time": "2022-08-03T17:08:09.000000Z",
- "modified_user_time": "2022-08-03T17:08:09.000000Z",
- "model": "Tag",
- "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-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.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-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}
}, - "timestamp": 1659546489200
}