Create Content Library

Create Content Library

Creates a new Provider or Tenant Content library based on the context of the user. A library created from System org is a Provider Content Library. A library created from a tenant context is a Tenant Content Library Response is a 202 with task URL in location header

Request
URI
POST
https://{api_host}/cloudapi/vcf/contentLibraries
COPY
Request Body
ContentLibrary of type(s) application/json
Optional

Show optional properties

{
    "name": "string"
}
{
    "id": "string",
    "name": "string",
    "description": "string",
    "org": {
        "name": "string",
        "id": "string"
    },
    "libraryType": "string",
    "isSubscribed": false,
    "isShared": false,
    "creationDate": "string",
    "storageClasses": [
        {
            "name": "string",
            "id": "string"
        }
    ],
    "versionNumber": 0,
    "subscriptionConfig": {
        "subscriptionUrl": "string",
        "password": "string",
        "needLocalCopy": false
    },
    "autoAttach": false,
    "status": "READY, NOT_READY, FAILED, PARTIALLY_READY"
}
Authentication
This operation uses the following authentication methods.
Responses
202

The request have been accepted and the task to monitor the request is in the Location header.

Operation doesn't return any data structure

Vendor Extension

This operation contains the following vendor extensions defined in the spec:

                    [object Object]
                
Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name:"string"}' https://{api_host}/cloudapi/vcf/contentLibraries