DetailTranslationsApi

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

Method HTTP request Description
detailTranslationDestroy DELETE /detail-translation/{detailTranslation} Remove the specified detail translation
detailTranslationIndex GET /detail-translation Display a listing of detail translations
detailTranslationShow GET /detail-translation/{detailTranslation} Display the specified detail translation
detailTranslationStore POST /detail-translation Store a newly created detail translation
detailTranslationUpdate PUT /detail-translation/{detailTranslation} Update the specified detail translation

detailTranslationDestroy

number detailTranslationDestroy()

Example

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

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

let detailTranslation: string; //The detail translation ID (default to undefined)

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

Parameters

Name Type Description Notes
detailTranslation [string] The detail translation ID defaults to undefined

Return type

number

Authorization

http

HTTP request headers

HTTP response details

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

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

detailTranslationIndex

Array detailTranslationIndex()

Example

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

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

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

Parameters

This endpoint does not have any parameters.

Return type

**Array**

Authorization

http

HTTP request headers

HTTP response details

| Status code | Description | Response headers | |————-|————-|——————| |200 | | - | |401 | Unauthenticated | - |

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

detailTranslationShow

DetailTranslationShow200Response detailTranslationShow()

Example

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

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

let detailTranslation: string; //The detail translation ID (default to undefined)

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

Parameters

Name Type Description Notes
detailTranslation [string] The detail translation ID defaults to undefined

Return type

DetailTranslationShow200Response

Authorization

http

HTTP request headers

HTTP response details

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

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

detailTranslationStore

number detailTranslationStore(detailTranslationStoreRequest)

Example

import {
    DetailTranslationsApi,
    Configuration,
    DetailTranslationStoreRequest
} from './api';

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

let detailTranslationStoreRequest: DetailTranslationStoreRequest; //

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

Parameters

Name Type Description Notes
detailTranslationStoreRequest DetailTranslationStoreRequest    

Return type

number

Authorization

http

HTTP request headers

HTTP response details

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

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

detailTranslationUpdate

DetailTranslationShow200Response detailTranslationUpdate()

Example

import {
    DetailTranslationsApi,
    Configuration,
    DetailTranslationUpdateRequest
} from './api';

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

let detailTranslation: string; //The detail translation ID (default to undefined)
let detailTranslationUpdateRequest: DetailTranslationUpdateRequest; // (optional)

const { status, data } = await apiInstance.detailTranslationUpdate(
    detailTranslation,
    detailTranslationUpdateRequest
);

Parameters

Name Type Description Notes
detailTranslationUpdateRequest DetailTranslationUpdateRequest    
detailTranslation [string] The detail translation ID defaults to undefined

Return type

DetailTranslationShow200Response

Authorization

http

HTTP request headers

HTTP response details

| Status code | Description | Response headers | |————-|————-|——————| |200 | `DetailTranslationResource` | - | |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.