REST API - list

content library item: list

Returns the identifiers of all items in the given library.

Request:

HTTP request

GET https://{server}/rest/com/vmware/content/library/item

?library_id=obj-103

Request Query Parameters:

Name Type Description
bold = required
library_id string Identifier of the library whose items should be returned.

Response:

HTTP Status Code: 200

Representation:

{
    "value"[
        "obj-103",
        "obj-103"
    ]
}

Response Type:

Name Type Description
bold = required
value string[] The array of identifiers of the items in the library specified by library_id.

Errors:

HTTP Status Code Type Description
404 not_found if the library associated with library_id does not exist.