Hello,
I just discover a new strange behavior of your API when I use the following endpoint : "https://api.cisco.com/security/advisories/ios?version=12.2(50)SE4"
Now, I have 2 possibilities of response (depending on the time I request) :
- The first one is : the json response with all the attriutes awaited (advisoryId ... and so on)
- The second one is : an error response with errorCode = "NO_IOS_AFFECTING_ADVISORIES_FOUND"
Please find below a sample of curl command and return of your API
curl -i -X GET -s -k -H "Accept: application/json" -H "Authorization: Bearer xxxx" "https://api.cisco.com/security/advisories/ios?version=12.2(55)SE4"
HTTP/1.1 200 Connection established
HTTP/1.1 406 Not Acceptable
Date: Mon, 03 Jun 2019 14:19:20 GMT
X-Mashery-Message-ID: 24026534-4be6-47bc-a350-00ade29f67f4
Content-Type: application/json
Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Allow-Headers: Content-type, fromPartyID, inputFormat, outputFormat, Authorization, Content-Length, Accept, Origin
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload;
X-RP-SSL-Name: cae-prd-rcdn-int-dedicated3-rp-0
Connection: close
Transfer-Encoding: chunked
{"errorCode":"NO_IOS_AFFECTING_ADVISORIES_FOUND","errorMessage":"No Cisco Security Advisories affect the Cisco IOS Software release"}
"
Could you please have an explanation of the unstablility of the API ?
Many thanks in advance
Chris