# MeshController

# Overview

# Description

Path /v2/meshes

Handles all requests regarding mesh: creating, updating, deleting.

# Configuration JSON Object

An example for a mesh JSON object.

{ 
 "created": "2016-04-11T14:34:14.000Z", 
 "id":"usm:TVLowboard",
 "catalog":"usm",
 "links": {"data": "/meshes/usm:TVLowboard/data"}
 }

# fields

  • created
  • id
  • catalog
  • links

# API Reference

# Creating Meshes

# POST /

Accepts: multipart-formdata

Generates: json

parameters:

  • data : zip with meshsources
  • catalog: extId of the catalog to upload the meshes to.
  • allowUpdate: boolean if updating is allowed
  • format: wanted format for the files (currently only crt)
  • quality: quality of the mesh sources

For uploading batches of external meshes. All obj, ply or crt files in the zip are added as external mesh to the catalog. The name of the file is the extId of the mesh. If meshes already exist they are updated (if "allowUpdates" is true).