Download History Using GET

Download History Using GET

Get download history for the content downloaded from Marketplace

Request
URI
GET
https://{api_host}/content/api/marketplace/download-history
COPY
Query Parameters
string
contentName
Optional

Search based on content name

string
contentType
Optional

Search based on content type

Possible values are : BLUEPRINT, IMAGE, ABX_SCRIPTS,
integer
page
Optional

Page you want to retrieve (1..N)

page example
1
integer
size
Optional

Number of records per page

size example
10
string
status
Optional

Search based on download status

Possible values are : FAILED, ADDED,
string of array
targetIds
Optional

Search based on target Ids


Responses
200

Download history

Returns MarketplaceDownloadHistories of type(s) application/json
{
    "_embedded": [
        {
            "contentId": "string",
            "contentName": "string",
            "contentType": "string",
            "downloadedOn": "string",
            "id": "string",
            "status": "string",
            "targetId": "string",
            "targetName": "string",
            "targetType": "string",
            "updatedOn": "string",
            "username": "string"
        }
    ],
    "_links": [
        {
            "deprecation": "string",
            "href": "string",
            "hreflang": "string",
            "media": "string",
            "rel": "string",
            "templated": false,
            "title": "string",
            "type": "string"
        }
    ],
    "page": {
        "number": 0,
        "size": 0,
        "totalElements": 0,
        "totalPages": 0
    }
}
array of object
_embedded
Optional

_embedded

array of object
_links
Optional

_links

object
page
Optional

page


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/content/api/marketplace/download-history