Skip to content

Commit

Permalink
fix wrong example in rest-api docs
Browse files Browse the repository at this point in the history
the example uses wrong parameters to get configs and activities, according to the code: https://github.com/Icinga/icingaweb2-module-director/blob/master/application/controllers/ConfigController.php#L144
  • Loading branch information
rndmh3ro authored and Thomas-Gelf committed Jul 30, 2023
1 parent 479d964 commit 6e49615
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/70-REST-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -560,8 +560,8 @@ Another possibility is to pass a list of checksums to fetch the status of
specific deployments and (activity log) activities.
Following, you can see an example of how to do it:

GET director/config/deployment-status?config_checksums=617b9cbad9e141cfc3f4cb636ec684bd60073be2,
617b9cbad9e141cfc3f4cb636ec684bd60073be1&activity_log_checksums=617b9cbad9e141cfc3f4cb636ec684bd60073be1,
GET director/config/deployment-status?configs=617b9cbad9e141cfc3f4cb636ec684bd60073be2,
617b9cbad9e141cfc3f4cb636ec684bd60073be1&activitiess=617b9cbad9e141cfc3f4cb636ec684bd60073be1,
028b3a19ca7457f5fc9dbb5e4ea527eaf61616a2

```json
Expand Down

0 comments on commit 6e49615

Please sign in to comment.