ocket8888 commented on a change in pull request #4444: Document undocumented 
Traffic Ops routes
URL: https://github.com/apache/trafficcontrol/pull/4444#discussion_r384058887
 
 

 ##########
 File path: docs/source/api/v2/deliveryservice_requests_id_assign.rst
 ##########
 @@ -0,0 +1,177 @@
+..
+..
+.. 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-deliveryservice_requests-id-assign:
+
+******************************************
+``deliveryservice_requests/{{ID}}/assign``
+******************************************
+Assign a :term:`Delivery Service Request` to a user.
+
+``PUT``
+=======
+:Auth. Required: Yes
+:Roles Required: "admin" or "operations"
+:Response Type:  Object
+
+Request Structure
+-----------------
+
+.. code-block:: http
+       :caption: Request Example
+
+       PUT /api/2.0/deliveryservice_requests/1/assign HTTP/1.1
+       User-Agent: python-requests/2.22.0
+       Accept-Encoding: gzip, deflate
+       Accept: */*
+       Connection: keep-alive
+       Cookie: mojolicious=...
+       Content-Length: 28
+
+       {
+               "id": 1,
+               "assigneeId": 2
+       }
+
+Response Structure
+------------------
+:author:            The author of the Delivery Service Request
+:authorId:          The integral, unique identifier assigned to the author
+:changeType:        The change type of the :term:`DSR <Delivery Service 
Request>`. It can be ``create``, ``update``, or ``delete``....
+:createdAt:         The date and time at which the :term:`DSR <Delivery 
Service Request>` was created, in ISO format.
+:deliveryService:   The delivery service that the :term:`DSR <Delivery Service 
Request>` is requesting to update.
 
 Review comment:
   sub-property definitions?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to