Skip to content

Commit

Permalink
update apiary
Browse files Browse the repository at this point in the history
  • Loading branch information
hmunfru committed Aug 16, 2016
1 parent c435513 commit 7f577e9
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions apiary.apib
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ Attributes:
"windowsize": <windows_size>
}

## Servers Collection [/v1.0/{{tenantid}/servers/]
## Servers Collection [/v1.0/{tenantid}/servers/]
### Get the list of all server's rules [GET]
This operation returns a list of servers with their rules.
+ Parameters
Expand Down Expand Up @@ -478,23 +478,23 @@ This operation gets a specific rule.

+ Response 200 (application/json)
{
"rules":
[
{
"name": <NAME>,
"condition": <CONDITION_DESCRIPTION>,
"action": <ACTION_ON_SERVER>,
"ruleId": "<RULE_ID>"
},
{
"name": <NAME2>,
"condition": <CONDITION_DESCRIPTION>,
"action": <ACTION_ON_SERVER>,
"ruleId": "<RULE_ID>"
}
]
"rules": [
{
"name": <NAME>,
"condition": <CONDITION_DESCRIPTION>,
"action": <ACTION_ON_SERVER>,
"ruleId": "<RULE_ID>"
},
{
"name": <NAME2>,
"condition": <CONDITION_DESCRIPTION>,
"action": <ACTION_ON_SERVER>,
"ruleId": "<RULE_ID>"
}
]
}


## Tenant elasticity Rule Collection [/v1.0/{tenantid}/rules/{ruleid}]
### Update an elasticity rule [PUT]
This operation allows to update the rule condition, the action or both or a specific server
Expand Down

0 comments on commit 7f577e9

Please sign in to comment.