# \PatchNotesApi
All URIs are relative to *https://graph.azisaba.net*
[**create_patch_note**](PatchNotesApi.md#create_patch_note) | **POST** /patch-notes | Create patch note
[**delete_patch_note_by_id**](PatchNotesApi.md#delete_patch_note_by_id) | **DELETE** /patch-notes/{patchNoteId} | Delete patch note
[**get_patch_note_by_id**](PatchNotesApi.md#get_patch_note_by_id) | **GET** /patch-notes/{patchNoteId} | Get patch note
[**list_patch_notes**](PatchNotesApi.md#list_patch_notes) | **GET** /patch-notes | List patch notes
## create_patch_note
> models::PatchNote create_patch_note(target, category, title, body, author_id, images)
Create patch note
Creates a new patch note.
### Parameters
**target** | **String** | The target of the patch note. | [required] |
**category** | **String** | The category of the patch note. | [required] |
**title** | **String** | The title of the patch note. | [required] |
**body** | **String** | The body text of the patch note. | [required] |
**author_id** | Option<**uuid::Uuid**> | The unique identifier of the player. | |
**images** | Option<[**Vec<std::path::PathBuf>**](Std__path__PathBuf.md)> | JPEG, PNG, GIF, or WebP image files to attach to the patch note. | |
### Return type
[**models::PatchNote**](PatchNote.md)
### Authorization
[apiKeyAuth](../README.md#apiKeyAuth)
### HTTP request headers
- **Content-Type**: multipart/form-data
- **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)
## delete_patch_note_by_id
> delete_patch_note_by_id(patch_note_id)
Delete patch note
Deletes the patch note with the specified ID.
### Parameters
**patch_note_id** | **uuid::Uuid** | The unique identifier of the patch note. | [required] |
### Return type
(empty response body)
### Authorization
[apiKeyAuth](../README.md#apiKeyAuth)
### 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_patch_note_by_id
> models::PatchNote get_patch_note_by_id(patch_note_id)
Get patch note
Returns the patch note with the specified ID.
### Parameters
**patch_note_id** | **uuid::Uuid** | The unique identifier of the patch note. | [required] |
### Return type
[**models::PatchNote**](PatchNote.md)
### Authorization
[apiKeyAuth](../README.md#apiKeyAuth)
### 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)
## list_patch_notes
> models::ListPatchNotes200Response list_patch_notes(limit, cursor, target, category)
List patch notes
Returns a list of patch notes.
### Parameters
**limit** | Option<**u8**> | The maximum number of patch notes to return. | |[default to 20]
**cursor** | Option<**String**> | The cursor returned by the previous request. | |
**target** | Option<**String**> | The target used to filter patch notes. | |
**category** | Option<**String**> | The category used to filter patch notes. | |
### Return type
[**models::ListPatchNotes200Response**](listPatchNotes_200_response.md)
### Authorization
[apiKeyAuth](../README.md#apiKeyAuth)
### 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)