FileReplicationResource
Public API to FileReplication. Currently support GET but this is for testing, could be dropped.
The following resources are part of this group:
/file_replication
Mount Point: /api/file_replication
POST
Upload a new file for file replication.
Parameters
name | description | type | default |
---|---|---|---|
script | The script that should be executed against the replicated file. | query |
Request Body
element: | (custom) |
media types: | application/octet-stream |
A stream that contains the bytes that make up the file that should be replicated.
Response Body
element: | (custom) |
media types: | application/xml application/json |
Response The response which will be sent back to client.
GET
Return the status responses from the nodes for a particular script. Returns a list of Status responses for a script, if there were no responses reported by any nodes then the list will be empty.
Parameters
name | description | type | default |
---|---|---|---|
script | The script to return the status for. | query |
Response Body
element: | (custom) |
media types: | application/xml application/json |
StatusListDTO