Giter VIP home page Giter VIP logo

ptero-notes's Introduction

A collection of markdown files documenting the Pterodactyl and Wings APIs, along with a few other documents relating to Pterodactyl/Wings internals and interactions. This documentation is unofficial and is meant for people experienced with the API(s), if you aren't then you should check the official-unofficial Dashflo docs or use a supported API library/wrapper.

ptero-notes's People

Contributors

bellatrick avatar dev-dibster avatar devnote-dev avatar gitbook-bot avatar real2two avatar zvikasdongre avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ptero-notes's Issues

Uniformed source references

This is used in the Wings API documentation already, but having a structured way for referencing sources for different endpoints and resources for all the APIs.

Remote API documentation

Provide documentation and references for the remote API in Pterodactyl, including interactions with the Wings API.

Uniformed Documentation Structure

Currently different parts of documentation for the different APIs seem to be having their own variations of markdown formatting. This doesn't really help with consistency, especially when cross-referencing different APIs. It would be good to have a CONTRIBUTING.md file stating the formatting rules along with some other useful information for contributing.

It might also help to have markdown linting, perhaps as part of CI?

API Terminology

A section (probably in the main README) defining the appropriate terminology for the Pterodactyl and Wings APIs, as well as clarifications for incorrect or misinterpreted terms.

Update documents to guidelines spec

With the new guidelines being merged, all of the documents for the Pterodactyl API (and a few of the Wings API documents) need updating to the specification:

Application:

  • Locations
  • Nests/Eggs
  • Nodes
  • Users

Client:

  • Account
  • Backups
  • Databases
  • Files
  • Network
  • Schedules
  • Servers
  • Settings
  • Startup
  • Users
  • Index

Remote:

  • Server Backups
  • Server Installation
  • Servers

Future changes section

A futures.md file which will contain all the planned API changes going from v2 onward. This is often requested by people wanting to use the API in the long term, and there isn't currently an official or unofficial source stating the changes.

Example response models

This is used in the application API documentation already, but having example JSON models for the applicable endpoints that can be used as references for people using the API, similarly to the Dashflo API docs.

Locales endpoint support?

The panel has an interesting locales endpoint which returns an object containing the localization/translation strings for the frontend. It's currently only used for activity logs but I believe its usage will increase in future versions. Is it worth documenting? It is also an endpoint that doesn't belong to any specific API, so its placement in the documentation is a bit confusing.

https://github.com/pterodactyl/panel/blob/b23f3114e4cb71406e6de17d0dca0d88205f56c1/routes/base.php#L12-L14

Complete application API

Most of the endpoints for the application API has been covered with a few notable ones missing, like servers (for example). Ideally this should be covered entirely.

JWT specifications

Having a detailed specification for JWT token generation and the usage in the different APIs (this is partially documented already via the claims sections). This is primarily for the Wings API but also includes a couple of endpoints from the client API.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.