ThemeTranslationsApi

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

Method HTTP request Description
themeTranslationDestroy DELETE /theme-translation/{themeTranslation} Remove the specified theme translation
themeTranslationIndex GET /theme-translation Display a listing of theme translations
themeTranslationShow GET /theme-translation/{themeTranslation} Display the specified theme translation
themeTranslationStore POST /theme-translation Store a newly created theme translation
themeTranslationUpdate PUT /theme-translation/{themeTranslation} Update the specified theme translation

themeTranslationDestroy

number themeTranslationDestroy()

Example

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

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

let themeTranslation: string; //The theme translation ID (default to undefined)

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

Parameters

Name Type Description Notes
themeTranslation [string] The theme 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

themeTranslationIndex

Array themeTranslationIndex()

Example

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

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

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

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

themeTranslationShow

ThemeTranslationStore200Response themeTranslationShow()

Example

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

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

let themeTranslation: string; //The theme translation ID (default to undefined)

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

Parameters

Name Type Description Notes
themeTranslation [string] The theme translation ID defaults to undefined

Return type

ThemeTranslationStore200Response

Authorization

http

HTTP request headers

HTTP response details

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

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

themeTranslationStore

ThemeTranslationStore200Response themeTranslationStore(themeTranslationStoreRequest)

Example

import {
    ThemeTranslationsApi,
    Configuration,
    ThemeTranslationStoreRequest
} from './api';

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

let themeTranslationStoreRequest: ThemeTranslationStoreRequest; //

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

Parameters

Name Type Description Notes
themeTranslationStoreRequest ThemeTranslationStoreRequest    

Return type

ThemeTranslationStore200Response

Authorization

http

HTTP request headers

HTTP response details

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

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

themeTranslationUpdate

ThemeTranslationStore200Response themeTranslationUpdate()

Example

import {
    ThemeTranslationsApi,
    Configuration,
    ThemeTranslationUpdateRequest
} from './api';

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

let themeTranslation: string; //The theme translation ID (default to undefined)
let themeTranslationUpdateRequest: ThemeTranslationUpdateRequest; // (optional)

const { status, data } = await apiInstance.themeTranslationUpdate(
    themeTranslation,
    themeTranslationUpdateRequest
);

Parameters

Name Type Description Notes
themeTranslationUpdateRequest ThemeTranslationUpdateRequest    
themeTranslation [string] The theme translation ID defaults to undefined

Return type

ThemeTranslationStore200Response

Authorization

http

HTTP request headers

HTTP response details

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