ExhibitionTranslationApi
All URIs are relative to http://localhost:8000/api
Method | HTTP request | Description |
---|---|---|
exhibitionTranslationDestroy | DELETE /exhibition-translation/{exhibitionTranslation} | Remove the specified exhibition translation |
exhibitionTranslationIndex | GET /exhibition-translation | Display a listing of exhibition translations |
exhibitionTranslationShow | GET /exhibition-translation/{exhibitionTranslation} | Display the specified exhibition translation |
exhibitionTranslationStore | POST /exhibition-translation | Store a newly created exhibition translation |
exhibitionTranslationUpdate | PUT /exhibition-translation/{exhibitionTranslation} | Update the specified exhibition translation |
exhibitionTranslationDestroy
number exhibitionTranslationDestroy()
Example
import {
ExhibitionTranslationApi,
Configuration
} from './api';
const configuration = new Configuration();
const apiInstance = new ExhibitionTranslationApi(configuration);
let exhibitionTranslation: string; //The exhibition translation ID (default to undefined)
const { status, data } = await apiInstance.exhibitionTranslationDestroy(
exhibitionTranslation
);
Parameters
Name | Type | Description | Notes |
---|---|---|---|
exhibitionTranslation | [string] | The exhibition translation ID | defaults to undefined |
Return type
number
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
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
exhibitionTranslationIndex
Array
exhibitionTranslationIndex()
Example
import {
ExhibitionTranslationApi,
Configuration
} from './api';
const configuration = new Configuration();
const apiInstance = new ExhibitionTranslationApi(configuration);
const { status, data } = await apiInstance.exhibitionTranslationIndex();
Parameters
This endpoint does not have any parameters.
Return type
**Array
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
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
exhibitionTranslationShow
ExhibitionTranslationStore200Response exhibitionTranslationShow()
Example
import {
ExhibitionTranslationApi,
Configuration
} from './api';
const configuration = new Configuration();
const apiInstance = new ExhibitionTranslationApi(configuration);
let exhibitionTranslation: string; //The exhibition translation ID (default to undefined)
const { status, data } = await apiInstance.exhibitionTranslationShow(
exhibitionTranslation
);
Parameters
Name | Type | Description | Notes |
---|---|---|---|
exhibitionTranslation | [string] | The exhibition translation ID | defaults to undefined |
Return type
ExhibitionTranslationStore200Response
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers | |————-|————-|——————| |200 | `ExhibitionTranslationResource` | - | |404 | Not found | - | |401 | Unauthenticated | - |
Back to top Back to API list Back to Model list Back to README
exhibitionTranslationStore
ExhibitionTranslationStore200Response exhibitionTranslationStore(exhibitionTranslationStoreRequest)
Example
import {
ExhibitionTranslationApi,
Configuration,
ExhibitionTranslationStoreRequest
} from './api';
const configuration = new Configuration();
const apiInstance = new ExhibitionTranslationApi(configuration);
let exhibitionTranslationStoreRequest: ExhibitionTranslationStoreRequest; //
const { status, data } = await apiInstance.exhibitionTranslationStore(
exhibitionTranslationStoreRequest
);
Parameters
Name | Type | Description | Notes |
---|---|---|---|
exhibitionTranslationStoreRequest | ExhibitionTranslationStoreRequest |
Return type
ExhibitionTranslationStore200Response
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
| Status code | Description | Response headers | |————-|————-|——————| |200 | `ExhibitionTranslationResource` | - | |422 | Validation error | - | |401 | Unauthenticated | - |
Back to top Back to API list Back to Model list Back to README
exhibitionTranslationUpdate
ExhibitionTranslationStore200Response exhibitionTranslationUpdate()
Example
import {
ExhibitionTranslationApi,
Configuration,
ExhibitionTranslationUpdateRequest
} from './api';
const configuration = new Configuration();
const apiInstance = new ExhibitionTranslationApi(configuration);
let exhibitionTranslation: string; //The exhibition translation ID (default to undefined)
let exhibitionTranslationUpdateRequest: ExhibitionTranslationUpdateRequest; // (optional)
const { status, data } = await apiInstance.exhibitionTranslationUpdate(
exhibitionTranslation,
exhibitionTranslationUpdateRequest
);
Parameters
Name | Type | Description | Notes |
---|---|---|---|
exhibitionTranslationUpdateRequest | ExhibitionTranslationUpdateRequest | ||
exhibitionTranslation | [string] | The exhibition translation ID | defaults to undefined |
Return type
ExhibitionTranslationStore200Response
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
| Status code | Description | Response headers | |————-|————-|——————| |200 | `ExhibitionTranslationResource` | - | |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.