-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR updates the [OpenAPI spec with lmai commit e6a1f8f](https://github.com/lastmile-ai/lmai/blob/e6a1f8f/www/swagger/models/2/model.json) and regenerates the API documentation.
- Loading branch information
Showing
30 changed files
with
2,913 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,185 @@ | ||
--- | ||
id: add-project-members | ||
title: "Add Project Members" | ||
description: "Description of add_members" | ||
api: eJytlMFu2zAQRH9F2DMTGT7q5qQt4KJBjcRtD4YQrKWNzYQiGZJyYgj892Ip2VacNr30JEoakjuzj+wg4MZDsYKFM49UBSgFGEsOgzR6XkMBs7oe/t1QsybnQUBNvnLSsgYK+HR6y8xDhnV93xylnqrWybCHYtXBFaEjN2vDFopVGUsBjp5b8uHK1HsoOqiMDqQDD9FaJatUR/7oeaMOfLWlBnkUZFD0p+pu+wVBQNhbVph18iXAOjYWJHlewPaz2GJ3kPrgpN5AFOCMonntR//QOdyDABmoGX+XOtCGHMQYezfSUc2BnjY4LVfGQeat0b4vZDqZ8ONtpHdtVZH3D63Kjt0A8V/i6bf+Zz6+r2DkdG2MItRwbvSgTOaigIbC1jA51qQ+WOR2Q45W5tMc22DuaYcqHwLKz3lxOx4xLq1TUMA2BOuLPFfoQyMVobysafeOwoUzdVslCPs1sovsG/pwIxVlszkwbQcY7zio3ucYyaNV3pJrSTK2nkQghsEX4xoMUMDXX8sUBzfg9kTy51dsLOf/BrMDXiO6VpMyCpD6wYybNqo6my3m2c/pO7PvJUV2bRprNOnAMXKGvXR6OWGiuRkNJkw0NgMb2QBH9pejPTqQH5/yIbdAryG3CqXmLVP7uqH/K0ArQQB7OTLQUzfwN16xFLBleooVdN0aPf1wKkb+/NyS48ukFLBDJ3HNka04xi1hTS6B80R7KOC6r/1iycWxXLXpJJ+fnCgOM2ZVRTZ8qC1HgC++3y0ZiuHyakzNcxy+cI/xBQoAvk15dmItfetAod60uGFtvyYjhG8JPCMuuTrcRHo/qrDresXSPJGOEcRgJfA7RD6UvwFnegg9 | ||
sidebar_class_name: "post api-method" | ||
info_path: api/lastmile-ai-api-v-2 | ||
custom_edit_url: null | ||
show_extensions: true | ||
--- | ||
|
||
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 Heading from "@theme/Heading"; | ||
import OperationTabs from "@theme/OperationTabs"; | ||
import TabItem from "@theme/TabItem"; | ||
|
||
<Heading | ||
as={"h1"} | ||
className={"openapi__heading"} | ||
children={"Add Project Members"} | ||
> | ||
</Heading> | ||
|
||
<MethodEndpoint | ||
method={"post"} | ||
path={"/api/2/auto_eval/project/add_members"} | ||
context={"endpoint"} | ||
> | ||
|
||
</MethodEndpoint> | ||
|
||
|
||
|
||
Description of add_members | ||
|
||
<Heading | ||
id={"request"} | ||
as={"h2"} | ||
className={"openapi-tabs__heading"} | ||
children={"Request"} | ||
> | ||
</Heading> | ||
|
||
<MimeTabs | ||
className={"openapi-tabs__mime"} | ||
> | ||
<TabItem | ||
label={"application/json"} | ||
value={"application/json-schema"} | ||
> | ||
<details | ||
style={{}} | ||
className={"openapi-markdown__details mime"} | ||
data-collapsed={false} | ||
open={true} | ||
> | ||
<summary | ||
style={{}} | ||
className={"openapi-markdown__details-summary-mime"} | ||
> | ||
<h3 | ||
className={"openapi-markdown__details-summary-header-body"} | ||
> | ||
Body | ||
</h3> | ||
</summary><div | ||
style={{"textAlign":"left","marginLeft":"1rem"}} | ||
> | ||
|
||
</div><ul | ||
style={{"marginLeft":"1rem"}} | ||
> | ||
<SchemaItem | ||
collapsible={false} | ||
name={"projectId"} | ||
required={true} | ||
schemaName={"string"} | ||
qualifierMessage={undefined} | ||
schema={{"type":"string"}} | ||
> | ||
|
||
</SchemaItem><SchemaItem | ||
collapsible={false} | ||
name={"roleIds"} | ||
required={true} | ||
schemaName={"integer[]"} | ||
qualifierMessage={undefined} | ||
schema={{"type":"array","items":{"type":"integer"}}} | ||
> | ||
|
||
</SchemaItem> | ||
</ul> | ||
</details> | ||
</TabItem> | ||
</MimeTabs><div> | ||
<div> | ||
<ApiTabs | ||
label={undefined} | ||
id={undefined} | ||
> | ||
<TabItem | ||
label={"200"} | ||
value={"200"} | ||
> | ||
<div> | ||
|
||
|
||
Successful operation | ||
|
||
|
||
</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"}} | ||
> | ||
<SchemaItem | ||
collapsible={false} | ||
name={"success"} | ||
required={true} | ||
schemaName={"boolean"} | ||
qualifierMessage={undefined} | ||
schema={{"type":"boolean"}} | ||
> | ||
|
||
</SchemaItem> | ||
</ul> | ||
</details> | ||
</TabItem><TabItem | ||
label={"Example (from schema)"} | ||
value={"Example (from schema)"} | ||
> | ||
<ResponseSamples | ||
responseExample={"{\n \"success\": true\n}"} | ||
language={"json"} | ||
> | ||
|
||
</ResponseSamples> | ||
</TabItem> | ||
</SchemaTabs> | ||
</TabItem> | ||
</MimeTabs> | ||
</div> | ||
</TabItem> | ||
</ApiTabs> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.