Server
獲取您發布的所有伺服器
AuthorizationBearer <token>
In: header
Query Parameters
featured?boolean
Filter by featured servers
limit?integer
Number of items to return
Default
20Range
1 <= value <= 100offset?integer
Number of items to skip
Default
0Range
0 <= valueResponse Body
curl -X GET "https://www.dchubs.org/api/v1/user/servers?featured=true&limit=20&offset=0"{
"servers": [
{
"id": "string",
"name": "string",
"icon": "string",
"description": "string",
"longDescription": "string",
"inviteUrl": "string",
"verified": true,
"members": 0,
"online": 0,
"upvotes": 0,
"tags": [
"string"
],
"banner": "string",
"website": "string",
"featured": true,
"createdAt": "2019-08-24T14:15:22Z",
"rules": [
"string"
],
"features": [
"string"
],
"screenshots": [
"string"
],
"pin": true,
"pinExpiry": "2019-08-24T14:15:22Z",
"owner": {
"id": "string",
"username": "string",
"avatar": "string"
},
"admins": [
{
"id": "string",
"username": "string",
"avatar": "string"
}
],
"favoritedBy": [
"string"
]
}
],
"total": 0,
"offset": 0,
"limit": 0
}{
"type": "string",
"title": "string",
"detail": "string",
"instance": "string"
}{
"error": "string",
"code": "string",
"timestamp": "string"
}{
"type": "string",
"title": "string",
"detail": "string",
"instance": "string"
}