post
https://expert.inskill.ai/public/apiv3/resources
Create a new resource
Required Fields:
name: Resource name. Defaults to the file name when a file is uploaded.url: Resource URL. Set automatically for file uploads and dynamic resources.type: Resource type (0=URL, 1=Document, 2=Image, 3=Video, 4=Dynamic)
Translations are not accepted on create. Add them afterwards with PATCH /resources/{id} or POST /resources/{id}/upload?language={lang}.
Resource Scope:
- Account Resources: Omit both
product_idandasset_id - Product Resources: Provide
product_id, omitasset_id - Asset Resources: Provide
asset_id, omitproduct_id
Content Requirements by Type:
- URL resources (type=0): Provide
urlfield - Dynamic resources (type=4): Provide
bodyfield (markdown content) - Document/Image/Video (types=1,2,3): Upload file via
fileparameter
File Upload Format:
For resources with file uploads, use multipart/form-data.
For URL and dynamic resources without files, both application/json and multipart/form-data are supported.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
