tlyboy public API documentation
Read the public project directory or check website availability from a script. Both endpoints use GET and are available without an account or an API key.
OpenAPI specificationGET /api/projects
Returns a JSON array of public projects with their names, repository URLs, descriptions, and primary languages. Pass lang=en or lang=zh to select the description language. Without lang, the API uses the default language of the domain you called.
curl --fail 'https://tlyboy.com/api/projects?lang=en'GET /api/health
Returns a JSON object with ok set to true when the website is available. This endpoint checks the website itself.
Error responses
An unsupported language returns HTTP 400. If the project directory is temporarily unavailable, the API returns HTTP 503. Both errors use application/problem+json with a status and a detail.