ExhibitionApi
All URIs are relative to http://localhost:8000/api
Method | HTTP request | Description |
---|---|---|
exhibitionDestroy | DELETE /exhibition/{exhibition} | Remove the specified exhibition from storage |
exhibitionIndex | GET /exhibition | Display a listing of the exhibitions |
exhibitionShow | GET /exhibition/{exhibition} | Display the specified exhibition |
exhibitionStore | POST /exhibition | Store a newly created exhibition in storage |
exhibitionUpdate | PUT /exhibition/{exhibition} | Update the specified exhibition in storage |
exhibitionDestroy
exhibitionDestroy()
Example
import {
ExhibitionApi,
Configuration
} from './api';
const configuration = new Configuration();
const apiInstance = new ExhibitionApi(configuration);
let exhibition: string; //The exhibition ID (default to undefined)
const { status, data } = await apiInstance.exhibitionDestroy(
exhibition
);
Parameters
Name | Type | Description | Notes |
---|---|---|---|
exhibition | [string] | The exhibition 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
exhibitionIndex
ExhibitionIndex200Response exhibitionIndex()
Example
import {
ExhibitionApi,
Configuration
} from './api';
const configuration = new Configuration();
const apiInstance = new ExhibitionApi(configuration);
const { status, data } = await apiInstance.exhibitionIndex();
Parameters
This endpoint does not have any parameters.
Return type
ExhibitionIndex200Response
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers | |————-|————-|——————| |200 | Paginated set of `ExhibitionResource` | - | |401 | Unauthenticated | - |
Back to top Back to API list Back to Model list Back to README
exhibitionShow
ExhibitionStore200Response exhibitionShow()
Example
import {
ExhibitionApi,
Configuration
} from './api';
const configuration = new Configuration();
const apiInstance = new ExhibitionApi(configuration);
let exhibition: string; //The exhibition ID (default to undefined)
const { status, data } = await apiInstance.exhibitionShow(
exhibition
);
Parameters
Name | Type | Description | Notes |
---|---|---|---|
exhibition | [string] | The exhibition ID | defaults to undefined |
Return type
ExhibitionStore200Response
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers | |————-|————-|——————| |200 | `ExhibitionResource` | - | |404 | Not found | - | |401 | Unauthenticated | - |
Back to top Back to API list Back to Model list Back to README
exhibitionStore
ExhibitionStore200Response exhibitionStore(exhibitionStoreRequest)
Example
import {
ExhibitionApi,
Configuration,
ExhibitionStoreRequest
} from './api';
const configuration = new Configuration();
const apiInstance = new ExhibitionApi(configuration);
let exhibitionStoreRequest: ExhibitionStoreRequest; //
const { status, data } = await apiInstance.exhibitionStore(
exhibitionStoreRequest
);
Parameters
Name | Type | Description | Notes |
---|---|---|---|
exhibitionStoreRequest | ExhibitionStoreRequest |
Return type
ExhibitionStore200Response
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
| Status code | Description | Response headers | |————-|————-|——————| |200 | `ExhibitionResource` | - | |422 | Validation error | - | |401 | Unauthenticated | - |
Back to top Back to API list Back to Model list Back to README
exhibitionUpdate
ExhibitionStore200Response exhibitionUpdate()
Example
import {
ExhibitionApi,
Configuration,
ExhibitionUpdateRequest
} from './api';
const configuration = new Configuration();
const apiInstance = new ExhibitionApi(configuration);
let exhibition: string; //The exhibition ID (default to undefined)
let exhibitionUpdateRequest: ExhibitionUpdateRequest; // (optional)
const { status, data } = await apiInstance.exhibitionUpdate(
exhibition,
exhibitionUpdateRequest
);
Parameters
Name | Type | Description | Notes |
---|---|---|---|
exhibitionUpdateRequest | ExhibitionUpdateRequest | ||
exhibition | [string] | The exhibition ID | defaults to undefined |
Return type
ExhibitionStore200Response
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
| Status code | Description | Response headers | |————-|————-|——————| |200 | `ExhibitionResource` | - | |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.