ThemeTranslationApi

All URIs are relative to http://127.0.0.1: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 PATCH /theme-translation/{themeTranslation} Update the specified theme translation
themeTranslationUpdate2 PUT /theme-translation/{themeTranslation} Update the specified theme translation

themeTranslationDestroy

number themeTranslationDestroy()

Example

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

const configuration = new Configuration();
const apiInstance = new ThemeTranslationApi(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 {
    ThemeTranslationApi,
    Configuration
} from './api';

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

let themeId: string; // (optional) (default to undefined)
let languageId: string; // (optional) (default to undefined)
let contextId: string; // (optional) (default to undefined)
let defaultContext: boolean; // (optional) (default to undefined)

const { status, data } = await apiInstance.themeTranslationIndex(
    themeId,
    languageId,
    contextId,
    defaultContext
);

Parameters

Name Type Description Notes
themeId [string]   (optional) defaults to undefined
languageId [string]   (optional) defaults to undefined
contextId [string]   (optional) defaults to undefined
defaultContext [boolean]   (optional) defaults to undefined

Return type

**Array**

Authorization

http

HTTP request headers

HTTP response details

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

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

themeTranslationShow

ThemeTranslationShow200Response themeTranslationShow()

Example

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

const configuration = new Configuration();
const apiInstance = new ThemeTranslationApi(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

ThemeTranslationShow200Response

Authorization

http

HTTP request headers

HTTP response details

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

themeTranslationStore

ThemeTranslationShow200Response themeTranslationStore(storeThemeTranslationRequest)

Example

import {
    ThemeTranslationApi,
    Configuration,
    StoreThemeTranslationRequest
} from './api';

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

let storeThemeTranslationRequest: StoreThemeTranslationRequest; //

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

Parameters

Name Type Description Notes
storeThemeTranslationRequest StoreThemeTranslationRequest    

Return type

ThemeTranslationShow200Response

Authorization

http

HTTP request headers

HTTP response details

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

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

themeTranslationUpdate

ThemeTranslationShow200Response themeTranslationUpdate()

Example

import {
    ThemeTranslationApi,
    Configuration,
    UpdateThemeTranslationRequest
} from './api';

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

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

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

Parameters

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

Return type

ThemeTranslationShow200Response

Authorization

http

HTTP request headers

HTTP response details

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

themeTranslationUpdate2

ThemeTranslationShow200Response themeTranslationUpdate2()

Example

import {
    ThemeTranslationApi,
    Configuration,
    UpdateThemeTranslationRequest
} from './api';

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

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

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

Parameters

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

Return type

ThemeTranslationShow200Response

Authorization

http

HTTP request headers

HTTP response details

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