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/01/06 21:46:44 UTC

[GitHub] [trafficcontrol] mhoppa commented on a change in pull request #3870: Rewrite /capabilities to Go

mhoppa commented on a change in pull request #3870: Rewrite /capabilities to Go
URL: https://github.com/apache/trafficcontrol/pull/3870#discussion_r363498450
 
 

 ##########
 File path: docs/source/api/capabilities.rst
 ##########
 @@ -99,34 +122,34 @@ Request Structure
 
 Response Structure
 ------------------
-:description: Describes the APIs covered by the capability.
+:description: Describes the permissions covered by the capability.
+:lastUpdated: Date and time of the last update made to this capability, in an ISO-like format
 :name:        Name of the capability
 
 .. code-block:: http
 	:caption: Response Example
 
 	HTTP/1.1 200 OK
 	Access-Control-Allow-Credentials: true
-	Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
+	Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, Set-Cookie, Cookie
 	Access-Control-Allow-Methods: POST,GET,OPTIONS,PUT,DELETE
 	Access-Control-Allow-Origin: *
-	Cache-Control: no-cache, no-store, max-age=0, must-revalidate
 	Content-Type: application/json
-	Date: Wed, 14 Nov 2018 20:33:00 GMT
-	Server: Mojolicious (Perl)
 	Set-Cookie: mojolicious=...; Path=/; Expires=Mon, 18 Nov 2019 17:40:54 GMT; Max-Age=3600; HttpOnly
-	Vary: Accept-Encoding
-	Whole-Content-Sha512: HhhQzw3JBLv90lOeeSGj75uknADanz3fUnQt1E266HAKPTFuTjuIJpf8ni9fb9Chv9LN7mt16utcHMbP8MBHZw==
-	Content-Length: 183
+	Set-Cookie: mojolicious=...; Path=/; HttpOnly
+	Whole-Content-Sha512: A1rjpDy+O+oooYeer2j09pCEDpPEFk/nt8/AaJye2sLkfy93MtquCsB/Rlgz7sCYputd/EPOPDyi2WkN8UB1Rw==
+	X-Server-Name: traffic_ops_golang/
+	Date: Thu, 15 Aug 2019 17:18:03 GMT
+	Content-Length: 219
 
 	{ "alerts": [
 		{
-			"level": "success",
-			"text": "Capability was created."
+			"text": "Capability created.",
 
 Review comment:
   add deprecation alert here?

----------------------------------------------------------------
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


With regards,
Apache Git Services