Logo of FrontifyDeveloper PortalArrow to the right
GraphQL Reference
Mutation

createExternalAsset():CreateExternalAsset

Create a new External Asset from a url. Requires basic:write scope to be accessible and Project permission level EDIT.

All mutations have exactly one input field called input with a unique input and return type. This is useful to write mutations with variables, so there is always one single variable per mutation. This makes it easier to use and reuse them.

Input fields of CreateExternalAssetInput
projectId: ID!

Destination Project Id.

url: Url!

External Asset Url.

title: String!

External Asset title or display name.

description: String = ""

External Asset description.

width: Int

External Asset fixed width.

height: Int

External Asset fixed height.

allowInteractions: Boolean = true

External Asset allow interactions.

externalId: ID

External Asset external Id.

External Asset copyright details.

directory: [String] = []

External Asset destination folder. Folders will be created if they don't exist.

expiresAt: DateTime

Expiry Date. External Asset will expire once the defined date is reached.

author: String = ""

Represents the Author of the External Asset.

Fields of CreateExternalAsset

The newly created Asset processing job response.