File Agents
GET file_notification_agents/meta
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Returns some meta data information used for the File Agent configuration.
Resource URL
http://{host}/api/2.0/file_notification_agents/meta/.format
Example Request
GET
GET file_notification_agents
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Returns a list of File Agents configuration data.
Resource URL
http://{host}/api/2.0/file_notification_agents/.format
Example Request
GET
GET file_notification_agents/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Returns a single File AGent configuration data.
Resource URL
http://{host}/api/2.0/file_notification_agents/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired File Agent to be viewed. |
Example Request
GET
POST file_notification_agents
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | POST |
Adds a new File Agent.
Resource URL
http://{host}/api/2.0/file_notification_agents/.format
Example Request
POST
POST file_notification_agents/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | POST |
Duplicates a single specific File Agent into a new one, preserving all original agent's data except for the title.
Resource URL
http://{host}/api/2.0/file_notification_agents/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired File Agent to be copied. |
Example Request
POST
PUT file_notification_agents/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | PUT |
Updates a specific File Agent configuration data.
Resource URL
http://{host}/api/2.0/file_notification_agents/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
1 | integer | The ID of the desired File Agent to be updated. |
Example Request
PUT
DELETE file_notification_agents/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | DELETE |
Deletes a single specific File Agent.
Resource URL
http://{host}/api/2.0/file_notification_agents/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired File Agent to be deleted. |
Example Request
DELETE
GET file_notification_agents/command/test/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Creates a demo text file on the configured server for an existing agent.
Resource URL
http://{host}/api/2.0/file_notification_agents/command/test/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired agent to send email notification. |
Example Request
GET