Skip to content
Guides
API reference
stableasset:create

Import Asset from URL

POST/v1/storage/assets/url

Authorization

bearerAuth
AuthorizationBearer <token>

OAuth2 access token issued by Ecomiq Auth.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/v1/storage/assets/url" \  -H "Content-Type: application/json" \  -d '{    "url": "string",    "filename": null,    "directory": null,    "altText": null,    "metadata": null  }'
{  "type": null,  "title": null,  "status": null,  "detail": null,  "instance": null,  "code": "string"}