v1

latestOpenAPI 3.1.2Apache-2.02026-07-17241638.7 KB
Configuration

Create a new configuration

Creates a new Nutch configuration with the specified parameters. Returns the configuration ID on success.

post/config/create

Request body

configIdstring

The identifier for this configuration.

forceboolean

If true, overwrites an existing configuration with the same ID.

paramsobject

Key-value pairs of Nutch configuration properties.

Example request

{
  "configId": "my-config",
  "force": false,
  "params": {
    "http.agent.name": "MyBot",
    "http.robots.agents": "MyBot,*"
  }
}

Response

Configuration created. Returns the configuration ID.