- Returning.AI
- Auth
- Server
- Role
- Channel
- Badge
- Integration
get my servers
Developing
GET
/servers
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://rai-api.returning.ai/api/v1/servers'
Responses
🟢200Success
application/json
Body
meta
objectÂ
required
success
booleanÂ
required
message
stringÂ
required
devMessage
stringÂ
required
body
array [object {10}]Â
required
_id
stringÂ
optional
name
stringÂ
optional
image
stringÂ
optional
owner
objectÂ
optional
__v
integerÂ
optional
roles
array[string]
optional
categories
array[string]
optional
leaderboards
array[string]
optional
languageSettings
array[string]
optional
id
stringÂ
optional
Example
{
"meta": {
"success": true,
"message": "My servers",
"devMessage": "My servers"
},
"body": [
{
"_id": "{_id}",
"name": "Dummy Server",
"image": "https://dummyimage.com/600x400/000/fff",
"owner": {
"id": "2"
},
"__v": 0,
"roles": [],
"categories": [],
"leaderboards": [],
"languageSettings": [],
"id": "{_id}"
}
]
}