/
FTP Servers

FTP Servers

GET ftp_agents

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Returns a list of FTP Servers configurations data.

Resource URL

http://{host}/api/2.0/ftp_agents/.format

Example Request

GET 

  1. http://44.235.52.211/api/2.0/ftp_agents/.json

[ { "FtpAgent": { "id": 1, "title": "aws_test", "host": "172.31.4.23", "path_on_target": "", "username": "ilan", "password": "ilan", "port": 21, "storage_limit": null, "bandwidth_limit": 100000, "network_id": 0, "modified": "1611142282208", "created": "1611142282208" } }, { "FtpAgent": { "id": 2, "title": "local", "host": "127.0.0.1", "path_on_target": "", "username": "recording", "password": "tagvs", "port": 21, "storage_limit": null, "bandwidth_limit": 100000, "network_id": 0, "modified": "1611142282208", "created": "1611142282208" } } ]

 


 

GET ftp_agents/{id}

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Returns a single specific FTP Server configuration data.

Resource URL

http://{host}/api/2.0/ftp_agents/{id}/.format

Parameters

Parameter

Data Type

Description

id
(required)

integer

The ID of the desired FTP Server to be viewed.

Example Request

GET 

  1. http://44.235.52.211/api/2.0/ftp_agents/1/.json

{ "FtpAgent": { "id": 1, "title": "aws_test", "host": "172.31.4.23", "path_on_target": "", "username": "ilan", "password": "ilan", "port": 21, "storage_limit": null, "bandwidth_limit": 100000, "network_id": 0, "modified": "1611142282208", "created": "1611142282208" } }

 


 

POST ftp_agents

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

POST

Adds a new FTP Server configuration.

Resource URL

http://{host}/api/2.0/ftp_agents/.format

Example Request

POST 

  1. http://44.235.52.211/api/2.0/ftp_agents/.json

{ "FtpAgent": { "bandwidth_limit": "100000", "host": "192.168.0.90", "network_id": "0", "password": "tagvs", "path_on_target": "/recordings", "port": "21", "storage_limit": "", "title": "FTP_Server_NEW", "username": "tagvs" } }

 


 

POST ftp_agents/{id}

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

POST

Duplicates a single specific FTP Server configuration, preserving the original configuration data except for the title.

Resource URL

http://{host}/api/2.0/ftp_agents/{id}/.format

Parameters

Parameter

Data Type

Description

id
(required)

integer

The ID of the desired FTP Server to be copied.

Example Request

POST 

  1. http://44.235.52.211/api/2.0/ftp_agents/3/.json

 


 

PUT ftp_agents/{id}

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

PUT

Updates a single specific FTP Server configuration.

Resource URL

http://{host}/api/2.0/ftp_agents/{id}/.format

Parameters

Parameter

Data Type

Description

id
(required)

integer

The ID of the desired FTP Server to be updated.

Example Request

PUT 

  1. http://44.235.52.211/api/2.0/ftp_agents/3/.json

 


 

DELETE ftp_agents/{id}

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

DELETE

Deletes a single specific FTP Server.

Resource URL

http://{host}/api/2.0/ftp_agents/{id}/.format

Parameters

Parameter

Data Type

Description

id
(required)

integer

The ID of the desired FTP Server to be deleted.

Example Request

DELETE 

  1. http://44.235.52.211/api/2.0/ftp_agents/3/.json

Related content

Recording
Read with this
File Agents
File Agents
More like this
Daily Report
Daily Report
More like this
Device Agents Statistics
Device Agents Statistics
More like this
SNMP Agent
More like this
Email Agents
Email Agents
More like this