github.com/antihax/goesi@v0.0.0-20240126031043-6c54d0cb7f95/esi/docs/FittingsApi.md (about)

     1  # \FittingsApi
     2  
     3  All URIs are relative to *https://esi.evetech.net*
     4  
     5  Method | HTTP request | Description
     6  ------------- | ------------- | -------------
     7  [**DeleteCharactersCharacterIdFittingsFittingId**](FittingsApi.md#DeleteCharactersCharacterIdFittingsFittingId) | **Delete** /v1/characters/{character_id}/fittings/{fitting_id}/ | Delete fitting
     8  [**GetCharactersCharacterIdFittings**](FittingsApi.md#GetCharactersCharacterIdFittings) | **Get** /v2/characters/{character_id}/fittings/ | Get fittings
     9  [**PostCharactersCharacterIdFittings**](FittingsApi.md#PostCharactersCharacterIdFittings) | **Post** /v2/characters/{character_id}/fittings/ | Create fitting
    10  
    11  
    12  # **DeleteCharactersCharacterIdFittingsFittingId**
    13  > DeleteCharactersCharacterIdFittingsFittingId(ctx, characterId, fittingId, optional)
    14  Delete fitting
    15  
    16  Delete a fitting from a character  --- 
    17  
    18  ### Required Parameters
    19  
    20  Name | Type | Description  | Notes
    21  ------------- | ------------- | ------------- | -------------
    22   **ctx** | **context.Context** | pass through context (authentication, logging, tracing)
    23    **characterId** | **int32**| An EVE character ID | 
    24    **fittingId** | **int32**| ID for a fitting of this character | 
    25   **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
    26  
    27  ### Optional Parameters
    28  Optional parameters are passed through a map[string]interface{}.
    29  
    30  Name | Type | Description  | Notes
    31  ------------- | ------------- | ------------- | -------------
    32   **characterId** | **int32**| An EVE character ID | 
    33   **fittingId** | **int32**| ID for a fitting of this character | 
    34   **datasource** | **string**| The server name you would like data from | [default to tranquility]
    35   **token** | **string**| Access token to use if unable to set a header | 
    36  
    37  ### Return type
    38  
    39   (empty response body)
    40  
    41  ### Authorization
    42  
    43  [evesso](../README.md#evesso)
    44  
    45  ### HTTP request headers
    46  
    47   - **Content-Type**: application/json
    48   - **Accept**: application/json
    49  
    50  [[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)
    51  
    52  # **GetCharactersCharacterIdFittings**
    53  > []GetCharactersCharacterIdFittings200Ok GetCharactersCharacterIdFittings(ctx, characterId, optional)
    54  Get fittings
    55  
    56  Return fittings of a character  ---  This route is cached for up to 300 seconds
    57  
    58  ### Required Parameters
    59  
    60  Name | Type | Description  | Notes
    61  ------------- | ------------- | ------------- | -------------
    62   **ctx** | **context.Context** | pass through context (authentication, logging, tracing)
    63    **characterId** | **int32**| An EVE character ID | 
    64   **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
    65  
    66  ### Optional Parameters
    67  Optional parameters are passed through a map[string]interface{}.
    68  
    69  Name | Type | Description  | Notes
    70  ------------- | ------------- | ------------- | -------------
    71   **characterId** | **int32**| An EVE character ID | 
    72   **datasource** | **string**| The server name you would like data from | [default to tranquility]
    73   **ifNoneMatch** | **string**| ETag from a previous request. A 304 will be returned if this matches the current ETag | 
    74   **token** | **string**| Access token to use if unable to set a header | 
    75  
    76  ### Return type
    77  
    78  [**[]GetCharactersCharacterIdFittings200Ok**](get_characters_character_id_fittings_200_ok.md)
    79  
    80  ### Authorization
    81  
    82  [evesso](../README.md#evesso)
    83  
    84  ### HTTP request headers
    85  
    86   - **Content-Type**: application/json
    87   - **Accept**: application/json
    88  
    89  [[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)
    90  
    91  # **PostCharactersCharacterIdFittings**
    92  > PostCharactersCharacterIdFittingsCreated PostCharactersCharacterIdFittings(ctx, characterId, fitting, optional)
    93  Create fitting
    94  
    95  Save a new fitting for a character  --- 
    96  
    97  ### Required Parameters
    98  
    99  Name | Type | Description  | Notes
   100  ------------- | ------------- | ------------- | -------------
   101   **ctx** | **context.Context** | pass through context (authentication, logging, tracing)
   102    **characterId** | **int32**| An EVE character ID | 
   103    **fitting** | [**PostCharactersCharacterIdFittingsFitting**](PostCharactersCharacterIdFittingsFitting.md)| Details about the new fitting | 
   104   **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
   105  
   106  ### Optional Parameters
   107  Optional parameters are passed through a map[string]interface{}.
   108  
   109  Name | Type | Description  | Notes
   110  ------------- | ------------- | ------------- | -------------
   111   **characterId** | **int32**| An EVE character ID | 
   112   **fitting** | [**PostCharactersCharacterIdFittingsFitting**](PostCharactersCharacterIdFittingsFitting.md)| Details about the new fitting | 
   113   **datasource** | **string**| The server name you would like data from | [default to tranquility]
   114   **token** | **string**| Access token to use if unable to set a header | 
   115  
   116  ### Return type
   117  
   118  [**PostCharactersCharacterIdFittingsCreated**](post_characters_character_id_fittings_created.md)
   119  
   120  ### Authorization
   121  
   122  [evesso](../README.md#evesso)
   123  
   124  ### HTTP request headers
   125  
   126   - **Content-Type**: application/json
   127   - **Accept**: application/json
   128  
   129  [[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)
   130