@manycore/pdm-rest-client
v1.0.0-rc.1
Published
OpenAPI client for @manycore/pdm-rest-client
Readme
@manycore/[email protected]
This generator creates TypeScript/JavaScript client that utilizes axios. The generated Node module can be used in the following environments:
Environment
- Node.js
- Webpack
- Browserify
Language level
- ES5 - you must have a Promises/A+ library installed
- ES6
Module system
- CommonJS
- ES6 module system
It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via package.json. (Reference)
Building
To build and compile the typescript sources to javascript use:
npm install
npm run buildPublishing
First build the package then run npm publish
Consuming
navigate to the folder of your consuming project and run one of the following commands.
published:
npm install @manycore/[email protected] --saveunPublished (not recommended):
npm install PATH_TO_GENERATED_PACKAGE --saveDocumentation for API Endpoints
All URIs are relative to https://api.manycoreapis.com
Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- PlanarModelApi | batchDeletePlanarModel | POST /deco/api/v2/rest/designs/{designId}/levels/{levelId}/planarmodel:batchdelete | 批量删除平面造型数据 PlanarModelApi | batchFetchPlanarModel | POST /deco/api/v1/rest/designs/{designId}/levels/{levelId}/planarmodel:batchget | 批量获取平面造型数据 PlanarModelApi | batchFetchPlanarModelBuildResult | POST /deco/api/v1/rest/designs/{designId}/levels/{levelId}/planarmodel:buildgeom | 批量获取平面造型建模结果 PlanarModelApi | batchSavePlanarModel | POST /deco/api/v2/rest/designs/{designId}/levels/{levelId}/planarmodel:batchcreate | 批量保存平面造型数据 PlanarModelApi | deletePlanarModel | DELETE /deco/api/v2/rest/designs/{designId}/levels/{levelId}/planarmodel/{modelId} | 根据平面造型ID删除单个平面造型数据 PlanarModelApi | fetchPlanarModel | GET /deco/api/v1/rest/designs/{designId}/levels/{levelId}/planarmodel/{modelId} | 获取平面造型数据 PlanarModelApi | fetchPlanarModelListByLevelId | GET /deco/api/v1/rest/designs/{designId}/levels/{levelId}/planarmodels | 分页获取平面造型数据列表 PlanarModelApi | savePlanarModel | POST /deco/api/v2/rest/designs/{designId}/levels/{levelId}/planarmodel | 保存单个平面造型数据
Documentation For Models
- BatchDeletePlanarModelRequest
- BatchDeletePlanarModelResponse
- BatchFetchPlanarModelBuildResultResponse
- BatchFetchPlanarModelResponse
- BatchGetPlanarModelRequest
- BatchSavePlanarModelRequest
- BatchSavePlanarModelResponse
- EdgeAttribute
- FaceAttribute
- FaceData
- FetchPlanarModelListPageResponse
- PlanarModel
- PlanarModelBuildResult
- PlanarModelFace
- PlanarModelId
- SavePlanarModelRequest
- StripLight
- StripLightMode
- StripLightProfile
Documentation For Authorization
Endpoints do not require authorization.
