This API specification is available for download as an Open API 3.0 YAML file:
The following page lists available REST APIs for ICM 11 and their version dependencies:
{loc}{forceTotal}/mediaassets/directories
This operation returns subdirectories of the root content directory. Use the loc
parameter to switch between the contents for different languages.
public jakarta.ws.rs.core.Response com.intershop.application.rest.mediaassets.v1.capi.resource.MediaAssetsDirectoriesListResource.getDirectories_v1(java.lang.Integer,java.lang.Integer)
Location | Name | Format | Default | Example | Description |
---|---|---|---|---|---|
in path | loc | string | en_US | The locale ID (submitted as optional matrix parameter ;loc=<LOCALE> ). If omitted, the priority is as follows (from high to low): Locale ID parameter, user's default locale, site's default locale. The available locales depend on your individual Intershop Commerce Management installation. Use IANA language definitions for languages and regions and combine them using a underscore, e. g. en_US . | |
in path | forceTotal | string | true | Flag indicating whether the calculation of the total number of elements should be forced, passed as an optional matrix parameter ;forceTotal=true . | |
in query | limit | integer int32 | 20 | Defines the maximum number of media assets in the response. The value cannot exceed the value configured by intershop.backoffice.rest.maxAssetAmount (default 50). | |
in query | offset | integer int32 | 40 | Defines the starting position (number of elements to be skipped minus one). |
200 - OK - The subdirectories in the root content directory.
400 - Bad Request - The path is invalid.
401 - Unauthorized - The user could not be authenticated.
403 - Forbidden - The user is not allowed to access this resource.
404 - Not Found - The path could not be found.
{loc}{forceTotal}/mediaassets/directories/{directoryName}/directories
This operation returns subdirectories of the given directory. Use the loc
parameter to switch between the contents for different languages. The path segment /directories/{directoryName}
can be repeated multiple times to browse through the file tree, for example: mediaassets/directories/campaigns/directories/2023/directories/summersale/directories
.
Location | Name | Format | Default | Example | Description |
---|---|---|---|---|---|
in path | loc | string | en_US | The locale ID (submitted as optional matrix parameter ;loc=<LOCALE> ). If omitted, the priority is as follows (from high to low): Locale ID parameter, user's default locale, site's default locale. The available locales depend on your individual Intershop Commerce Management installation. Use IANA language definitions for languages and regions and combine them using a underscore, e. g. en_US . | |
in path | forceTotal | string | true | Flag indicating whether the calculation of the total number of elements should be forced, passed as an optional matrix parameter ;forceTotal=true . | |
in path | directoryName | string | Required | The name of the subdirectory. | ||
in query | limit | number int32 | 20 | Defines the maximum number of media assets in the response. The value cannot exceed the value configured by intershop.backoffice.rest.maxAssetAmount (default 50). | |
in query | offset | number int32 | 40 | Defines the starting position (number of elements to be skipped minus one). |
200 - OK - The subdirectories in the directory.
400 - Bad Request - The path is invalid.
401 - Unauthorized - The user could not be authenticated.
403 - Forbidden - The user is not allowed to access this resource.
404 - Not Found - The path could not be found.
{loc}{forceTotal}/mediaassets
This operation returns directories and files located in the root content directory. Use the loc
parameter to switch between the contents for different languages. When using offset
and limit
, directories are listed before files.
public jakarta.ws.rs.core.Response com.intershop.application.rest.mediaassets.v1.capi.resource.MediaAssetsListResource.getRootAssets_v1(java.lang.Integer,java.lang.Integer)
Location | Name | Format | Default | Example | Description |
---|---|---|---|---|---|
in path | loc | string | en_US | The locale ID (submitted as optional matrix parameter ;loc=<LOCALE> ). If omitted, the priority is as follows (from high to low): Locale ID parameter, user's default locale, site's default locale. The available locales depend on your individual Intershop Commerce Management installation. Use IANA language definitions for languages and regions and combine them using a underscore, e. g. en_US . | |
in path | forceTotal | string | true | Flag indicating whether the calculation of the total number of elements should be forced, passed as an optional matrix parameter ;forceTotal=true . | |
in query | limit | integer int32 | 20 | Defines the maximum number of media assets in the response. The value cannot exceed the value configured by intershop.backoffice.rest.maxAssetAmount (default 50). | |
in query | offset | integer int32 | 40 | Defines the starting position (number of elements to be skipped minus one). |
200 - OK - The files and directories in the root content directory.
401 - Unauthorized - The user could not be authenticated.
403 - Forbidden - The user is not allowed to access this resource.
{loc}{forceTotal}/mediaassets/directories/{directoryName}
This operation returns directories and files located in the specified subdirectory. Use the loc
parameter to switch between the contents for different languages. When using offset
and limit
, directories are listed before files. The path segments /directories/{directoryName}
can be repeated multiple times, to browse through the file tree, e.g. mediaassets/directories/campaigns/directories/2023/directories/summersale
.
public jakarta.ws.rs.core.Response com.intershop.application.rest.mediaassets.v1.capi.resource.MediaAssetsDirectoriesItemResource.getSubDirectoryAssets_v1(java.lang.Integer,java.lang.Integer)
Location | Name | Format | Default | Example | Description |
---|---|---|---|---|---|
in path | loc | string | en_US | The locale ID (submitted as optional matrix parameter ;loc=<LOCALE> ). If omitted, the priority is as follows (from high to low): Locale ID parameter, user's default locale, site's default locale. The available locales depend on your individual Intershop Commerce Management installation. Use IANA language definitions for languages and regions and combine them using a underscore, e. g. en_US . | |
in path | forceTotal | string | true | Flag indicating whether the calculation of the total number of elements should be forced, passed as an optional matrix parameter ;forceTotal=true . | |
in path | directoryName | string | Required | The name of the subdirectory. | ||
in query | limit | integer int32 | 20 | Defines the maximum number of media assets in the response. The value cannot exceed the value configured by intershop.backoffice.rest.maxAssetAmount (default 50). | |
in query | offset | integer int32 | 40 | Defines the starting position (number of elements to be skipped minus one). |
200 - OK - The subdirectories and files in the directory.
400 - Bad Request - The path is invalid.
401 - Unauthorized - The user could not be authenticated.
403 - Forbidden - The user is not allowed to access this resource.
404 - Not Found - The path could not be found.
{loc}{forceTotal}/mediaassets/directories/{directoryName}/files
This operation returns files located in the specified directory. Use the loc
parameter to switch between the contents for different languages. The path segment /directories/{directoryName}
can be repeated multiple times to browse through the file tree, for example: mediaassets/directories/campaigns/directories/2023/directories/summersale/files
.
public jakarta.ws.rs.core.Response com.intershop.application.rest.mediaassets.v1.capi.resource.MediaAssetsFilesListResource.getFiles_v1(java.lang.Integer,java.lang.Integer)
Location | Name | Format | Default | Example | Description |
---|---|---|---|---|---|
in path | loc | string | en_US | The locale ID (submitted as optional matrix parameter ;loc=<LOCALE> ). If omitted, the priority is as follows (from high to low): Locale ID parameter, user's default locale, site's default locale. The available locales depend on your individual Intershop Commerce Management installation. Use IANA language definitions for languages and regions and combine them using a underscore, e. g. en_US . | |
in path | forceTotal | string | true | Flag indicating whether the calculation of the total number of elements should be forced, passed as an optional matrix parameter ;forceTotal=true . | |
in path | directoryName | string | Required | The name of the subdirectory. | ||
in query | limit | integer int32 | 20 | Defines the maximum number of media assets in the response. The value cannot exceed the value configured by intershop.backoffice.rest.maxAssetAmount (default 50). | |
in query | offset | integer int32 | 40 | Defines the starting position (number of elements to be skipped minus one). |
200 - OK - The files in the directory.
400 - Bad Request - The path is invalid.
401 - Unauthorized - The user could not be authenticated.
403 - Forbidden - The user is not allowed to access this resource.
404 - Not Found - The path could not be found.
{loc}{forceTotal}{loc}/mediaassets/files
This operation returns files located in the specified directory. Use the loc
parameter to switch between the contents for different languages. The path segment /directories/{directoryName}
can be repeated multiple times to browse through the file tree, for example: mediaassets/directories/campaigns/directories/2023/directories/summersale/files
.
public jakarta.ws.rs.core.Response com.intershop.application.rest.mediaassets.v1.capi.resource.MediaAssetsFilesListResource.getFiles_v1(java.lang.Integer,java.lang.Integer)
Location | Name | Format | Default | Example | Description |
---|---|---|---|---|---|
in path | loc | string | en_US | The locale ID (submitted as optional matrix parameter ;loc=<LOCALE> ). If omitted, the priority is as follows (from high to low): Locale ID parameter, user's default locale, site's default locale. The available locales depend on your individual Intershop Commerce Management installation. Use IANA language definitions for languages and regions and combine them using a underscore, e. g. en_US . | |
in path | forceTotal | string | true | Flag indicating whether the calculation of the total number of elements should be forced, passed as an optional matrix parameter ;forceTotal=true . | |
in path | loc | string | en_US | The locale ID (submitted as optional matrix parameter ;loc=<LOCALE> ). If omitted, the priority is as follows (from high to low): Locale ID parameter, user's default locale, site's default locale. The available locales depend on your individual Intershop Commerce Management installation. Use IANA language definitions for languages and regions and combine them using a underscore, e. g. en_US . | |
in query | limit | integer int32 | 20 | Defines the maximum number of media assets in the response. The value cannot exceed the value configured by intershop.backoffice.rest.maxAssetAmount (default 50). | |
in query | offset | integer int32 | 40 | Defines the starting position (number of elements to be skipped minus one). |
200 - OK - The files in the directory.
400 - Bad Request - The path is invalid.
401 - Unauthorized - The user could not be authenticated.
403 - Forbidden - The user is not allowed to access this resource.
404 - Not Found - The path could not be found.
string
literals. List of subdirectory namesDirectoriesListInfoRO_v1
object. Optionaltrue
int32
| Example: 20
int32
| Example: 10
int32
| Example: 30
FeedbackRO_v1
objects. List of messages regarding to the request (e.g. value adjustments).FeedbackRO_v1
: An error or piece of information related to the current request.FeedbackCauseRO_v1
objects. A collection of errors/warnings/infos that caused the feedback.FeedbackCauseRO_v1
: A representation for the common feedback information.product.name.required.error
The product name must be specified.
object
literals. A map of several parameters that are used to assemble the message.string
literals. A collection of JSON paths to the associated entities. Unless otherwise specified, this always refers to the request entity. | Documentation: https://github.com/json-path/JsonPath | Example: ["\"$.name (position: 1)\""]
product.name.required.error
The product name must be specified.
object
literals. A map of several parameters that are used to assemble the message.string
literals. A collection of JSON paths to the associated entities. Unless otherwise specified, this always refers to the request entity. | Documentation: https://github.com/json-path/JsonPath | Example: ["\"$.name (position: 1)\""]
ERROR
| Possible Values: INFO
WARN
ERROR
422
FeedbackRO_v1
objects. List of messages regarding to the request (e.g. value adjustments).FeedbackRO_v1
: An error or piece of information related to the current request.FeedbackCauseRO_v1
objects. A collection of errors/warnings/infos that caused the feedback.FeedbackCauseRO_v1
: A representation for the common feedback information.product.name.required.error
The product name must be specified.
object
literals. A map of several parameters that are used to assemble the message.string
literals. A collection of JSON paths to the associated entities. Unless otherwise specified, this always refers to the request entity. | Documentation: https://github.com/json-path/JsonPath | Example: ["\"$.name (position: 1)\""]
product.name.required.error
The product name must be specified.
object
literals. A map of several parameters that are used to assemble the message.string
literals. A collection of JSON paths to the associated entities. Unless otherwise specified, this always refers to the request entity. | Documentation: https://github.com/json-path/JsonPath | Example: ["\"$.name (position: 1)\""]
ERROR
| Possible Values: INFO
WARN
ERROR
422
string
literals. List of file namesFilesListInfoRO_v1
object. The optional information about the response object. All values are also optional.FileInfoRO_v1
objects. Further information about the filesFileInfoRO_v1
: Information about a fileimage.jpg
/INTERSHOP/static/WFS/inSPIRED-Site/-/inSPIRED/en_US/image.jpg
inSPIRED:/image.jpg
true
int32
| Example: 20
int32
| Example: 10
int32
| Example: 30
FeedbackRO_v1
objects. List of messages regarding to the request (e.g. value adjustments).FeedbackRO_v1
: An error or piece of information related to the current request.FeedbackCauseRO_v1
objects. A collection of errors/warnings/infos that caused the feedback.FeedbackCauseRO_v1
: A representation for the common feedback information.product.name.required.error
The product name must be specified.
object
literals. A map of several parameters that are used to assemble the message.string
literals. A collection of JSON paths to the associated entities. Unless otherwise specified, this always refers to the request entity. | Documentation: https://github.com/json-path/JsonPath | Example: ["\"$.name (position: 1)\""]
product.name.required.error
The product name must be specified.
object
literals. A map of several parameters that are used to assemble the message.string
literals. A collection of JSON paths to the associated entities. Unless otherwise specified, this always refers to the request entity. | Documentation: https://github.com/json-path/JsonPath | Example: ["\"$.name (position: 1)\""]
ERROR
| Possible Values: INFO
WARN
ERROR
422
MediaAssetsDataRO_v1
object. The core data of the response object.string
literals. List of subdirectory namesstring
literals. List of all files in this directoryMediaAssetsListInfoRO_v1
object. The optional information about the response object. All values are also optional.FileInfoRO_v1
objects. Further information about the filesFileInfoRO_v1
: Information about a fileimage.jpg
/INTERSHOP/static/WFS/inSPIRED-Site/-/inSPIRED/en_US/image.jpg
inSPIRED:/image.jpg
true
int32
| Example: 20
int32
| Example: 10
int32
| Example: 30
FeedbackRO_v1
objects. List of messages regarding to the request (e.g. value adjustments).FeedbackRO_v1
: An error or piece of information related to the current request.FeedbackCauseRO_v1
objects. A collection of errors/warnings/infos that caused the feedback.FeedbackCauseRO_v1
: A representation for the common feedback information.product.name.required.error
The product name must be specified.
object
literals. A map of several parameters that are used to assemble the message.string
literals. A collection of JSON paths to the associated entities. Unless otherwise specified, this always refers to the request entity. | Documentation: https://github.com/json-path/JsonPath | Example: ["\"$.name (position: 1)\""]
product.name.required.error
The product name must be specified.
object
literals. A map of several parameters that are used to assemble the message.string
literals. A collection of JSON paths to the associated entities. Unless otherwise specified, this always refers to the request entity. | Documentation: https://github.com/json-path/JsonPath | Example: ["\"$.name (position: 1)\""]
ERROR
| Possible Values: INFO
WARN
ERROR
422