dartactyl 1.1.6
dartactyl: ^1.1.6 copied to clipboard
An API client for Pterodactyl Panel
1.1.6 #
- Add
PteroClient.mock()for testing- Uses
mockapi.ptero.shwhich itself wraps the https://pterodactyl.stoplight.io mock server in a way that works with this client, as/api/clientis hardcoded - (!!SERVER NOT COMPLETED AS OF WRITING THIS!!)
- Uses
1.1.5 #
- Add missing
updateDockerContainer
1.1.4 #
- Add a utility extention for the
Server, such as getting the docker images on the object directly
1.1.3 #
- Add a utility extention for the client
1.1.2 #
- Add
dockerImagestoMetaas thats apparently where it shows up.
1.1.1 #
- Make it possible to disable the automatic CookieJar so you can put your own
1.1.0 #
- REMOVED
PteroClientConfigandcreatePteroClient() - Instead, use
PteroClient.generate() - Made it possible to use cookies instead of Api Key by simply omitting the key in the PteroClient.generate() constructor
- Added
login(), which is only possible if you are in cookie mode!- Conveniently, I will take you out of Key mode and into Cookie mode for you!
- Added the inverse of
login();logout(). also takes you out of key mode - but wont work in key mode anyway so... - Added an interceptor to do mentioned "taking out of key mode"
- Updated dependencies
1.0.12 #
- Add
Originheader. hopefully it works.
1.0.11 #
- ACTUALLY fix
cpuAbsoluteinStats
1.0.10 #
- Fix
cpuAbsoluteinStats
1.0.9 #
- Renamed
ServerStatetoServerPowerState - Renamed
SignalTypetoServerPowerAction
1.0.8 #
- Minor changes and formatting
1.0.7 #
- Renamed
ScheduletoRequestSchedule - Updated
Backupto hopefully be more accurate
1.0.6 #
- Renamed
deleteApiKeys=>deleteApiKey
1.0.5 #
ServerStatus?enum instead of aString?- Add fields to
CronandServerSchedule - Minor import adjustments
- Apparently
FractalResponseList's data can get a null object...
1.0.4 #
- Improve error files further
- Make ServerStatus an enum for current server status
- Add
nameto Cron
1.0.3 #
- Split error files, and made
PteroError.codean enum - Added
PteroError.statusCodegetter which returns anint?, though it should never be null
1.0.2 #
- Updated
createPteroClientto not set thebaseUrldirectly inPteroClient, so that it could be changed in the user-providedDioinstance - Formatted imports, and removed redundant
models.dart
1.0.1 #
- Add an optional
[dio]parameter tocreatePteroClient(config, dio: Dio())
1.0.0 #
- Initial version.