kimai_client_lib 1.0.0

JSON API for the Kimai time-tracking software. Read our [API documentation](https://www.kimai.org/documentation/rest-api.html) and download the [Open API definition](doc.json) to import into your API client.
Documentation
# \TagApi

All URIs are relative to *http://localhost*

Method | HTTP request | Description
------------- | ------------- | -------------
[**delete_delete_tag**]TagApi.md#delete_delete_tag | **DELETE** /api/tags/{id} | Delete a tag
[**get_get_tags**]TagApi.md#get_get_tags | **GET** /api/tags | Deprecated: Fetch tags by filter as string collection
[**get_get_tags_full**]TagApi.md#get_get_tags_full | **GET** /api/tags/find | Fetch tags by filter (as full entities)
[**post_post_tag**]TagApi.md#post_post_tag | **POST** /api/tags | Creates a new tag



## delete_delete_tag

> delete_delete_tag(id)
Delete a tag

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **String** | Tag ID to delete | [required] |

### Return type

 (empty response body)

### Authorization

[bearer](../README.md#bearer)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: Not defined

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_get_tags

> Vec<String> get_get_tags(name)
Deprecated: Fetch tags by filter as string collection

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**name** | Option<**String**> | Search term to filter tag list |  |

### Return type

**Vec<String>**

### Authorization

[bearer](../README.md#bearer)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_get_tags_full

> Vec<models::TagEntity> get_get_tags_full(name)
Fetch tags by filter (as full entities)

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**name** | Option<**String**> | Search term to filter tag list |  |

### Return type

[**Vec<models::TagEntity>**](TagEntity.md)

### Authorization

[bearer](../README.md#bearer)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## post_post_tag

> models::TagEntity post_post_tag(tag_edit_form)
Creates a new tag

Creates a new tag and returns it afterwards

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**tag_edit_form** | [**TagEditForm**]TagEditForm.md |  | [required] |

### Return type

[**models::TagEntity**](TagEntity.md)

### Authorization

[bearer](../README.md#bearer)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)