API introspection – List packages, resources and their interfaces
Found 2 resources
Resource class
ContentVendor\Controller\Asset\V1\AssetController of type
EntityController
Access controlled by
ContentVendor\Core\Api\AccessRule\ApiAccessRule
Skeleton class for controlling a row from the 'AssetModel' table.
FIXME: Disable caching for restricted assets
| Name | Type | Size | Default | Description | Visible | Mutable | Nullable |
|---|---|---|---|---|---|---|---|
| Ductum | OBJECT | not set | yes | no | yes | ||
| DisplayName | VARCHAR | 128 | not set | yes | no | no | |
| AlternativeName | VARCHAR | 128 | not set | yes | no | yes | |
| Keywords | ARRAY | not set | yes | no | yes | ||
| Description | LONGVARCHAR | not set | yes | no | yes | ||
| CopyrightNotice | VARCHAR | 128 | not set | yes | no | yes | |
| CopyrightUrl | VARCHAR | 128 | not set | yes | no | yes | |
| Restricted | BOOLEAN | yes | no | no | |||
| Uri | VARCHAR | 512 | not set | yes | no | no | |
| NiceUri | VARCHAR | 512 | not set | yes | no | no | |
| AssetFiles | VIRTUAL | not set | yes | no | yes | ||
| CustomAttributes | VIRTUAL | not set | yes | no | yes | ||
| CreatedAt | TIMESTAMP | not set | yes | no | yes | ||
| UpdatedAt | TIMESTAMP | not set | yes | no | yes | ||
| Uuid | VARCHAR | 36 | not set | yes | no | no |
Interfaces
Found 3 interfaces in class ContentVendor\Controller\Asset\V1\AssetController
Resource: Asset, Method: load
Loads a model enitiy from the table defined by the model class name
Endpoint
GET /asset/v1/asset/{uuid}/ Request header
The Clients Last Modified Date Time As HTTP Date (RFC 2616) named If-Modified-Since
Bearer Token named Authorization Response header
The Servers Cache Control Instruction named Cache-Control
The Servers Cache Expiration Instruction As HTTP Date (RFC 2616) named Expires
The Servers Last Modified Date Time As HTTP Date (RFC 2616) named Last-Modified Response data
FilteredAssetControllerModel named AssetModel Resource: Asset, Method: raw
Provides the asset file as binary. If the asset file is an image it will be optimized.
Endpoint
GET /asset/v1/asset/{uuid}/raw/ Request header
The Clients Last Modified Date Time As HTTP Date (RFC 2616) named If-Modified-Since Response header
The Servers Cache Control Instruction named Cache-Control
The Servers Cache Expiration Instruction As HTTP Date (RFC 2616) named Expires
The Servers Last Modified Date Time As HTTP Date (RFC 2616) named Last-Modified Resource: Asset, Method: download
Provides the asset file as binary. If the asset file is an image it will be optimized.
Endpoint
GET /asset/v1/asset/{uuid}/download/ Request header
The Clients Last Modified Date Time As HTTP Date (RFC 2616) named If-Modified-Since Response header
The Servers Cache Control Instruction named Cache-Control
The Servers Cache Expiration Instruction As HTTP Date (RFC 2616) named Expires
The Servers Last Modified Date Time As HTTP Date (RFC 2616) named Last-Modified