Get Device List
GET/devices
Get Device List
Request
Responses
- 200
- 403
- 404
- 422
OK
Response Headers
X-Powered-By any
Content-Length any
ETag any
Date any
Connection any
Keep-Alive any
- application/json; charset=utf-8
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
statu int32required
message stringrequired
data object[]required
id stringrequired
server_id stringrequired
user_id stringrequired
phone stringrequired
webhook_url stringnullablerequired
status stringrequired
created_at stringrequired
updated_at stringrequired
Server objectrequired
name stringrequired
{
"statu": 200,
"message": "OK",
"data": [
{
"id": "44",
"server_id": "1",
"user_id": "4",
"phone": "6285603051722",
"webhook_url": "https://animebot-cool.herokuapp.com/",
"status": "ACTIVE",
"created_at": "2020-03-13T00:34:04.000Z",
"updated_at": "2022-03-21T01:03:08.000Z",
"Server": {
"name": "ASIA (SGP1)"
}
},
{
"id": "2016",
"server_id": "4",
"user_id": "4",
"phone": "6285603051721",
"webhook_url": null,
"status": "INACTIVE",
"created_at": "2022-03-14T17:12:55.000Z",
"updated_at": "2022-03-14T17:12:55.000Z",
"Server": {
"name": "ASIA (IDN1)"
}
},
{
"id": "2017",
"server_id": "4",
"user_id": "4",
"phone": "6285603051734",
"webhook_url": null,
"status": "INACTIVE",
"created_at": "2022-03-14T17:15:23.000Z",
"updated_at": "2022-03-14T17:15:23.000Z",
"Server": {
"name": "ASIA (IDN1)"
}
},
{
"id": "2018",
"server_id": "4",
"user_id": "4",
"phone": "6285603051720",
"webhook_url": null,
"status": "INACTIVE",
"created_at": "2022-03-16T18:44:38.000Z",
"updated_at": "2022-03-16T18:44:38.000Z",
"Server": {
"name": "ASIA (IDN1)"
}
},
{
"id": "5",
"server_id": "4",
"user_id": "4",
"phone": "6281776521626",
"webhook_url": "",
"status": "ACTIVE",
"created_at": "2020-02-26T00:06:47.000Z",
"updated_at": "2022-05-23T00:21:41.000Z",
"Server": {
"name": "ASIA (IDN1)"
}
},
{
"id": "2019",
"server_id": "4",
"user_id": "4",
"phone": "6285603051723",
"webhook_url": null,
"status": "INACTIVE",
"created_at": "2022-03-16T19:22:22.000Z",
"updated_at": "2022-03-16T19:22:22.000Z",
"Server": {
"name": "ASIA (IDN1)"
}
}
]
}
{
"statu": 200,
"message": "OK",
"data": [
{
"id": "44",
"server_id": "1",
"user_id": "4",
"phone": "6285603051722",
"webhook_url": "https://animebot-cool.herokuapp.com/",
"status": "ACTIVE",
"created_at": "2020-03-13T00:34:04.000Z",
"updated_at": "2022-03-21T01:03:08.000Z",
"Server": {
"name": "ASIA (SGP1)"
}
},
{
"id": "2016",
"server_id": "4",
"user_id": "4",
"phone": "6285603051721",
"webhook_url": null,
"status": "INACTIVE",
"created_at": "2022-03-14T17:12:55.000Z",
"updated_at": "2022-03-14T17:12:55.000Z",
"Server": {
"name": "ASIA (IDN1)"
}
},
{
"id": "2017",
"server_id": "4",
"user_id": "4",
"phone": "6285603051734",
"webhook_url": null,
"status": "INACTIVE",
"created_at": "2022-03-14T17:15:23.000Z",
"updated_at": "2022-03-14T17:15:23.000Z",
"Server": {
"name": "ASIA (IDN1)"
}
},
{
"id": "2018",
"server_id": "4",
"user_id": "4",
"phone": "6285603051720",
"webhook_url": null,
"status": "INACTIVE",
"created_at": "2022-03-16T18:44:38.000Z",
"updated_at": "2022-03-16T18:44:38.000Z",
"Server": {
"name": "ASIA (IDN1)"
}
},
{
"id": "5",
"server_id": "4",
"user_id": "4",
"phone": "6281776521626",
"webhook_url": "",
"status": "ACTIVE",
"created_at": "2020-02-26T00:06:47.000Z",
"updated_at": "2022-05-23T00:21:41.000Z",
"Server": {
"name": "ASIA (IDN1)"
}
},
{
"id": "2019",
"server_id": "4",
"user_id": "4",
"phone": "6285603051723",
"webhook_url": null,
"status": "INACTIVE",
"created_at": "2022-03-16T19:22:22.000Z",
"updated_at": "2022-03-16T19:22:22.000Z",
"Server": {
"name": "ASIA (IDN1)"
}
}
]
}
General Forbidden Error Response
- application/json
- Schema
- Example (from schema)
Schema
status integer
Forbidden
message string
HTTP Status Message
{
"status": 403,
"message": "Forbidden"
}
General Not Found Error Response
- application/json
- Schema
- Example (from schema)
Schema
status integer
Not Found
message string
HTTP Status Message
{
"status": 404,
"message": "Not Found"
}
General Validation Error Response
- application/json
- Schema
- Example (from schema)
Schema
status integer
HTTP Status Code
message string
HTTP Status Message
errors string[]
{
"status": 422,
"message": "Validation Error ",
"errors": [
"string"
]
}
Loading...