Skip to content

Commit

Permalink
(#16) - Update the REST API reference
Browse files Browse the repository at this point in the history
  • Loading branch information
braboj committed Aug 12, 2024
1 parent d934fbe commit 355725e
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions docs/rest_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Content : {"day": 1, "ice": 585}
#### Description

```text
Get the configuration for the wall.
Get the configuration parameters to construct the wall.
```

#### Success Response
Expand Down Expand Up @@ -188,7 +188,22 @@ Content : {"volume_ice_per_foot": 195, "cost_per_volume": 1900, "targe
#### Description

```text
Set the configuration for the wall.
Set the configuration parameter to construct the wall.
{
"volume_ice_per_foot": 195,
"cost_per_volume": 1900,
"target_height": 30,
"max_section_count": 2000,
"build_rate": 1,
"num_teams": 20,
"cpu_worktime": 0.01,
"profiles": [
[21, 25, 28],
[17],
[17, 22, 17, 19, 17]
]
}
```

#### Success Response
Expand Down Expand Up @@ -221,7 +236,7 @@ Content : {"status": "success"}
#### Description

```text
Set the logs for the wall.
Get the logs for the wall construction process.
```

#### Success Response
Expand Down

0 comments on commit 355725e

Please sign in to comment.