REST API v.1.0

License

These endpoints belong to the license resource.

Resource Description
GET /v1/models/:model_id/license Get requested model license information
Users

These endpoints belong to the users resource.

Resource Description
POST /v1/users Create new user and returns access_token. Contact support to get permission to use this action.
GET /v1/users/me Returns the user associated with the passed access_token.
Images

These endpoints belong to the images resource.

Resource Description
GET /v1/models/:model_id/images List all images of given model
POST /v1/models/:model_id/images Upload model image
DELETE /v1/models/:model_id/images/:id Remove model image
Files

These endpoints belong to the files resource.

Resource Description
GET /v1/models/:model_id/files List all files of given model
GET /v1/models/:model_id/files/:id Redirects to S3 storage if file can be downloaded
POST /v1/models/:model_id/files Upload model file
DELETE /v1/models/:model_id/files/:id Remove model file
Models

These endpoints belong to the models resource.

Resource Description
GET /v1/models Get page of models
GET /v1/models/:id Fetch model details
POST /v1/models Create a new model draft
PUT /v1/models/:id Update model information. After successfully uploading file and images, set status to published
DELETE /v1/models/:id Delete model
Orders

These endpoints belong to the orders resource.

Resource Description
GET /v1/orders/ Lists all orders initiated by authorized user
GET /v1/orders/:id Get order details
POST /v1/orders/ Creates new unpaid order and returns checkout_url for the customer along with download_token for the application
Categories

These endpoints belong to the categories resource.

Resource Description
GET /v1/categories Fetch all categories
GET /v1/categories/:id Get category description model