GlossaryTranslationApi
All URIs are relative to http://127.0.0.1:8000/api
Method | HTTP request | Description |
---|---|---|
glossaryTranslationDestroy | DELETE /glossary-translation/{glossaryTranslation} | Remove the specified resource from storage |
glossaryTranslationIndex | GET /glossary-translation | Display a listing of the resource |
glossaryTranslationShow | GET /glossary-translation/{glossaryTranslation} | Display the specified resource |
glossaryTranslationStore | POST /glossary-translation | Store a newly created resource in storage |
glossaryTranslationUpdate | PATCH /glossary-translation/{glossaryTranslation} | Update the specified resource in storage |
glossaryTranslationUpdate2 | PUT /glossary-translation/{glossaryTranslation} | Update the specified resource in storage |
glossaryTranslationDestroy
glossaryTranslationDestroy()
Example
import {
GlossaryTranslationApi,
Configuration
} from './api';
const configuration = new Configuration();
const apiInstance = new GlossaryTranslationApi(configuration);
let glossaryTranslation: string; //The glossary translation ID (default to undefined)
const { status, data } = await apiInstance.glossaryTranslationDestroy(
glossaryTranslation
);
Parameters
Name | Type | Description | Notes |
---|---|---|---|
glossaryTranslation | [string] | The glossary translation ID | defaults to undefined |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
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
glossaryTranslationIndex
GlossaryTranslationIndex200Response glossaryTranslationIndex()
Example
import {
GlossaryTranslationApi,
Configuration
} from './api';
const configuration = new Configuration();
const apiInstance = new GlossaryTranslationApi(configuration);
let page: number; // (optional) (default to undefined)
let perPage: number; // (optional) (default to undefined)
let include: string; // (optional) (default to undefined)
const { status, data } = await apiInstance.glossaryTranslationIndex(
page,
perPage,
include
);
Parameters
Name | Type | Description | Notes |
---|---|---|---|
page | [number] | (optional) defaults to undefined | |
perPage | [number] | (optional) defaults to undefined | |
include | [string] | (optional) defaults to undefined |
Return type
GlossaryTranslationIndex200Response
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers | |————-|————-|——————| |200 | Paginated set of `GlossaryTranslationResource` | - | |401 | Unauthenticated | - | |422 | Validation error | - | |403 | Authorization error | - |
Back to top Back to API list Back to Model list Back to README
glossaryTranslationShow
GlossaryTranslationShow200Response glossaryTranslationShow()
Example
import {
GlossaryTranslationApi,
Configuration
} from './api';
const configuration = new Configuration();
const apiInstance = new GlossaryTranslationApi(configuration);
let glossaryTranslation: string; //The glossary translation ID (default to undefined)
let include: string; // (optional) (default to undefined)
const { status, data } = await apiInstance.glossaryTranslationShow(
glossaryTranslation,
include
);
Parameters
Name | Type | Description | Notes |
---|---|---|---|
glossaryTranslation | [string] | The glossary translation ID | defaults to undefined |
include | [string] | (optional) defaults to undefined |
Return type
GlossaryTranslationShow200Response
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers | |————-|————-|——————| |200 | `GlossaryTranslationResource` | - | |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
glossaryTranslationStore
GlossaryTranslationShow200Response glossaryTranslationStore(storeGlossaryTranslationRequest)
Example
import {
GlossaryTranslationApi,
Configuration,
StoreGlossaryTranslationRequest
} from './api';
const configuration = new Configuration();
const apiInstance = new GlossaryTranslationApi(configuration);
let storeGlossaryTranslationRequest: StoreGlossaryTranslationRequest; //
const { status, data } = await apiInstance.glossaryTranslationStore(
storeGlossaryTranslationRequest
);
Parameters
Name | Type | Description | Notes |
---|---|---|---|
storeGlossaryTranslationRequest | StoreGlossaryTranslationRequest |
Return type
GlossaryTranslationShow200Response
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
| Status code | Description | Response headers | |————-|————-|——————| |200 | `GlossaryTranslationResource` | - | |401 | Unauthenticated | - | |422 | Validation error | - | |403 | Authorization error | - |
Back to top Back to API list Back to Model list Back to README
glossaryTranslationUpdate
GlossaryTranslationShow200Response glossaryTranslationUpdate()
Example
import {
GlossaryTranslationApi,
Configuration,
UpdateGlossaryTranslationRequest
} from './api';
const configuration = new Configuration();
const apiInstance = new GlossaryTranslationApi(configuration);
let glossaryTranslation: string; //The glossary translation ID (default to undefined)
let updateGlossaryTranslationRequest: UpdateGlossaryTranslationRequest; // (optional)
const { status, data } = await apiInstance.glossaryTranslationUpdate(
glossaryTranslation,
updateGlossaryTranslationRequest
);
Parameters
Name | Type | Description | Notes |
---|---|---|---|
updateGlossaryTranslationRequest | UpdateGlossaryTranslationRequest | ||
glossaryTranslation | [string] | The glossary translation ID | defaults to undefined |
Return type
GlossaryTranslationShow200Response
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
| Status code | Description | Response headers | |————-|————-|——————| |200 | `GlossaryTranslationResource` | - | |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
glossaryTranslationUpdate2
GlossaryTranslationShow200Response glossaryTranslationUpdate2()
Example
import {
GlossaryTranslationApi,
Configuration,
UpdateGlossaryTranslationRequest
} from './api';
const configuration = new Configuration();
const apiInstance = new GlossaryTranslationApi(configuration);
let glossaryTranslation: string; //The glossary translation ID (default to undefined)
let updateGlossaryTranslationRequest: UpdateGlossaryTranslationRequest; // (optional)
const { status, data } = await apiInstance.glossaryTranslationUpdate2(
glossaryTranslation,
updateGlossaryTranslationRequest
);
Parameters
Name | Type | Description | Notes |
---|---|---|---|
updateGlossaryTranslationRequest | UpdateGlossaryTranslationRequest | ||
glossaryTranslation | [string] | The glossary translation ID | defaults to undefined |
Return type
GlossaryTranslationShow200Response
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
| Status code | Description | Response headers | |————-|————-|——————| |200 | `GlossaryTranslationResource` | - | |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.