LocationTranslationApi

All URIs are relative to http://127.0.0.1:8000/api

Method HTTP request Description
locationTranslationDestroy DELETE /location-translation/{locationTranslation} Remove the specified resource from storage
locationTranslationIndex GET /location-translation Display a listing of the resource
locationTranslationShow GET /location-translation/{locationTranslation} Display the specified resource
locationTranslationStore POST /location-translation Store a newly created resource in storage
locationTranslationUpdate PATCH /location-translation/{locationTranslation} Update the specified resource in storage
locationTranslationUpdate2 PUT /location-translation/{locationTranslation} Update the specified resource in storage

locationTranslationDestroy

locationTranslationDestroy()

Example

import {
    LocationTranslationApi,
    Configuration
} from './api';

const configuration = new Configuration();
const apiInstance = new LocationTranslationApi(configuration);

let locationTranslation: string; //The location translation ID (default to undefined)

const { status, data } = await apiInstance.locationTranslationDestroy(
    locationTranslation
);

Parameters

Name Type Description Notes
locationTranslation [string] The location translation ID defaults to undefined

Return type

void (empty response body)

Authorization

http

HTTP request headers

HTTP response details

| Status code | Description | Response headers | |————-|————-|——————| |204 | No content | - | |404 | Not found | - | |401 | Unauthenticated | - |

Back to top Back to API list Back to Model list Back to README

locationTranslationIndex

LocationTranslationIndex200Response locationTranslationIndex()

Example

import {
    LocationTranslationApi,
    Configuration
} from './api';

const configuration = new Configuration();
const apiInstance = new LocationTranslationApi(configuration);

const { status, data } = await apiInstance.locationTranslationIndex();

Parameters

This endpoint does not have any parameters.

Return type

LocationTranslationIndex200Response

Authorization

http

HTTP request headers

HTTP response details

| Status code | Description | Response headers | |————-|————-|——————| |200 | Array of `LocationTranslationResource` | - | |401 | Unauthenticated | - |

Back to top Back to API list Back to Model list Back to README

locationTranslationShow

LocationTranslationShow200Response locationTranslationShow()

Example

import {
    LocationTranslationApi,
    Configuration
} from './api';

const configuration = new Configuration();
const apiInstance = new LocationTranslationApi(configuration);

let locationTranslation: string; //The location translation ID (default to undefined)

const { status, data } = await apiInstance.locationTranslationShow(
    locationTranslation
);

Parameters

Name Type Description Notes
locationTranslation [string] The location translation ID defaults to undefined

Return type

LocationTranslationShow200Response

Authorization

http

HTTP request headers

HTTP response details

| Status code | Description | Response headers | |————-|————-|——————| |200 | `LocationTranslationResource` | - | |404 | Not found | - | |401 | Unauthenticated | - |

Back to top Back to API list Back to Model list Back to README

locationTranslationStore

LocationTranslationShow200Response locationTranslationStore(storeLocationTranslationRequest)

Example

import {
    LocationTranslationApi,
    Configuration,
    StoreLocationTranslationRequest
} from './api';

const configuration = new Configuration();
const apiInstance = new LocationTranslationApi(configuration);

let storeLocationTranslationRequest: StoreLocationTranslationRequest; //

const { status, data } = await apiInstance.locationTranslationStore(
    storeLocationTranslationRequest
);

Parameters

Name Type Description Notes
storeLocationTranslationRequest StoreLocationTranslationRequest    

Return type

LocationTranslationShow200Response

Authorization

http

HTTP request headers

HTTP response details

| Status code | Description | Response headers | |————-|————-|——————| |200 | `LocationTranslationResource` | - | |401 | Unauthenticated | - | |422 | Validation error | - | |403 | Authorization error | - |

Back to top Back to API list Back to Model list Back to README

locationTranslationUpdate

LocationTranslationShow200Response locationTranslationUpdate()

Example

import {
    LocationTranslationApi,
    Configuration,
    UpdateLocationTranslationRequest
} from './api';

const configuration = new Configuration();
const apiInstance = new LocationTranslationApi(configuration);

let locationTranslation: string; //The location translation ID (default to undefined)
let updateLocationTranslationRequest: UpdateLocationTranslationRequest; // (optional)

const { status, data } = await apiInstance.locationTranslationUpdate(
    locationTranslation,
    updateLocationTranslationRequest
);

Parameters

Name Type Description Notes
updateLocationTranslationRequest UpdateLocationTranslationRequest    
locationTranslation [string] The location translation ID defaults to undefined

Return type

LocationTranslationShow200Response

Authorization

http

HTTP request headers

HTTP response details

| Status code | Description | Response headers | |————-|————-|——————| |200 | `LocationTranslationResource` | - | |404 | Not found | - | |401 | Unauthenticated | - | |422 | Validation error | - | |403 | Authorization error | - |

Back to top Back to API list Back to Model list Back to README

locationTranslationUpdate2

LocationTranslationShow200Response locationTranslationUpdate2()

Example

import {
    LocationTranslationApi,
    Configuration,
    UpdateLocationTranslationRequest
} from './api';

const configuration = new Configuration();
const apiInstance = new LocationTranslationApi(configuration);

let locationTranslation: string; //The location translation ID (default to undefined)
let updateLocationTranslationRequest: UpdateLocationTranslationRequest; // (optional)

const { status, data } = await apiInstance.locationTranslationUpdate2(
    locationTranslation,
    updateLocationTranslationRequest
);

Parameters

Name Type Description Notes
updateLocationTranslationRequest UpdateLocationTranslationRequest    
locationTranslation [string] The location translation ID defaults to undefined

Return type

LocationTranslationShow200Response

Authorization

http

HTTP request headers

HTTP response details

| Status code | Description | Response headers | |————-|————-|——————| |200 | `LocationTranslationResource` | - | |404 | Not found | - | |401 | Unauthenticated | - | |422 | Validation error | - | |403 | Authorization error | - |

Back to top Back to API list Back to Model list Back to README


This documentation was automatically generated from the TypeScript API client.