mirror of
https://codeberg.org/vlw/vlw.se.git
synced 2025-09-14 05:13:46 +02:00
Replaces this section on the `/about` page:  with:  I will replace and fix the colors of the buttons after #15 is merged. Reviewed-on: https://codeberg.org/vlw/vlw.se/pulls/14
29 lines
No EOL
910 B
PHP
29 lines
No EOL
910 B
PHP
<?php
|
|
|
|
namespace VLW\API;
|
|
|
|
// Default string to return when a DELETE request is successful
|
|
const RESP_DELETE_OK = "OK";
|
|
|
|
// Enum of all available VLW endpoints grouped by category
|
|
enum Endpoints: string {
|
|
case ABOUT_LANGUAGES = "/about/languages";
|
|
|
|
case SEARCH = "/search";
|
|
|
|
case MESSAGES = "/messages";
|
|
|
|
case WORK = "/work";
|
|
case WORK_TAGS = "/work/tags";
|
|
case WORK_ACTIONS = "/work/actions";
|
|
|
|
case BATTLESTATION = "/battlestation";
|
|
case BATTLESTATION_MB = "/battlestation/mb";
|
|
case BATTLESTATION_CPU = "/battlestation/cpu";
|
|
case BATTLESTATION_GPU = "/battlestation/gpu";
|
|
case BATTLESTATION_PSU = "/battlestation/psu";
|
|
case BATTLESTATION_DRAM = "/battlestation/dram";
|
|
case BATTLESTATION_STORAGE = "/battlestation/storage";
|
|
case BATTLESTATION_COOLERS = "/battlestation/coolers";
|
|
case BATTLESTATION_CHASSIS = "/battlestation/chassis";
|
|
} |