Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nioupola committed Aug 29, 2022
1 parent 18bf6f2 commit 1c4ccd0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/api/services_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ are present in your Staytus site.
/api/v1/services/all
```

This method accepts not parameters and will return an array of
This method accepts no parameters and will return an array of
all services along with their statuses. The method will return
an array of service objects (see `services/info` for an example).

Expand Down Expand Up @@ -42,7 +42,7 @@ an array of service objects (see `services/info` for an example).
}
```

## Seting the status for a service
## Setting the status for a service

```text
/api/v1/services/set_status
Expand All @@ -51,4 +51,4 @@ an array of service objects (see `services/info` for an example).
* `service` - the permalink for the service you want to set
* `status` - the permalink of the status you want to set

This will return the service's details. `services/info` method.
This will return the service's details, `services/info` method.

0 comments on commit 1c4ccd0

Please sign in to comment.