Skip to content

Commit

Permalink
add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
amrita-shrestha committed Jan 9, 2025
1 parent 27074ac commit df7c67f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions tests/ociswrapper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,31 @@ Also, see `./bin/ociswrapper help` for more information.

- `200 OK` - oCIS server is stopped
- `500 Internal Server Error` - Unable to stop oCIS server

6. `POST /services/<service-name>`

Restart oCIS with service excluded and start excluded oCIS service individually, not covered by the oCIS supervisor.

Body of the request should be a JSON object with the following structure:

```json
{
"ENV_KEY1": "value1",
"ENV_KEY2": "value2"
}
```

Returns:

- `200 OK` - oCIS server is stopped
- `500 Internal Server Error` - Unable to stop oCIS server

7. `DELETE /services/<service-name>`

Stop individually running oCIS service

Returns:

- `200 OK` - command is successfully executed
- `400 Bad Request` - request body is not a valid JSON object
- `500 Internal Server Error`

0 comments on commit df7c67f

Please sign in to comment.