-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
jenkins_job
committed
Jun 24, 2020
1 parent
074663f
commit b6d8060
Showing
125 changed files
with
4,464 additions
and
338 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
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
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 |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
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
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 |
---|---|---|
|
@@ -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 | ||
""" | ||
|
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 |
---|---|---|
|
@@ -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 | ||
""" | ||
|
@@ -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. | ||
|
@@ -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 | ||
|
@@ -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( | ||
[ | ||
|
@@ -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 = {} | ||
|
||
|
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 |
---|---|---|
|
@@ -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 | ||
""" | ||
|
@@ -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. | ||
|
@@ -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 | ||
|
Oops, something went wrong.