Skip to Content
Projects

List Public Projects

GET
/v0/public-projects

Query Parameters

ownerId?string
ownerSlug?string
slug?string
search?string
limit?string
offset?string
sort?string
Value in"createdAt""name""creator""online""total"
direction?string
Value in"asc""desc"

Response Body

Success

application/json
  1. response
items*array<>
total*number|
limit*number|
offset*number|
hasMore*boolean
stats*
Example Request
curl -X GET 'https://api.faststats.dev/v0/public-projects'
Example Response
{
  "items": [
    {
      "id": "string",
      "name": "string",
      "slug": "string",
      "createdAt": "string",
      "ownerId": "string",
      "owner": {
        "id": "string",
        "name": "string",
        "slug": "string",
        "image": "string",
        "type": "user",
        "createdAt": "string"
      },
      "templateId": "string",
      "icon": {
        "type": "icon",
        "value": "string",
        "color": "string"
      },
      "online": 0,
      "total": 0
    }
  ],
  "total": 0,
  "limit": 0,
  "offset": 0,
  "hasMore": true,
  "stats": {
    "projectCount": 0,
    "onlineServers": 0,
    "totalServers": 0
  }
}