Skip to main content
POST
/
v1
/
assets
Create asset from existing URL
curl --request POST \
  --url https://api.vidjutsu.ai/v1/assets \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>",
  "name": "<string>",
  "contentType": "<string>",
  "tags": [
    {
      "key": "<string>",
      "value": "<string>"
    }
  ]
}
'
{
  "id": "<string>",
  "url": "<string>",
  "status": "active"
}

Body

application/json
url
string
required
name
string
contentType
string
tags
object[]

Response

201 - application/json

The request has succeeded and a new resource has been created as a result.

id
string
required
url
string
required
status
enum<string>
required
Available options:
active