# Scalar Galaxy

Version: 1.0.0

The Scalar Galaxy is an example OpenAPI document to test OpenAPI tools and libraries. It's a fictional universe with fictional planets and fictional data.

## Resources

* https://github.com/scalar/scalar
* https://github.com/OAI/OpenAPI-Specification
* https://scalar.com

## Markdown Support

All descriptions *can* contain ~~tons of text~~ **Markdown**. [If GitHub supports the syntax](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax), chances are we're supporting it, too.

<details>
  <summary>Examples</summary>

  **Blockquotes**

  > I love OpenAPI. <3

  **Tables**

  | Feature          | Availability |
  | ---------------- | ------------ |
  | Markdown Support | ✓            |

  **Accordion**

  ```html
  <details>
    <summary>Using Details Tags</summary>
    <p>HTML Example</p>
  </details>
  ```

  **Images**

  Yes, there's support for images, too!

  ![Empty placeholder image showing the width/height](https://images.placeholders.dev/?width=1280&height=720)

  **Alerts**

  > [!tip]
  > You can use Markdown alerts in your descriptions.

</details>

## Servers

- https://galaxy.scalar.com
- https://void.scalar.com/: Responds with your request data

## Endpoints

- [GET /me](/api/getme.md): Get authenticated user
- [GET /planets](/api/getalldata.md): Get all planets
- [GET /planets/{planetId}](/api/getplanet.md): Get a planet
- [POST /auth/token](/api/gettoken.md): Get a token
- [POST /celestial-bodies](/api/createcelestialbody.md): Create a celestial body
- [POST /planets](/api/createplanet.md): Create a planet
- [POST /planets/{planetId}/image](/api/uploadimage.md): Upload an image to a planet
- [POST /user/signup](/api/createuser.md): Create a user
- [PUT /planets/{planetId}](/api/updateplanet.md): Update a planet
- [DELETE /planets/{planetId}](/api/deleteplanet.md): Delete a planet

## Webhooks

- [POST /newPlanet](/api/post-newPlanet.md)

## Models

- [BadRequestError](/api/schemas/badrequesterror.md)
- [CelestialBody](/api/schemas/celestialbody.md)
- [Conflict](/api/schemas/conflict.md)
- [Credentials](/api/schemas/credentials.md)
- [ForbiddenError](/api/schemas/forbiddenerror.md)
- [ImageUploadedMessage](/api/schemas/imageuploadedmessage.md)
- [NotFoundError](/api/schemas/notfounderror.md)
- [PaginatedResource](/api/schemas/paginatedresource.md)
- [Planet](/api/schemas/planet.md)
- [Satellite](/api/schemas/satellite.md)
- [Token](/api/schemas/token.md)
- [TooManyRequestsError](/api/schemas/toomanyrequestserror.md)
- [UnauthorizedError](/api/schemas/unauthorizederror.md)
- [UnprocessableEntity](/api/schemas/unprocessableentity.md)
- [User](/api/schemas/user.md)
