You are browsing as a guest. Sign up (or log in) to start making projects!

Pterodactyl Panel (Android App)

  • 5 Devlogs
  • 7 Total hours

An app to manage https://pterodactyl.io (just an idea for now, if i got time i'll do it)

Open comments for this post

1h 6m 20s logged

  • Split the API in 2 types: application and client (as pterodactyl handles those differently with 2 diff api keys)
  • Fixed some wrong or missing types
  • Finished adding the HTTP requests for the client API
  • Started adding the HTTP requests for the application API
  • Split the API in 2 types: application and client (as pterodactyl handles those differently with 2 diff api keys)
  • Fixed some wrong or missing types
  • Finished adding the HTTP requests for the client API
  • Started adding the HTTP requests for the application API

Replying to @stefdp

0
5
Open comments for this post

2h 41m 38s logged

Added even more HTTP requests, tho could be not 100% accurate cuz ptero API is shit 😭, the official one is AI generated and has hallucinations….

anyway i added:

  • GET /api/client/account/activity
  • GET /api/client/account/ssh-keys
  • POST /api/client/account/ssh-keys
  • POST /api/client/account/ssh-keys/remove
  • GET /api/client/servers/{identifier}
  • GET /api/client/servers/{identifier}/resources
  • POST /api/client/servers/{identifier}/command
  • POST /api/client/servers/{identifier}/power
  • GET /api/client/servers/{identifier}/databases
  • POST /api/client/servers/{identifier}/databases
  • POST /api/client/server/{serverIdentifier}/databases/{databaseIdentifier)/rotate-password
  • DELETE /api/client/server/{serverIdentifier}/databases/{databaseIdentifier}
  • GET /api/client/servers/{identifier}/files/list
  • GET /api/client/servers/{identifier}/files/contents
  • GET /api/client/servers/{identifier}/files/download
  • POST /api/client/servers/{identifier}/files/write
  • POST /api/client/servers/{identifier}/files/create-folder
  • POST /api/client/servers/{identifier}/files/copy
  • PUT /api/client/servers/{identifier}/files/rename
  • POST /api/client/servers/{identifier}/files/compress
  • POST /api/client/servers/{identifier}/files/decompress
  • POST /api/client/servers/{identifier}/files/delete
  • GET /api/client/servers/{identifier}/files/upload
  • POST /api/client/servers/{identifier}/files/chmod
  • GET /api/client/servers/{identifier}/schedules
  • GET /api/client/servers/{identifier}/schedules/{scheduleIdentifier}
  • POST /api/client/servers/{identifier}/schedules
  • POST /api/client/servers/{identifier}/schedules/{scheduleIdentifier}
  • DELETE /api/client/servers/{identifier}/schedules/{scheduleIdentifier}
  • POST /api/client/servers/{serverIdentifier}/schedules/{scheduleIdentifier}/tasks
  • POST /api/client/servers/{serverIdentifier}/schedules/{scheduleIdentifier}/tasks/{taskIdentifier}
  • DELETE /api/client/servers/{serverIdentifier}/schedules/{scheduleIdentifier}/tasks/{taskIdentifier}

Writing all these took alot of time

Added even more HTTP requests, tho could be not 100% accurate cuz ptero API is shit 😭, the official one is AI generated and has hallucinations….

anyway i added:

  • GET /api/client/account/activity
  • GET /api/client/account/ssh-keys
  • POST /api/client/account/ssh-keys
  • POST /api/client/account/ssh-keys/remove
  • GET /api/client/servers/{identifier}
  • GET /api/client/servers/{identifier}/resources
  • POST /api/client/servers/{identifier}/command
  • POST /api/client/servers/{identifier}/power
  • GET /api/client/servers/{identifier}/databases
  • POST /api/client/servers/{identifier}/databases
  • POST /api/client/server/{serverIdentifier}/databases/{databaseIdentifier)/rotate-password
  • DELETE /api/client/server/{serverIdentifier}/databases/{databaseIdentifier}
  • GET /api/client/servers/{identifier}/files/list
  • GET /api/client/servers/{identifier}/files/contents
  • GET /api/client/servers/{identifier}/files/download
  • POST /api/client/servers/{identifier}/files/write
  • POST /api/client/servers/{identifier}/files/create-folder
  • POST /api/client/servers/{identifier}/files/copy
  • PUT /api/client/servers/{identifier}/files/rename
  • POST /api/client/servers/{identifier}/files/compress
  • POST /api/client/servers/{identifier}/files/decompress
  • POST /api/client/servers/{identifier}/files/delete
  • GET /api/client/servers/{identifier}/files/upload
  • POST /api/client/servers/{identifier}/files/chmod
  • GET /api/client/servers/{identifier}/schedules
  • GET /api/client/servers/{identifier}/schedules/{scheduleIdentifier}
  • POST /api/client/servers/{identifier}/schedules
  • POST /api/client/servers/{identifier}/schedules/{scheduleIdentifier}
  • DELETE /api/client/servers/{identifier}/schedules/{scheduleIdentifier}
  • POST /api/client/servers/{serverIdentifier}/schedules/{scheduleIdentifier}/tasks
  • POST /api/client/servers/{serverIdentifier}/schedules/{scheduleIdentifier}/tasks/{taskIdentifier}
  • DELETE /api/client/servers/{serverIdentifier}/schedules/{scheduleIdentifier}/tasks/{taskIdentifier}

Writing all these took alot of time

Replying to @stefdp

0
4
Open comments for this post

1h 34m logged

Started adding some HTTP requests typedef, still missing alot tho
for now i added:

  • GET /api/client
  • GET /api/client/permissions
  • GET /api/client/account
  • GET /api/client/account/two-factor
  • POST /api/client/account/two-factor (enable)
  • POST /api/client/account/two-factor (disable)
  • PUT /api/client/account/email
  • PUT /api/client/account/password
  • GET /api/client/account/api-keys
  • DELETE /api/client/account/api-keys/{identifier}
  • POST /api/client/account/api-keys

no frontend yet, i’m doing the backend first

Started adding some HTTP requests typedef, still missing alot tho
for now i added:

  • GET /api/client
  • GET /api/client/permissions
  • GET /api/client/account
  • GET /api/client/account/two-factor
  • POST /api/client/account/two-factor (enable)
  • POST /api/client/account/two-factor (disable)
  • PUT /api/client/account/email
  • PUT /api/client/account/password
  • GET /api/client/account/api-keys
  • DELETE /api/client/account/api-keys/{identifier}
  • POST /api/client/account/api-keys

no frontend yet, i’m doing the backend first

Replying to @stefdp

0
3
Open comments for this post

27m 43s logged

Just created the app skeleton based on the other 2 apps i’ve already made (with alot of TODOs for now)
now working on writing the code for HTTP requests to the pterodactyl API and their response types

Just created the app skeleton based on the other 2 apps i’ve already made (with alot of TODOs for now)
now working on writing the code for HTTP requests to the pterodactyl API and their response types

Replying to @stefdp

0
3

Followers

Loading…