162 lines
5.3 KiB
Plaintext
162 lines
5.3 KiB
Plaintext
---
|
|
id: download-latest
|
|
title: "Downloads the given file from a build's data."
|
|
description: "Downloads the given file from a build's data."
|
|
sidebar_label: "Downloads the given file from a build's data."
|
|
hide_title: true
|
|
hide_table_of_contents: true
|
|
api: eJylVMtu2zAQ/BVhL40R2nLTU3kxDPQVoGiDJr3UEApaWltMKZIhKTeuon8vVqZkp3m0SX0xtVxyZ2aH20AQaw98AYX5qZURxTg3OjijFDrIGBiLTgRp9GkBfEj6KAL6AAyscKLCgI7uaECLCoGDdeYSc9qXmj5FKIFBgT530tJlwOGixCTmJbJAHeRKopsAA4dXtXRYAA+uRgY+L7ESwBu6KKCj0wsx/pUdA4OwtVTRByf1GloGeC0qqyi2xq1HBy0bcG3Qear+GK55ErMSs0rCHuS/IjuacdWpc7OYjl9PsuPx7GjGrcOb80/zs/MPny9GFIibo9lodpfFAeRe8b9g7tN60MtaquIpYs7H3wjR9/F9qrYZXeSt0R49nX01PaG/2yjemVoTTjIQ6kAJwlol884/6aWnrOYAQaxilp1ZWvr9yexN5OU7Vmu5QZ2spMJk5UyViB3PFz4pRBBEt8JQmqJr/s6eoQQO6eYkjW30aRNXbRob7dMmrtq0u8+nuw6mvao+bfplCww8uk3v+Nop4FCGYD1PhwOTnfeqfGLcGkg+qVem4yxDZ849sfnZKbDBmhxeTqaTKTnZGh8q0WkWzfBUNW5pOegd8DqkVgmpqUpHoIlKLWBzQrJFrYAB37/lXi6K7l/STjFgoPqZMKhGiYN/Mwal8YFqNM1SePzqVNtS+KpGtwW+yBhshJNiSQItGiikp3UBfCWUxzt0Bp/B0Zfo8lHy8Fi5l30MCr0lgkLV9AUMfuD2YI7Re3wWmseGyTPw9Kr/B54HB8Uz4Ay9bbOWQYmiQNd1brc9z3O04eDgnWlAD2N4se/fXkDb/gZOgTrb
|
|
sidebar_class_name: "get api-method"
|
|
info_path: api/downloads/downloads-api
|
|
custom_edit_url: null
|
|
---
|
|
|
|
import ApiTabs from "@theme/ApiTabs";
|
|
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
|
|
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
|
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
|
|
import MimeTabs from "@theme/MimeTabs";
|
|
import ParamsItem from "@theme/ParamsItem";
|
|
import ResponseSamples from "@theme/ResponseSamples";
|
|
import SchemaItem from "@theme/SchemaItem";
|
|
import SchemaTabs from "@theme/SchemaTabs";
|
|
import Markdown from "@theme/Markdown";
|
|
import OperationTabs from "@theme/OperationTabs";
|
|
import TabItem from "@theme/TabItem";
|
|
|
|
<h1
|
|
className={"openapi__heading"}
|
|
>
|
|
Downloads the given file from a build's data.
|
|
</h1>
|
|
|
|
<MethodEndpoint
|
|
method={"get"}
|
|
path={"/v2/projects/{project}/versions/{version}/builds/latest/downloads/{download}"}
|
|
>
|
|
|
|
</MethodEndpoint>
|
|
|
|
|
|
|
|
Downloads the given file from a build's data.
|
|
|
|
## Request
|
|
|
|
<details
|
|
style={{"marginBottom":"1rem"}}
|
|
className={"openapi-markdown__details"}
|
|
data-collapsed={false}
|
|
open={true}
|
|
>
|
|
<summary
|
|
style={{}}
|
|
>
|
|
<h3
|
|
className={"openapi-markdown__details-summary-header-params"}
|
|
>
|
|
Path Parameters
|
|
</h3>
|
|
</summary><div>
|
|
<ul>
|
|
<ParamsItem
|
|
className={"paramsItem"}
|
|
param={{"name":"project","in":"path","description":"The project identifier.","required":true,"schema":{"pattern":"[a-z]+","type":"string"},"example":"geyser"}}
|
|
>
|
|
|
|
</ParamsItem><ParamsItem
|
|
className={"paramsItem"}
|
|
param={{"name":"version","in":"path","description":"A version of the project.","required":true,"schema":{"pattern":"(?:latest|[0-9.]+-?(?:pre|SNAPSHOT)?(?:[0-9.]+)?)?","type":"string"}}}
|
|
>
|
|
|
|
</ParamsItem><ParamsItem
|
|
className={"paramsItem"}
|
|
param={{"name":"download","in":"path","description":"A download of the build.","required":true,"schema":{"pattern":"[a-zA-Z0-9._-]+","type":"string"}}}
|
|
>
|
|
|
|
</ParamsItem>
|
|
</ul>
|
|
</div>
|
|
</details><div>
|
|
<div>
|
|
<ApiTabs
|
|
label={undefined}
|
|
id={undefined}
|
|
>
|
|
<TabItem
|
|
label={"302"}
|
|
value={"302"}
|
|
>
|
|
<div>
|
|
|
|
|
|
Found
|
|
|
|
|
|
</div><div>
|
|
<MimeTabs
|
|
className={"openapi-tabs__mime"}
|
|
schemaType={"response"}
|
|
>
|
|
<TabItem
|
|
label={"application/json"}
|
|
value={"application/json"}
|
|
>
|
|
<SchemaTabs
|
|
className={"openapi-tabs__schema"}
|
|
>
|
|
<TabItem
|
|
label={"Schema"}
|
|
value={"Schema"}
|
|
>
|
|
<details
|
|
style={{}}
|
|
className={"openapi-markdown__details response"}
|
|
data-collapsed={false}
|
|
open={true}
|
|
>
|
|
<summary
|
|
style={{}}
|
|
className={"openapi-markdown__details-summary-response"}
|
|
>
|
|
<strong>
|
|
Schema
|
|
</strong>
|
|
</summary><div
|
|
style={{"textAlign":"left","marginLeft":"1rem"}}
|
|
>
|
|
|
|
</div><ul
|
|
style={{"marginLeft":"1rem"}}
|
|
>
|
|
<div
|
|
style={{"marginTop":".5rem","marginBottom":".5rem","marginLeft":"1rem"}}
|
|
>
|
|
|
|
|
|
object
|
|
|
|
|
|
</div>
|
|
</ul>
|
|
</details>
|
|
</TabItem><TabItem
|
|
label={"Example (from schema)"}
|
|
value={"Example (from schema)"}
|
|
>
|
|
<ResponseSamples
|
|
responseExample={"{}"}
|
|
language={"json"}
|
|
>
|
|
|
|
</ResponseSamples>
|
|
</TabItem>
|
|
</SchemaTabs>
|
|
</TabItem>
|
|
</MimeTabs>
|
|
</div>
|
|
</TabItem>
|
|
</ApiTabs>
|
|
</div>
|
|
</div>
|
|
|