import 'package:openapi/api.dart';
All URIs are relative to https://pulseox-prod.herokuapp.com
Method | HTTP request | Description |
---|---|---|
batchSignedUploadReq | POST /signed-upload | Allows batch creation of signed upload URLs when many files need to be uploaded |
getSession | GET /session | Your GET endpoint |
getSessionDiagnoses | GET /session/diagnoses | Your GET endpoint |
getSessionDiagnosesUserid | GET /session/diagnoses/{diagid} | Your GET endpoint |
getSignedUploadReq | GET /signed-upload | Retrieves a signed upload request |
getUsers | GET /users | |
getUsersUserid | GET /users/{userid} | Your GET endpoint |
getUsersUseridDiagnoses | GET /users/{userid}/diagnoses | Your GET endpoint |
postLogin | POST /login | |
postRegister | POST /register | |
postUsers | POST /users | |
putSession | PUT /session | |
putSessionDiagnosesUserid | PUT /session/diagnoses/{diagid} | |
putUsersUserid | PUT /users/{userid} |
batchSignedUploadReq(inlineObject)
Allows batch creation of signed upload URLs when many files need to be uploaded
import 'package:openapi/api.dart';
var api_instance = DefaultApi();
var inlineObject = InlineObject(); // InlineObject |
try {
api_instance.batchSignedUploadReq(inlineObject);
} catch (e) {
print("Exception when calling DefaultApi->batchSignedUploadReq: $e\n");
}
Name | Type | Description | Notes |
---|---|---|---|
inlineObject | InlineObject |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getSession()
Your GET endpoint
import 'package:openapi/api.dart';
var api_instance = DefaultApi();
try {
api_instance.getSession();
} catch (e) {
print("Exception when calling DefaultApi->getSession: $e\n");
}
This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getSessionDiagnoses()
Your GET endpoint
import 'package:openapi/api.dart';
var api_instance = DefaultApi();
try {
api_instance.getSessionDiagnoses();
} catch (e) {
print("Exception when calling DefaultApi->getSessionDiagnoses: $e\n");
}
This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List getSessionDiagnosesUserid(diagid)
Your GET endpoint
import 'package:openapi/api.dart';
var api_instance = DefaultApi();
var diagid = diagid_example; // String |
try {
var result = api_instance.getSessionDiagnosesUserid(diagid);
print(result);
} catch (e) {
print("Exception when calling DefaultApi->getSessionDiagnosesUserid: $e\n");
}
Name | Type | Description | Notes |
---|---|---|---|
diagid | String | [default to null] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getSignedUploadReq(filename, filetype)
Retrieves a signed upload request
import 'package:openapi/api.dart';
var api_instance = DefaultApi();
var filename = filename_example; // String | The name of the file you want to upload
var filetype = filetype_example; // String | The type of file you want to upload
try {
api_instance.getSignedUploadReq(filename, filetype);
} catch (e) {
print("Exception when calling DefaultApi->getSignedUploadReq: $e\n");
}
Name | Type | Description | Notes |
---|---|---|---|
filename | String | The name of the file you want to upload | [default to null] |
filetype | String | The type of file you want to upload | [default to null] |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List getUsers()
import 'package:openapi/api.dart';
var api_instance = DefaultApi();
try {
var result = api_instance.getUsers();
print(result);
} catch (e) {
print("Exception when calling DefaultApi->getUsers: $e\n");
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
User getUsersUserid(userid)
Your GET endpoint
import 'package:openapi/api.dart';
var api_instance = DefaultApi();
var userid = userid_example; // String |
try {
var result = api_instance.getUsersUserid(userid);
print(result);
} catch (e) {
print("Exception when calling DefaultApi->getUsersUserid: $e\n");
}
Name | Type | Description | Notes |
---|---|---|---|
userid | String | [default to null] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List getUsersUseridDiagnoses(userid)
Your GET endpoint
import 'package:openapi/api.dart';
var api_instance = DefaultApi();
var userid = userid_example; // String |
try {
var result = api_instance.getUsersUseridDiagnoses(userid);
print(result);
} catch (e) {
print("Exception when calling DefaultApi->getUsersUseridDiagnoses: $e\n");
}
Name | Type | Description | Notes |
---|---|---|---|
userid | String | [default to null] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
postLogin()
import 'package:openapi/api.dart';
var api_instance = DefaultApi();
try {
api_instance.postLogin();
} catch (e) {
print("Exception when calling DefaultApi->postLogin: $e\n");
}
This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
postRegister()
import 'package:openapi/api.dart';
var api_instance = DefaultApi();
try {
api_instance.postRegister();
} catch (e) {
print("Exception when calling DefaultApi->postRegister: $e\n");
}
This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
postUsers(user)
import 'package:openapi/api.dart';
var api_instance = DefaultApi();
var user = User(); // User |
try {
api_instance.postUsers(user);
} catch (e) {
print("Exception when calling DefaultApi->postUsers: $e\n");
}
Name | Type | Description | Notes |
---|---|---|---|
user | User | [optional] |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
putSession()
import 'package:openapi/api.dart';
var api_instance = DefaultApi();
try {
api_instance.putSession();
} catch (e) {
print("Exception when calling DefaultApi->putSession: $e\n");
}
This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
putSessionDiagnosesUserid(diagid)
import 'package:openapi/api.dart';
var api_instance = DefaultApi();
var diagid = diagid_example; // String |
try {
api_instance.putSessionDiagnosesUserid(diagid);
} catch (e) {
print("Exception when calling DefaultApi->putSessionDiagnosesUserid: $e\n");
}
Name | Type | Description | Notes |
---|---|---|---|
diagid | String | [default to null] |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
putUsersUserid(userid, user)
import 'package:openapi/api.dart';
var api_instance = DefaultApi();
var userid = userid_example; // String |
var user = User(); // User |
try {
api_instance.putUsersUserid(userid, user);
} catch (e) {
print("Exception when calling DefaultApi->putUsersUserid: $e\n");
}
Name | Type | Description | Notes |
---|---|---|---|
userid | String | [default to null] | |
user | User | [optional] |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]