<commit_before>FORMAT: 1A
HOST: https://simcity.amsterdam-complexity.nl/explore/

# SIM-CITY webservice

The [SIM-CITY webservice](http://github.com/NLeSC/sim-city-webservice) starts
simulations and jobs using the
[SIM-CITY client](http://github.com/NLeSC/sim-city-client).

# Group Root

## Documentation [/]

### Documentation [GET]
This page.

+ Response 200 (text/html)

# Group Jobs

## Submit job [POST /job{?host}]
Start a job. Unless host is given, start the job on the default host.

+ Parameters
    + host (string) ... Host to start job on; one of the hosts given in /hosts.

+ Response 201 (application/json)
    + Attributes
        + `_id`: `job_hostname-uuid-seconds` (string) - job id
        + `batch_id`: 103024 (string) - job id according to the queueing system
        + hostname: example.com (string) - hostname of the queueing system it was submitted to

+ Response 409
+ Response 502
+ Response 503

## Configured hosts [GET /hosts]
Retrieve hosts configured under the webservice with basic (optional) metadata.
<commit_msg>Removed extra docs flag<commit_after>FORMAT: 1A
HOST: https://simcity.amsterdam-complexity.nl/explore/

# SIM-CITY webservice

The [SIM-CITY webservice](http://github.com/NLeSC/sim-city-webservice) starts
simulations and jobs using the
[SIM-CITY client](http://github.com/NLeSC/sim-city-client).

# Group Root

# Documentation [GET /]
This page.

+ Response 200 (text/html)

# Group Jobs

## Submit job [POST /job{?host}]
Start a job. Unless host is given, start the job on the default host.

+ Parameters
    + host (string) ... Host to start job on; one of the hosts given in /hosts.

+ Response 201 (application/json)
    + Attributes
        + `_id`: `job_hostname-uuid-seconds` (string) - job id
        + `batch_id`: 103024 (string) - job id according to the queueing system
        + hostname: example.com (string) - hostname of the queueing system it was submitted to

+ Response 409
+ Response 502
+ Response 503

## Configured hosts [GET /hosts]
Retrieve hosts configured under the webservice with basic (optional) metadata.

{'fraction_non_alphanumeric': 0.11239193083573487, 'fraction_numerical': 0.021133525456292025, 'mean_word_length': 3.6186252771618626, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7272286', 'n_tokens_mistral': 703, 'n_tokens_neox': 647, 'n_words': 228}