API V2
API Reference
Download an artifact file from the underlying container.
1 min
code examples curl location 'https //api sandbox gameye gameye net/artifacts?session=string\&path=string' \\ \ header 'accept application/json' \\ \ header 'content type application/json'import requests import json url = "https //api sandbox gameye gameye net/artifacts?session=string\&path=string" payload = {} headers = { 'accept' 'application/json', 'content type' 'application/json' } response = requests request("get", url, headers=headers, data=payload) print(response text) var options = new restclientoptions("https //api sandbox gameye gameye net") { maxtimeout = 1, }; var client = new restclient(options); var request = new restrequest("/artifacts?session=string\&path=string", method get); request addheader("accept", "application/json"); request addheader("content type", "application/json"); restresponse response = await client executeasync(request); console writeline(response content);var request = require('request'); var options = { 'method' 'get', 'url' 'https //api sandbox gameye gameye net/artifacts?session=string\&path=string', 'headers' { 'accept' 'application/json', 'content type' 'application/json' } }; request(options, function (error, response) { if (error) throw new error(error); console log(response body); }); responses // a download of the artifact in tar gz format has been initiated // you are not authorized to fetch an artifact please make sure that the included bearer token is correct { "statuscode" 0, "code" "", "message" "", "details" "", "path" "", "timestamp" "", "identifier" "", "violations" \[ { "field" "", "description" "" } ] }// could not find a session with the given session id it is possible that either the session has never existed at all or the container's lifespan on the machine has expired { "statuscode" 0, "code" "", "message" "", "details" "", "path" "", "timestamp" "", "identifier" "", "violations" \[ { "field" "", "description" "" } ] }
