You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2020/05/31 02:48:11 UTC

[GitHub] [trafficcontrol] ocket8888 commented on a change in pull request #4629: API Documentation for deliveryservice_requests

ocket8888 commented on a change in pull request #4629:
URL: https://github.com/apache/trafficcontrol/pull/4629#discussion_r432902176



##########
File path: docs/source/api/v1/deliveryservice_requests.rst
##########
@@ -0,0 +1,1104 @@
+..
+..
+.. Licensed under the Apache License, Version 2.0 (the "License");
+.. you may not use this file except in compliance with the License.
+.. You may obtain a copy of the License at
+..
+..     http://www.apache.org/licenses/LICENSE-2.0
+..
+.. Unless required by applicable law or agreed to in writing, software
+.. distributed under the License is distributed on an "AS IS" BASIS,
+.. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+.. See the License for the specific language governing permissions and
+.. limitations under the License.
+..
+
+.. _to-api-v1-deliveryservice_requests:
+
+****************************
+``deliveryservice_requests``
+****************************
+
+``GET``
+=======
+Retrieves :ref:`ds_requests`
+
+:Auth. Required:    Yes
+:Roles Required:    None\ [#tenancy]_
+:Response Type:     Array
+
+Request Structure
+-----------------
+.. table:: Request Query Parameters
+
+    +-------------+----------+--------------------------------------------------------------------------------------------------------------------------------------+
+    | Name        | Required | Description                                                                                                                          |
+    +=============+==========+======================================================================================================================================+
+    | assignee    | no       | Show only the :ref:`ds_requests` that are assigned to this assignee identified by their username's text-based, unique identifier     |
+    +-------------+----------+--------------------------------------------------------------------------------------------------------------------------------------+
+    | assigneeId  | no       | Show only the :ref:`ds_requests` that are assigned to this assignee identified by their username's integral, unique identifier       |
+    +-------------+----------+--------------------------------------------------------------------------------------------------------------------------------------+
+    | author      | no       | Show only the :ref:`ds_requests` created by this author identified by their username's text-based, unique identifier                 |
+    +-------------+----------+--------------------------------------------------------------------------------------------------------------------------------------+
+    | authorId    | no       | Show only the :ref:`ds_requests` created by this author identified by their username's integral, unique identifier                   |
+    +-------------+----------+--------------------------------------------------------------------------------------------------------------------------------------+
+    | changeType  | no       | Return only the :ref:`ds_requests` that have this changeType\ [#changeType]_ identified by this text-based, unique identifier        |
+    +-------------+----------+--------------------------------------------------------------------------------------------------------------------------------------+
+    | id          | no       | Show only the :ref:`ds_requests` that has this integral, unique identifier                                                           |
+    +-------------+----------+--------------------------------------------------------------------------------------------------------------------------------------+
+    | status      | no       | Return only :ref:`ds_requests` that have this status\ [#status]_ identified by this text-based, unique identifier                    |
+    +-------------+----------+--------------------------------------------------------------------------------------------------------------------------------------+
+    | xmlId       | no       | Return only :ref:`ds_requests` pertaining to a :term:`Delivery Service` with this xmlId identified by this text-based, unique        |
+    |             |          | identifier                                                                                                                           |
+    +-------------+----------+--------------------------------------------------------------------------------------------------------------------------------------+
+    | orderby     | no       | Choose the ordering of the results - must be the name of one of the fields of the objects in the ``response``                        |
+    |             |          | array                                                                                                                                |
+    +-------------+----------+--------------------------------------------------------------------------------------------------------------------------------------+
+    | sortOrder   | no       | Changes the order of sorting. Either ascending (default or "asc") or descending ("desc")                                             |
+    +-------------+----------+--------------------------------------------------------------------------------------------------------------------------------------+
+    | limit       | no       | Choose the maximum number of results to return                                                                                       |
+    +-------------+----------+--------------------------------------------------------------------------------------------------------------------------------------+
+    | offset      | no       | The number of results to skip before beginning to return results. Must use in conjunction with limit                                 |
+    +-------------+----------+--------------------------------------------------------------------------------------------------------------------------------------+
+    | page        | no       | Return the n\ :sup:`th` page of results, where "n" is the value of this parameter, pages are ``limit`` long and the first page is 1. |
+    |             |          | If ``offset`` was defined, this query parameter has no effect. ``limit`` must be defined to make use of ``page``.                    |
+    +-------------+----------+--------------------------------------------------------------------------------------------------------------------------------------+
+

Review comment:
       You're using spaces for indentation. Please use tabs.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org