{"type":"api","title":"List available downloads","meta":{"id":"/apps/pubhub/media/orbital-api/1c9ae58c5602552df6194a1545023fdb0c609c3b/6031b5a0-67fa-3480-bf75-857e24b55963","info":{"description":"Documentation of the Orbital API\n\nTo authenticate:\n\n\nFollow steps 1 through 3 from the SecureX Authorization section of this article to generate a SecureX Token.\nhttps://developer.cisco.com/docs/secure-endpoint/#!authentication\n\n\nclick \"Authorize\" button\nIn \"Value\" - enter token from above, prefixed with \"Bearer \" (no quotes)\nClick \"Authorize\", followed by \"Close\"\n\nNow the \"Try it out\" button can work","title":"Orbital API","version":"0.0.1"},"security":[{"AuthorizationHeader":[]}],"openapi":"3.0.3","servers":[{"description":"North America","url":"https://enterprise.orbital.amp.cisco.com/v0"},{"description":"Asia, Pacific, Japan, and China","url":"https://apjc.orbital.amp.cisco.com/v0"},{"description":"Europe","url":"https://eu.orbital.amp.cisco.com/v0"}],"securitySchemes":{"AuthorizationHeader":{"description":"Ex: Bearer \\\u003ctoken\\\u003e","in":"header","name":"authorization","type":"apiKey"}}},"spec":{"description":"List available downloads","operationId":"idOfDownloadsList","parameters":[{"description":"Type of the download - 1 for endpoints, 2 for results","in":"path","name":"downloadtype","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"description":"Public is the info about a download that can be shared with the ui","properties":{"created":{"description":"download request creation timestamp","format":"date-time","type":"string"},"format":{"description":"CSV or JSON - case matters","type":"string"},"id":{"description":"ID of the created download request","type":"string"},"obj":{"description":"url of object storage","type":"string"},"options":{"type":"object"},"url":{"description":"url to use to fetch the download","type":"string"}},"type":"object","$$ref":"#/components/schemas/Public"},"type":"array"}}},"description":"list downloads by type","$$ref":"#/components/responses/DownloadsListResponse"},"400":{"content":{"application/json":{"schema":{"properties":{"errors":{"example":["download id not found"],"items":{"type":"string"},"type":"array"}},"type":"object","$$ref":"#/components/schemas/ErrorMsg400DownloadFetch"}}},"description":"Download Error 400 Response","$$ref":"#/components/responses/ErrorMsg400"},"401":{"content":{"application/json":{"schema":{"properties":{"errors":{"example":["authentication required"],"items":{"type":"string"},"type":"array"}},"type":"object","$$ref":"#/components/schemas/ErrorMsg401MissingToken"}}},"description":"Download Error 401 Response","$$ref":"#/components/responses/ErrorMsg401Download"}},"security":[{"AuthorizationHeader":[]}],"summary":"List available downloads","tags":["Misc"],"__originalOperationId":"idOfDownloadsList","method":"get","path":"/downloads/{downloadtype}"}}