Autogenerate rest api docs
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
This commit is contained in:
33 files changed
+8446
-55
No files matched your search
@@ -0,0 +1,157 @@
|
||||
---
|
||||
id: build-latest
|
||||
title: "Gets information related to a specific build."
|
||||
description: "Gets information related to a specific build."
|
||||
sidebar_label: "Gets information related to a specific build."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJydVE1v2zAM/SsGTw2qxFl3mi5BgG1dgWEr1u4U+KBYTKxOllRJzpq5/u8DFSXpx1Zs9cUSRVPvPT66hyjWAfgCNuiDsma87JSW49qa6K3W6KFiYB16EZU1FxI4pIzPImKIwMAJL1qM6KlKD0a0CByctzdY07kytBWxAQYSQ+2Vo0rA4brBIucVSqKJaqXQT4CBx9tOeZTAo++QQagbbAXwngpF9PT1Qox/VafAIG4d3RiiV2YNAwO8E63TFFvjNqCHgR1wZZYv4poXOauwqyIeQf4rspMZ10md+8V0/G5SnY5nJzPuPN5ffZlfXn36ej2iQD4czUaz5yyGiu4KzpqAgcq/nZ7R6zHSj7YzEhhQt9BEShDOaVWnZpU3gbL6ByDzLXaZmjPQ85T9OcZQKLOyvk1VCo/ERhbRFqIIDmu1UnWRTECKtBgbK5PYOzvEBjiUm7MyyxbKPq+GMgsbyj6vhjIVCqXe+ymg3+zN1HkNHJoYXeBlKe1Po62Qk11b23pi/RpIKYKb6KmY+v4+Z4ZifnkB7NB1Dm8m08mUTOJsiK1I8mRr/C/xR7IdpI14F0unhTJ0SyLQZ1EWsDkjhbIswIAfx2SvDEWPJt2JAwyyPBWDxoZItfp+KQJ+93oYKHzbod8CX1QMNsIrsSQhFj1IFWgtga+EDvgM9sE6cPIte3tU/H0y/8gyB4XZEhGhO9oBgx+4ffAroCl8FZqX5vEVePbqDtXAoEEh0SeldqfzukYXH3z3bKDIcAfTn3+4hmH4DX1kzFw=
|
||||
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"}
|
||||
>
|
||||
Gets information related to a specific build.
|
||||
</h1>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"get"}
|
||||
path={"/v2/projects/{project}/versions/{version}/builds/latest"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
|
||||
|
||||
Gets information related to a specific build.
|
||||
|
||||
## 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>
|
||||
</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>
|
||||
|
||||
Reference in new issue
Block a user