Strike ServicesΒΆ
These services allow a user to create, view, and manage Strike processes.
Create Strike Process | |||
---|---|---|---|
Creates a new Strike process and places it onto the queue | |||
POST /strike/create/ | |||
Content Type | application/json | ||
JSON Fields | |||
name | String | Required | The unique name of the Strike process |
title | String | Optional | A display title for the Strike process |
description | String | Optional | A description for the Strike process |
configuration | JSON Object | Required | JSON defining the Strike configuration, see Strike Configuration Specification Version 1.0 |
{
"name": "my-strike-process",
"title": "My Strike Process",
"description": "This is my Strike process for detecting my favorite files!",
"configuration": {
"version": "1.0",
"mount": "host:/my/path",
"transfer_suffix": "_tmp",
"files_to_ingest": [{
"filename_regex": ".*txt",
"workspace_path": "/my/path",
"workspace_name": "rs"
}]
}
}
|
|||
Successful Response | |||
Status | 200 OK | ||
Content Type | application/json | ||
JSON Fields | |||
strike_id | Integer | The ID of the new Strike process | |
{
"strike_id": 5678
}
|