{"openapi":"3.1.0","info":{"title":"~ajhalili2006's personal API","summary":"Andrei Jiroh's API server for utility, Atmosphere-native guestbook, and webhooks.","description":"This personal API server is built as part of [High Seas](https://highseas.hackclub.com) and [RaspAPI](https://raspapi.hackclub.com), deployed on Appwrite Cloud Functions. Poke around to learn more about Andrei Jiroh and sign the Atmosphere guestbook.","version":"0.2.0","contact":{"name":"Andrei Jiroh Halili","url":"https://andreijiroh.dev","email":"ajhalili2006@andreijiroh.dev"}},"externalDocs":{"url":"https://github.com/andreijiroh-dev/api-servers/tree/main/apps/website-api","description":"Backend source code"},"tags":[{"name":"meta","description":"Metadata about Andrei Jiroh, in good ol' JSON."},{"name":"guestbook","description":"Decentralized Atmosphere (AT Protocol) guestbook powered by Appwrite TablesDB."}],"components":{"schemas":{},"parameters":{}},"paths":{"/meta":{"get":{"summary":"Get information about the website tech stack and Andrei Jiroh himself.","tags":["meta"],"operationId":"get_rootRouter","responses":{"200":{"description":"Get full data","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","default":true},"result":{"type":"object","properties":{"city":{"type":"string"},"state":{"type":"string"},"country":{"type":"string","default":"PH"},"slack":{"type":"array","items":{"type":"object","properties":{"team_id":{"type":"string"},"team":{"type":"string"},"user_id":{"type":"string"}},"required":["team_id","team","user_id"]},"default":[{"team_id":"T0266FRGM","team":"hackclub","user_id":"U07CAPBB9B5"}]}},"required":["city","state"]}},"required":["result"]}}}}}}},"/meta/me":{"get":{"summary":"Get Andrei Jiroh's socials and more in a JSON object.","tags":["meta"],"operationId":"get_getMe","responses":{"200":{"description":"Get full data","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","default":true},"result":{"type":"object","properties":{"city":{"type":"string"},"state":{"type":"string"},"country":{"type":"string","default":"PH"},"slack":{"type":"array","items":{"type":"object","properties":{"team_id":{"type":"string"},"team":{"type":"string"},"user_id":{"type":"string"}},"required":["team_id","team","user_id"]},"default":[{"team_id":"T0266FRGM","team":"hackclub","user_id":"U07CAPBB9B5"}]}},"required":["city","state"]}},"required":["result"]}}}}}}},"/meta/tech-stack":{"get":{"summary":"Get technology stack for Andrei Jiroh's website and API server.","tags":["meta"],"operationId":"get_getTechStack","responses":{"200":{"description":"Get full data","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","default":true},"result":{"type":"object","properties":{"city":{"type":"string"},"state":{"type":"string"},"country":{"type":"string","default":"PH"},"slack":{"type":"array","items":{"type":"object","properties":{"team_id":{"type":"string"},"team":{"type":"string"},"user_id":{"type":"string"}},"required":["team_id","team","user_id"]},"default":[{"team_id":"T0266FRGM","team":"hackclub","user_id":"U07CAPBB9B5"}]}},"required":["city","state"]}},"required":["result"]}}}}}}},"/meta/linux":{"get":{"tags":["meta"],"operationId":"get_getLinuxSetup","responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}}}}},"/ping":{"get":{"summary":"Ping the API server if it is up.","description":"When the server responds with a 200 OK with a JSON response body, a random quote or message inside the `result` objectwill show up.","operationId":"get_pingServer","responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}}}}},"/guestbook":{"get":{"tags":["guestbook"],"summary":"Get guestbook messages (random entry or paginated list of approved entries)","operationId":"get_getGuestbookMessages","parameters":[{"schema":{"type":["boolean","null"],"description":"Set true to fetch a list of entries rather than a single random entry"},"required":false,"description":"Set true to fetch a list of entries rather than a single random entry","name":"all","in":"query"},{"schema":{"type":["number","null"],"description":"Maximum entries to return (when all=true, max 50)"},"required":false,"description":"Maximum entries to return (when all=true, max 50)","name":"limit","in":"query"},{"schema":{"type":["number","null"],"description":"Offset for pagination (when all=true)"},"required":false,"description":"Offset for pagination (when all=true)","name":"offset","in":"query"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["guestbook"],"summary":"Index an Atmosphere (AT Protocol) guestbook entry","description":"Registers an AT-URI from a visitor's Personal Data Server (PDS).\nSupported collections: `dev.andreijiroh.guestbook.entry` (primary) and `is.dame.guestbook.entry` (compatibility).\nThe server validates the record from the signer's PDS, checks moderation status, and indexes it in Appwrite TablesDB.","operationId":"post_guestbook","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"at_uri":{"type":"string","description":"AT-URI of the guestbook signature record"}},"required":["at_uri"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}}}}},"/guestbook/entry":{"post":{"tags":["guestbook"],"summary":"Index an Atmosphere (AT Protocol) guestbook entry","description":"Registers an AT-URI from a visitor's Personal Data Server (PDS).\nSupported collections: `dev.andreijiroh.guestbook.entry` (primary) and `is.dame.guestbook.entry` (compatibility).\nThe server validates the record from the signer's PDS, checks moderation status, and indexes it in Appwrite TablesDB.","operationId":"post_indexGuestbookEntryRoute","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"at_uri":{"type":"string","description":"AT-URI of the guestbook signature record"}},"required":["at_uri"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{}}}}}}}},"webhooks":{}}