DefaultApi
All URIs are relative to http://127.0.0.1:8000/api
| Method | HTTP request | Description |
|---|---|---|
| documentation | GET /.json | |
| userGet | GET /user |
documentation
string documentation()
Example
import {
DefaultApi,
Configuration
} from './api';
const configuration = new Configuration();
const apiInstance = new DefaultApi(configuration);
const { status, data } = await apiInstance.documentation();
Parameters
This endpoint does not have any parameters.
Return type
string
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|————-|————-|——————|
|200 | | * Cache-Control -
|
Back to top Back to API list Back to Model list Back to README
userGet
User userGet()
Example
import {
DefaultApi,
Configuration
} from './api';
const configuration = new Configuration();
const apiInstance = new DefaultApi(configuration);
const { status, data } = await apiInstance.userGet();
Parameters
This endpoint does not have any parameters.
Return type
User
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers | |————-|————-|——————| |200 | `User` | - | |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.