API ReferenceTextures
Upload file to a material
Uploads a file of a given type to a material
AuthorizationBearer <token>
In: header
Path Parameters
textureId*string
textureType*string
Value in
"COLOR" | "DISPLACEMENT" | "NORMAL" | "ROUGHNESS" | "AO"Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:18080/api/v1/textures/assets/string/COLOR" \ -F file="string"{
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"id": "string",
"name": "string",
"owner": "string",
"tenantId": "string",
"textureAssets": [
{
"asset": {
"blobId": "string",
"created": "2019-08-24T14:15:22Z",
"extension": "string",
"fileSize": 0,
"name": "string",
"type": "IMAGE"
},
"mediumAsset": {
"blobId": "string",
"created": "2019-08-24T14:15:22Z",
"extension": "string",
"fileSize": 0,
"name": "string",
"type": "IMAGE"
},
"smallAsset": {
"blobId": "string",
"created": "2019-08-24T14:15:22Z",
"extension": "string",
"fileSize": 0,
"name": "string",
"type": "IMAGE"
},
"textureType": "COLOR"
}
],
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"visibility": "PUBLIC"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}