Skip to content

Commit

Permalink
ci: jenkins push
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins_job committed Jun 24, 2020
1 parent 074663f commit b6d8060
Show file tree
Hide file tree
Showing 125 changed files with 4,464 additions and 338 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ The Carbon API uses a [JWT](https://en.wikipedia.org/wiki/JSON_Web_Token) token
**Printed Parts:** A specific instance of a part that has been printed and properly serialized.
**Orders:** A logical grouping of parts you would like to print on as few builds as possible.
**Part Orders:** A logical grouping of parts you would like to be auto packed on as few builds as possible.
**Print Orders:** A single build that you would like to queue N times on M printers.
**Builds:** A printable set of parts arranged on a build platform ready for printing.
Expand Down
45 changes: 19 additions & 26 deletions v1/python/README.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,13 @@
# carbon3d-client
Welcome to the Carbon DLS API docs!

A Carbon DLS API token ([JWT](https://en.wikipedia.org/wiki/JSON_Web_Token)) must be included with each request to the API.

Steps to create API tokens:
- Create and download an API key [here](https://print.carbon3d.com/api_keys)
- For testing: Generate JWT tokens using the [token generator](/token_generator)
- For production: Generate JWT tokens dynamically (<em>see authtoken-create.py example</em>)
- A valid Carbon API token must be included as <code>Authorization: Bearer [token]</code> HTTP header.

This API provides a programmatic interface for submitting part (and soon build) orders. The general process for creating an order is as follows:

- Upload model files to the API with the [/models](#/Models) endpoint
- Create parts that reference a model and a part number with the [/parts](#/Parts) endpoint
- Part numbers can be created [here](https://print.carbon3d.com/catalog_parts)
- Create an order with the [/orders](#/Orders) endpoint

Uploaded models, parts and orders can be retrieved either in bulk or by UUID at the [/models](#/Models), [/parts](#/Parts) and [/orders](#/Orders) endpoints, respectively.

Once a part order is submitted, automatic packing will create one or more builds (for mass-customization applications only).

Builds can be retrieved either in bulk or by UUID at the [/builds](#/Builds) endpoint.
- Build attachments (traveler, slice video) can be retrieved by UUID at the [/attachments](#/Attachments) endpoint.

This API also provides a programmatic interface to access [printer](#/Printers) (fleet) status and query for [prints](#/Prints).
You can find all relevant documentation here: https://github.com/carbon3d/carbon3d-api


This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 0.0.5
- Package version: 0.0.5
- API version: 0.0.6
- Package version: 0.0.6
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://www.carbon3d.com](https://www.carbon3d.com)

Expand Down Expand Up @@ -127,9 +105,16 @@ Class | Method | HTTP request | Description
*OrdersApi* | [**get_order**](docs/OrdersApi.md#get_order) | **GET** /orders/{uuid} | Get an Order
*OrdersApi* | [**get_orders**](docs/OrdersApi.md#get_orders) | **GET** /orders | Fetch orders
*OrdersApi* | [**update_order**](docs/OrdersApi.md#update_order) | **PATCH** /orders/{uuid} | Update an Order
*PartOrdersApi* | [**create_part_order**](docs/PartOrdersApi.md#create_part_order) | **POST** /part_orders | Create a PartOrder
*PartOrdersApi* | [**delete_part_order**](docs/PartOrdersApi.md#delete_part_order) | **DELETE** /part_orders/{uuid} | Cancel a PartOrder
*PartOrdersApi* | [**get_part_order**](docs/PartOrdersApi.md#get_part_order) | **GET** /part_orders/{uuid} | Get a PartOrder
*PartOrdersApi* | [**get_part_orders**](docs/PartOrdersApi.md#get_part_orders) | **GET** /part_orders | Fetch part orders
*PartOrdersApi* | [**update_part_order**](docs/PartOrdersApi.md#update_part_order) | **PATCH** /part_orders/{uuid} | Update a PartOrder
*PartsApi* | [**create_part**](docs/PartsApi.md#create_part) | **POST** /parts | Create a Part
*PartsApi* | [**get_part**](docs/PartsApi.md#get_part) | **GET** /parts/{uuid} | Fetch a Part
*PartsApi* | [**get_parts**](docs/PartsApi.md#get_parts) | **GET** /parts | Fetch parts
*PrintOrdersApi* | [**create_print_order**](docs/PrintOrdersApi.md#create_print_order) | **POST** /print_orders | Create a PrintOrder
*PrintOrdersApi* | [**update_print_order**](docs/PrintOrdersApi.md#update_print_order) | **PATCH** /print_orders/{uuid} | Update a PrintOrder
*PrintedPartsApi* | [**get_printed_part**](docs/PrintedPartsApi.md#get_printed_part) | **GET** /printed_parts/{uuid} | Fetch a printed Part
*PrintedPartsApi* | [**get_printed_parts**](docs/PrintedPartsApi.md#get_printed_parts) | **GET** /printed_parts | Fetch printed parts
*PrintersApi* | [**get_printer**](docs/PrintersApi.md#get_printer) | **GET** /printers/{name} | Fetch a specific printer&#39;s status information
Expand All @@ -147,16 +132,24 @@ Class | Method | HTTP request | Description
- [Order](docs/Order.md)
- [OrderRequest](docs/OrderRequest.md)
- [OrderRequestParts](docs/OrderRequestParts.md)
- [OrderStatus](docs/OrderStatus.md)
- [OrderUpdateRequest](docs/OrderUpdateRequest.md)
- [OrdersResponse](docs/OrdersResponse.md)
- [OrdersResponseOrders](docs/OrdersResponseOrders.md)
- [Part](docs/Part.md)
- [PartGenealogy](docs/PartGenealogy.md)
- [PartGenealogyBuildInfo](docs/PartGenealogyBuildInfo.md)
- [PartGenealogyPrintInfo](docs/PartGenealogyPrintInfo.md)
- [PartOrder](docs/PartOrder.md)
- [PartOrderRequest](docs/PartOrderRequest.md)
- [PartOrderStatus](docs/PartOrderStatus.md)
- [PartOrderUpdateRequest](docs/PartOrderUpdateRequest.md)
- [PartOrdersResponse](docs/PartOrdersResponse.md)
- [PartOrdersResponsePartOrders](docs/PartOrdersResponsePartOrders.md)
- [PartRequest](docs/PartRequest.md)
- [PartsResponse](docs/PartsResponse.md)
- [PrintOrder](docs/PrintOrder.md)
- [PrintOrderRequest](docs/PrintOrderRequest.md)
- [PrintOrderUpdateRequest](docs/PrintOrderUpdateRequest.md)
- [PrintRef](docs/PrintRef.md)
- [PrintedPart](docs/PrintedPart.md)
- [PrintedPartRef](docs/PrintedPartRef.md)
Expand Down
18 changes: 14 additions & 4 deletions v1/python/carbon3d/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,26 @@
"""
Carbon DLS API
Welcome to the Carbon DLS API docs! A Carbon DLS API token ([JWT](https://en.wikipedia.org/wiki/JSON_Web_Token)) must be included with each request to the API. Steps to create API tokens: - Create and download an API key [here](https://print.carbon3d.com/api_keys) - For testing: Generate JWT tokens using the [token generator](/token_generator) - For production: Generate JWT tokens dynamically (<em>see authtoken-create.py example</em>) - A valid Carbon API token must be included as <code>Authorization: Bearer [token]</code> HTTP header. This API provides a programmatic interface for submitting part (and soon build) orders. The general process for creating an order is as follows: - Upload model files to the API with the [/models](#/Models) endpoint - Create parts that reference a model and a part number with the [/parts](#/Parts) endpoint - Part numbers can be created [here](https://print.carbon3d.com/catalog_parts) - Create an order with the [/orders](#/Orders) endpoint Uploaded models, parts and orders can be retrieved either in bulk or by UUID at the [/models](#/Models), [/parts](#/Parts) and [/orders](#/Orders) endpoints, respectively. Once a part order is submitted, automatic packing will create one or more builds (for mass-customization applications only). Builds can be retrieved either in bulk or by UUID at the [/builds](#/Builds) endpoint. - Build attachments (traveler, slice video) can be retrieved by UUID at the [/attachments](#/Attachments) endpoint. This API also provides a programmatic interface to access [printer](#/Printers) (fleet) status and query for [prints](#/Prints). # noqa: E501
Welcome to the Carbon DLS API docs! You can find all relevant documentation here: https://github.com/carbon3d/carbon3d-api # noqa: E501
The version of the OpenAPI document: 0.0.5
The version of the OpenAPI document: 0.0.6
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

__version__ = "0.0.5"
__version__ = "0.0.6"

# import apis into sdk package
from carbon3d.api.attachments_api import AttachmentsApi
from carbon3d.api.builds_api import BuildsApi
from carbon3d.api.models_api import ModelsApi
from carbon3d.api.orders_api import OrdersApi
from carbon3d.api.part_orders_api import PartOrdersApi
from carbon3d.api.parts_api import PartsApi
from carbon3d.api.print_orders_api import PrintOrdersApi
from carbon3d.api.printed_parts_api import PrintedPartsApi
from carbon3d.api.printers_api import PrintersApi
from carbon3d.api.prints_api import PrintsApi
Expand All @@ -44,16 +46,24 @@
from carbon3d.models.order import Order
from carbon3d.models.order_request import OrderRequest
from carbon3d.models.order_request_parts import OrderRequestParts
from carbon3d.models.order_status import OrderStatus
from carbon3d.models.order_update_request import OrderUpdateRequest
from carbon3d.models.orders_response import OrdersResponse
from carbon3d.models.orders_response_orders import OrdersResponseOrders
from carbon3d.models.part import Part
from carbon3d.models.part_genealogy import PartGenealogy
from carbon3d.models.part_genealogy_build_info import PartGenealogyBuildInfo
from carbon3d.models.part_genealogy_print_info import PartGenealogyPrintInfo
from carbon3d.models.part_order import PartOrder
from carbon3d.models.part_order_request import PartOrderRequest
from carbon3d.models.part_order_status import PartOrderStatus
from carbon3d.models.part_order_update_request import PartOrderUpdateRequest
from carbon3d.models.part_orders_response import PartOrdersResponse
from carbon3d.models.part_orders_response_part_orders import PartOrdersResponsePartOrders
from carbon3d.models.part_request import PartRequest
from carbon3d.models.parts_response import PartsResponse
from carbon3d.models.print_order import PrintOrder
from carbon3d.models.print_order_request import PrintOrderRequest
from carbon3d.models.print_order_update_request import PrintOrderUpdateRequest
from carbon3d.models.print_ref import PrintRef
from carbon3d.models.printed_part import PrintedPart
from carbon3d.models.printed_part_ref import PrintedPartRef
Expand Down
2 changes: 2 additions & 0 deletions v1/python/carbon3d/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
from carbon3d.api.builds_api import BuildsApi
from carbon3d.api.models_api import ModelsApi
from carbon3d.api.orders_api import OrdersApi
from carbon3d.api.part_orders_api import PartOrdersApi
from carbon3d.api.parts_api import PartsApi
from carbon3d.api.print_orders_api import PrintOrdersApi
from carbon3d.api.printed_parts_api import PrintedPartsApi
from carbon3d.api.printers_api import PrintersApi
from carbon3d.api.prints_api import PrintsApi
4 changes: 2 additions & 2 deletions v1/python/carbon3d/api/attachments_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"""
Carbon DLS API
Welcome to the Carbon DLS API docs! A Carbon DLS API token ([JWT](https://en.wikipedia.org/wiki/JSON_Web_Token)) must be included with each request to the API. Steps to create API tokens: - Create and download an API key [here](https://print.carbon3d.com/api_keys) - For testing: Generate JWT tokens using the [token generator](/token_generator) - For production: Generate JWT tokens dynamically (<em>see authtoken-create.py example</em>) - A valid Carbon API token must be included as <code>Authorization: Bearer [token]</code> HTTP header. This API provides a programmatic interface for submitting part (and soon build) orders. The general process for creating an order is as follows: - Upload model files to the API with the [/models](#/Models) endpoint - Create parts that reference a model and a part number with the [/parts](#/Parts) endpoint - Part numbers can be created [here](https://print.carbon3d.com/catalog_parts) - Create an order with the [/orders](#/Orders) endpoint Uploaded models, parts and orders can be retrieved either in bulk or by UUID at the [/models](#/Models), [/parts](#/Parts) and [/orders](#/Orders) endpoints, respectively. Once a part order is submitted, automatic packing will create one or more builds (for mass-customization applications only). Builds can be retrieved either in bulk or by UUID at the [/builds](#/Builds) endpoint. - Build attachments (traveler, slice video) can be retrieved by UUID at the [/attachments](#/Attachments) endpoint. This API also provides a programmatic interface to access [printer](#/Printers) (fleet) status and query for [prints](#/Prints). # noqa: E501
Welcome to the Carbon DLS API docs! You can find all relevant documentation here: https://github.com/carbon3d/carbon3d-api # noqa: E501
The version of the OpenAPI document: 0.0.5
The version of the OpenAPI document: 0.0.6
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
12 changes: 3 additions & 9 deletions v1/python/carbon3d/api/builds_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"""
Carbon DLS API
Welcome to the Carbon DLS API docs! A Carbon DLS API token ([JWT](https://en.wikipedia.org/wiki/JSON_Web_Token)) must be included with each request to the API. Steps to create API tokens: - Create and download an API key [here](https://print.carbon3d.com/api_keys) - For testing: Generate JWT tokens using the [token generator](/token_generator) - For production: Generate JWT tokens dynamically (<em>see authtoken-create.py example</em>) - A valid Carbon API token must be included as <code>Authorization: Bearer [token]</code> HTTP header. This API provides a programmatic interface for submitting part (and soon build) orders. The general process for creating an order is as follows: - Upload model files to the API with the [/models](#/Models) endpoint - Create parts that reference a model and a part number with the [/parts](#/Parts) endpoint - Part numbers can be created [here](https://print.carbon3d.com/catalog_parts) - Create an order with the [/orders](#/Orders) endpoint Uploaded models, parts and orders can be retrieved either in bulk or by UUID at the [/models](#/Models), [/parts](#/Parts) and [/orders](#/Orders) endpoints, respectively. Once a part order is submitted, automatic packing will create one or more builds (for mass-customization applications only). Builds can be retrieved either in bulk or by UUID at the [/builds](#/Builds) endpoint. - Build attachments (traveler, slice video) can be retrieved by UUID at the [/attachments](#/Attachments) endpoint. This API also provides a programmatic interface to access [printer](#/Printers) (fleet) status and query for [prints](#/Prints). # noqa: E501
Welcome to the Carbon DLS API docs! You can find all relevant documentation here: https://github.com/carbon3d/carbon3d-api # noqa: E501
The version of the OpenAPI document: 0.0.5
The version of the OpenAPI document: 0.0.6
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down Expand Up @@ -163,7 +163,6 @@ def get_builds(self, limit, offset, **kwargs): # noqa: E501
:param async_req bool: execute request asynchronously
:param int limit: Max records to return (required)
:param int offset: Number of items to skip (required)
:param list[str] sort: Field(s) to sort by. Ascending order by default, use `sort=field,desc` to specify descending order.
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
Expand All @@ -190,7 +189,6 @@ def get_builds_with_http_info(self, limit, offset, **kwargs): # noqa: E501
:param async_req bool: execute request asynchronously
:param int limit: Max records to return (required)
:param int offset: Number of items to skip (required)
:param list[str] sort: Field(s) to sort by. Ascending order by default, use `sort=field,desc` to specify descending order.
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
Expand All @@ -209,8 +207,7 @@ def get_builds_with_http_info(self, limit, offset, **kwargs): # noqa: E501

all_params = [
'limit',
'offset',
'sort'
'offset'
]
all_params.extend(
[
Expand Down Expand Up @@ -253,9 +250,6 @@ def get_builds_with_http_info(self, limit, offset, **kwargs): # noqa: E501
query_params.append(('limit', local_var_params['limit'])) # noqa: E501
if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501
query_params.append(('offset', local_var_params['offset'])) # noqa: E501
if 'sort' in local_var_params and local_var_params['sort'] is not None: # noqa: E501
query_params.append(('sort', local_var_params['sort'])) # noqa: E501
collection_formats['sort'] = 'multi' # noqa: E501

header_params = {}

Expand Down
8 changes: 4 additions & 4 deletions v1/python/carbon3d/api/models_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"""
Carbon DLS API
Welcome to the Carbon DLS API docs! A Carbon DLS API token ([JWT](https://en.wikipedia.org/wiki/JSON_Web_Token)) must be included with each request to the API. Steps to create API tokens: - Create and download an API key [here](https://print.carbon3d.com/api_keys) - For testing: Generate JWT tokens using the [token generator](/token_generator) - For production: Generate JWT tokens dynamically (<em>see authtoken-create.py example</em>) - A valid Carbon API token must be included as <code>Authorization: Bearer [token]</code> HTTP header. This API provides a programmatic interface for submitting part (and soon build) orders. The general process for creating an order is as follows: - Upload model files to the API with the [/models](#/Models) endpoint - Create parts that reference a model and a part number with the [/parts](#/Parts) endpoint - Part numbers can be created [here](https://print.carbon3d.com/catalog_parts) - Create an order with the [/orders](#/Orders) endpoint Uploaded models, parts and orders can be retrieved either in bulk or by UUID at the [/models](#/Models), [/parts](#/Parts) and [/orders](#/Orders) endpoints, respectively. Once a part order is submitted, automatic packing will create one or more builds (for mass-customization applications only). Builds can be retrieved either in bulk or by UUID at the [/builds](#/Builds) endpoint. - Build attachments (traveler, slice video) can be retrieved by UUID at the [/attachments](#/Attachments) endpoint. This API also provides a programmatic interface to access [printer](#/Printers) (fleet) status and query for [prints](#/Prints). # noqa: E501
Welcome to the Carbon DLS API docs! You can find all relevant documentation here: https://github.com/carbon3d/carbon3d-api # noqa: E501
The version of the OpenAPI document: 0.0.5
The version of the OpenAPI document: 0.0.6
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down Expand Up @@ -164,7 +164,7 @@ def get_models(self, limit, offset, **kwargs): # noqa: E501
:param int limit: Max records to return (required)
:param int offset: Number of items to skip (required)
:param str filename: Filename of the model
:param list[str] sort: Field(s) to sort by. Ascending order by default, use `sort=field,desc` to specify descending order.
:param list[str] sort: Field(s) to sort by. Ascending order by default, use `sort=field,desc` to specify descending order. Sortable fields are: `filename`
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
Expand Down Expand Up @@ -192,7 +192,7 @@ def get_models_with_http_info(self, limit, offset, **kwargs): # noqa: E501
:param int limit: Max records to return (required)
:param int offset: Number of items to skip (required)
:param str filename: Filename of the model
:param list[str] sort: Field(s) to sort by. Ascending order by default, use `sort=field,desc` to specify descending order.
:param list[str] sort: Field(s) to sort by. Ascending order by default, use `sort=field,desc` to specify descending order. Sortable fields are: `filename`
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
Expand Down
Loading

0 comments on commit b6d8060

Please sign in to comment.