Upload Cross CMS assets file

Craft Cross CMSのメディアライブラリにファイルをアップロードします。
file の渡し方は、 readmeio/api のドキュメント を参考にしてください。
Craft Functions では readme/api 経由でこの API を利用することは出来ません。

Required Scope

APIの実行に必要なScopeです。

beta.cms.asset.upload

Required Role

管理画面でScopeを追加する際に必要な権限です。

Craft Cross CMS > メディアライブラリの編集
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
file
required

アップロードするファイル

Headers
string

今後利用する可能性のある予約語です。現在は設定不要です。

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Choose an example:
application/json
application/problem+json