Create a new volume
Changed onCreate a new volume
The ID of the newly created volume is returned. Currently, box volumes and triangle meshes are supported. Which one is created depends on the "type" parameter, which can be either set to "box" or to "trimesh".
If a triangle mesh should be created, the "mesh" parameter is expected to hold the complete volume. It is expected to be a string that encodes two lists in JSON format: [[points], [triangles]]. The list of points contains lists of three numbers, each one representing a vertex in the mesh. The array of triangles also contains three element lists as items. Each one represents a triangle based on the points in the other array, that are referenced by the triangle index values.
Request
- Base URLhttp://localhost:8000
- Authnone declared
- TypeScripthttps://skmtc.dev/catmaid/apis/catmaid-api/docs/http:/localhost:8000/:project_id/volumes/add/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
Request body application/x-www-form-urlencoded
Response
Created
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking