Skip to content

Commit

Permalink
Added endpoint /system/logs to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
psanders committed Apr 13, 2020
1 parent 6abcc88 commit 60322c4
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/api/sys/info.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ GET /api/v1beta1/system/info
}

HTTP/1.1 200 OK

{
"status":200,
"message":"Successful request",
Expand Down
36 changes: 36 additions & 0 deletions docs/api/sys/logs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
This method returns logs from the server

**URL**

`/system/logs`

**Method**

`GET`

**Parameters**

This method does not receive any parameters.

**Request body**

Do not supply a request body with this method.

**Response**

If successful this method returns logging information from the server.

**Sample Call**

```json
GET /api/v1beta1/system/logs
{

}

HTTP/1.1 200 OK
{
"status":200,
"message":"Successful request",
"data":"[DEBUG] 2020-04-13 12:29:49.785..."
}
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ nav:
- System:
- Status: api/sys/status.md
- Info: api/sys/info.md
- Logs: api/sys/logs.md
- Guides:
- Basic Setup: guides/basic-setup.md
- Routr as Asterisk frontend: guides/routr-as-asterisk-frontend.md
Expand Down

0 comments on commit 60322c4

Please sign in to comment.