Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Fonoster Team committed Jun 1, 2019
1 parent 278acf6 commit e03bf35
Show file tree
Hide file tree
Showing 79 changed files with 218 additions and 204 deletions.
4 changes: 4 additions & 0 deletions config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ spec:
port: 5060
- protocol: tcp
port: 5060
data_source:
provider: redis_data_provider
host: 192.168.1.127
secret: changeit
199 changes: 0 additions & 199 deletions docs/api/agents.md

This file was deleted.

39 changes: 39 additions & 0 deletions docs/api/agents/create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
Creates a new Agent resource. The Domain must exist before creating the Agent. Otherwise, this method responds with a `UNFULFILLED_DEPENDENCY_RESPONSE`.

**URL**

`/agents`

**Method**

`POST`

**Parameters**

This method does not receive any parameters.

**Request body**

A file containing an [Agent](/configuration/agents) resource in `json` or `yaml` format.

**Response**

If successful this method creates an Agent resource.

**Sample Call**

```json
POST /api/{apiversion}/agents
- apiVersion: v1beta1
kind: Agent
metadata:
name: John Doe
spec:
credentials:
username: '1001'
secret: '1234'
domains: [sip.local]

HTTP/1.1 201 Created
{"status": "201", "Successful request"}
```
35 changes: 35 additions & 0 deletions docs/api/agents/delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
Removes an Agent resource from a persistent database.

**URL**

`/agents/{ref}`

**Method**

`DELETE`

**Parameters**

| Parameter Name | Type | Value | Description
| --- | :--------- | :--------- | :--------- |
| ref | path | string | Resource reference|

**Request body**

Do not supply a request body with this method.

**Response**

If successful this method removes an Agent resource.

**Sample Call**

```json
DELETE /api/{apiversion}/agents/{ref}
{

}

HTTP/1.1 200 OK
{"status": "200", "Successful request"}
```
35 changes: 35 additions & 0 deletions docs/api/agents/get.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
This method returns an Agent resource.

**URL**

`/agents/{ref}`

**Method**

`GET`

**Parameters**

| Parameter Name | Type | Value | Description
| --- | :--------- | :--------- | :--------- |
| ref | path | string | Resource reference|

**Request body**

Do not supply a request body with this method.

**Response**

If successful this method returns an Agent resource.

**Sample Call**

```json
GET /api/{apiversion}/agents/{ref}
{

}

HTTP/1.1 200 OK
{"status": "200", "Successful request"}
```
35 changes: 35 additions & 0 deletions docs/api/agents/list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
This method returns a list of Agent resources.

**URL**

`/agents`

**Method**

`GET`

**Parameters**

| Parameter Name | Type | Value | Description
| --- | :--------- | :--------- | :--------- |
| filter | query | string | Use filter to narrow the elements shown. |

**Request body**

Do not supply a request body with this method.

**Response**

If successful this method returns a list of Agent resources.

**Sample Call**

```json
GET /api/{apiversion}/agents
{

}

HTTP/1.1 200 OK
{"status": "200", "Successful request"}
```
40 changes: 40 additions & 0 deletions docs/api/agents/update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Updates am existing Agent resource.

**URL**

`/agents/{ref}`

**Method**

`PUT`

**Parameters**

This method does not receive any parameters.

**Request body**

A file containing an [Agent](/configuration/agents) resource in `json` or `yaml` format.

**Response**

If successful this method updates an Agent resource.

**Sample Call**

```json
PUT /api/{apiversion}/agents/{ref}
- apiVersion: v1beta1
kind: Agent
metadata:
name: John Doe
ref: {ref}
spec:
credentials:
username: '1001'
secret: '1234'
domains: [sip.local]

HTTP/1.1 200 OK
{"status": "200", "Successful request"}
```
Binary file added libs/accessors-smart-1.2.jar
Binary file not shown.
Binary file added libs/argparse4j-0.8.1.jar
Binary file not shown.
Binary file added libs/asm-6.2.1.jar
Binary file not shown.
Binary file added libs/asm-analysis-6.2.1.jar
Binary file not shown.
Binary file added libs/asm-commons-6.2.1.jar
Binary file not shown.
Binary file added libs/asm-tree-6.2.1.jar
Binary file not shown.
Binary file added libs/asm-util-6.2.1.jar
Binary file not shown.
Binary file added libs/bson-3.7.1.jar
Binary file not shown.
Binary file added libs/caffeine-2.7.0.jar
Binary file not shown.
Binary file added libs/checker-qual-2.6.0.jar
Binary file not shown.
Binary file added libs/commons-codec-1.11.jar
Binary file not shown.
Binary file added libs/commons-io-2.6.jar
Binary file not shown.
Binary file added libs/commons-lang-2.6.jar
Binary file not shown.
Binary file added libs/commons-lang3-3.5.jar
Binary file not shown.
Binary file added libs/commons-logging-1.2.jar
Binary file not shown.
Binary file added libs/commons-net-3.6.jar
Binary file not shown.
Binary file added libs/commons-pool2-2.4.2.jar
Binary file not shown.
Binary file added libs/error_prone_annotations-2.3.3.jar
Binary file not shown.
Binary file added libs/graal-sdk-19.0.0.jar
Binary file not shown.
Binary file added libs/hamcrest-core-1.3.jar
Binary file not shown.
Binary file added libs/httpasyncclient-4.1.1.jar
Binary file not shown.
Binary file added libs/httpclient-4.5.2.jar
Binary file not shown.
Binary file added libs/httpcore-4.4.4.jar
Binary file not shown.
Binary file added libs/httpcore-nio-4.4.4.jar
Binary file not shown.
Binary file added libs/httpmime-4.5.2.jar
Binary file not shown.
Binary file added libs/icu4j-62.1.jar
Binary file not shown.
Binary file added libs/inamik-text-tables-0.1.jar
Binary file not shown.
Binary file added libs/jackson-annotations-2.9.0.jar
Binary file not shown.
Binary file added libs/jackson-core-2.9.5.jar
Binary file not shown.
Binary file added libs/jackson-databind-2.9.5.jar
Binary file not shown.
Binary file added libs/jackson-dataformat-yaml-2.9.5.jar
Binary file not shown.
Binary file added libs/jain-sip-ri-1.3.0-91.jar
Binary file not shown.
Binary file added libs/javax.activation-api-1.2.0.jar
Binary file not shown.
Binary file added libs/javax.servlet-api-3.1.0.jar
Binary file not shown.
Binary file added libs/jaxb-api-2.4.0-b180830.0359.jar
Binary file not shown.
Binary file added libs/jedis-2.9.0.jar
Binary file not shown.
Binary file added libs/jetty-client-9.4.15.v20190215.jar
Binary file not shown.
Binary file added libs/jetty-http-9.4.15.v20190215.jar
Binary file not shown.
Binary file added libs/jetty-io-9.4.15.v20190215.jar
Binary file not shown.
Binary file added libs/jetty-security-9.4.15.v20190215.jar
Binary file not shown.
Binary file added libs/jetty-server-9.4.15.v20190215.jar
Binary file not shown.
Binary file added libs/jetty-servlet-9.4.15.v20190215.jar
Binary file not shown.
Binary file added libs/jetty-util-9.4.15.v20190215.jar
Binary file not shown.
Binary file added libs/jetty-webapp-9.4.15.v20190215.jar
Binary file not shown.
Binary file added libs/jetty-xml-9.4.15.v20190215.jar
Binary file not shown.
Binary file added libs/jjwt-0.9.0.jar
Binary file not shown.
Binary file added libs/js-19.0.0.jar
Binary file not shown.
Binary file added libs/json-20160212.jar
Binary file not shown.
Binary file added libs/json-path-2.4.0.jar
Binary file not shown.
Binary file added libs/json-schema-validator-0.1.19.jar
Binary file not shown.
Binary file added libs/json-smart-2.3.jar
Binary file not shown.
Binary file added libs/junit-4.13-beta-3.jar
Binary file not shown.
Binary file added libs/log4j-1.2-api-2.11.0.jar
Binary file not shown.
Binary file added libs/log4j-1.2.17.jar
Binary file not shown.
Binary file added libs/log4j-api-2.11.0.jar
Binary file not shown.
Binary file added libs/log4j-core-2.11.0.jar
Binary file not shown.
Binary file added libs/regex-19.0.0.jar
Binary file not shown.
Binary file added libs/routr.jar
Binary file not shown.
Binary file added libs/slf4j-api-1.7.25.jar
Binary file not shown.
Binary file added libs/slf4j-ext-1.7.25.jar
Binary file not shown.
Binary file added libs/slf4j-nop-1.7.25.jar
Binary file not shown.
Binary file added libs/snakeyaml-1.18.jar
Binary file not shown.
Binary file added libs/spark-authentication-1.4.jar
Binary file not shown.
Binary file added libs/spark-core-2.9.0.jar
Binary file not shown.
Binary file added libs/truffle-api-19.0.0.jar
Binary file not shown.
Binary file added libs/unirest-java-1.4.9.jar
Binary file not shown.
Binary file added libs/websocket-api-9.4.15.v20190215.jar
Binary file not shown.
Binary file added libs/websocket-client-9.4.15.v20190215.jar
Binary file not shown.
Binary file added libs/websocket-common-9.4.15.v20190215.jar
Binary file not shown.
Binary file added libs/websocket-server-9.4.15.v20190215.jar
Binary file not shown.
Binary file added libs/websocket-servlet-9.4.15.v20190215.jar
Binary file not shown.
Loading

0 comments on commit e03bf35

Please sign in to comment.