LocationTranslationApi

All URIs are relative to http://localhost: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 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

LocationTranslationStore200Response 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

LocationTranslationStore200Response

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

LocationTranslationStore200Response locationTranslationStore(locationTranslationStoreRequest)

Example

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

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

let locationTranslationStoreRequest: LocationTranslationStoreRequest; //

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

Parameters

Name Type Description Notes
locationTranslationStoreRequest LocationTranslationStoreRequest    

Return type

LocationTranslationStore200Response

Authorization

http

HTTP request headers

HTTP response details

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

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

locationTranslationUpdate

LocationTranslationStore200Response locationTranslationUpdate()

Example

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

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

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

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

Parameters

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

Return type

LocationTranslationStore200Response

Authorization

http

HTTP request headers

HTTP response details

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

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


This documentation was automatically generated from the TypeScript API client.