Skip to content

Commit

Permalink
Merge "api-ref: add missing os-server-groups parameters"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Nov 29, 2016
2 parents 1074066 + dba04d5 commit 8dafe05
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api-ref/source/os-server-groups.inc
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ Request
.. rest_parameters:: parameters.yaml

- all_projects: all_projects
- limit: limit_simple
- offset: offset_simple

Response
--------
Expand Down
16 changes: 16 additions & 0 deletions api-ref/source/parameters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,15 @@ limit:
in: query
required: false
type: integer
limit_simple:
description: |
Used in conjunction with ``offset`` to return a slice of items. ``limit``
is the maximum number of items to return. If ``limit`` is not specified,
or exceeds the configurable ``osapi_max_limit``, then ``osapi_max_limit``
will be used instead.
in: query
required: false
type: integer
marker:
description: |
The ID of the last-seen item. Use the ``limit`` parameter to make an initial limited
Expand Down Expand Up @@ -595,6 +604,13 @@ not_tags_query:
match all tags in this list will be returned. Boolean expression in this
case is 'NOT (t1 AND t2)'. Tags in query must be separated by comma.
min_version: 2.26
offset_simple:
description: |
Used in conjunction with ``limit`` to return a slice of items. ``offset``
is where to start in the list.
in: query
required: false
type: integer
reservation_id_query:
in: query
required: false
Expand Down

0 comments on commit 8dafe05

Please sign in to comment.