Upload Project assets
Upload OpenType or TrueType fonts through a Project and make them available to Lottie translation workflows across its Organization. Each font is keyed by a normalized identity derived from its family, weight, and italic style (from the supplied family and style, or from the font metadata and file name). Re-uploading the same identity overwrites the existing asset, so complete retries after a 500 response are safe.
Headers
API contract version. Defaults to the oldest supported version.
API contract version. Defaults to the oldest supported version.
Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).
Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).
Request body
Response
Uploaded assets
Changes
Changed in 1 of the 3 revisions of this API.219
- ▲
the
assets/items/contentrequest property's minLength was increased from0to1request-property-min-length-increased
- ▲
added the pattern
\.([tT][tT][fF]|[oO][tT][fF])$to the request propertyassets/items/fileNamerequest-property-pattern-added
- ○
api operation id
uploadProjectAssetsremoved and replaced withuploadAssetsapi-operation-id-removed
- ○
the endpoint scheme security
BearerAuthwas added to the APIapi-security-added
- ○
added the media type
text/htmlfor the response with the status400response-media-type-added
- ○
added the media type
text/htmlfor the response with the status401response-media-type-added
- ○
added the media type
text/htmlfor the response with the status403response-media-type-added
- ○
added the media type
text/htmlfor the response with the status404response-media-type-added
- ○
added the media type
text/htmlfor the response with the status413response-media-type-added
- ○
added the media type
text/htmlfor the response with the status429response-media-type-added
- ○
added the media type
text/htmlfor the response with the status500response-media-type-added
- ○
the response property
assets/items/assetKeybecame required for the status201response-property-became-required
- ○
the response property
assets/items/fileNamebecame required for the status201response-property-became-required
- ○
the response property
assets/items/idbecame required for the status201response-property-became-required
- ○
the response property
errorbecame required for the status400response-property-became-required
- ○
the response property
errorbecame required for the status401response-property-became-required
- ○
the response property
errorbecame required for the status403response-property-became-required
- ○
the response property
errorbecame required for the status404response-property-became-required
- ○
the response property
errorbecame required for the status413response-property-became-required
- ○
the response property
errorbecame required for the status429response-property-became-required
- ○
the response property
errorbecame required for the status500response-property-became-required
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲