Save provider content

Save provider content

Saves the provider content.

Request
URI
POST
https://{api_host}/content-management-service/api/provider/contents
COPY
Request Body

The provider content

ProviderContent of type(s) application/json
Required
{
    "subTenantId": "string",
    "contentData": {
        "data": [
            "string"
        ],
        "mimeType": "string"
    },
    "contentId": "string",
    "name": "string",
    "contentTypeId": "string",
    "tenantId": "string",
    "description": "string",
    "storageType": "string",
    "serviceId": "string",
    "dependencies": [
        {
            "entityReference": {
                "classId": "string",
                "componentId": "string",
                "id": "string",
                "label": "string"
            },
            "isOptional": false
        }
    ]
}
string
subTenantId
Optional

subTenantId

contentData
Optional

contentData

string
contentId
Required

contentId

string
name
Required

name

string
contentTypeId
Required

contentTypeId

string
tenantId
Required

tenantId

string
description
Optional

description

string
storageType
Required

storageType

Possible values are : INTERNAL, ENTITY_REFERENCE,
string
serviceId
Required

serviceId

dependencies
Optional

dependencies

Responses
201

Content created successfully

Operation doesn't return any data structure