- URL:https://[root]/content/users/[userName]/items/[itemID]/list(POST only)
Example usage
URL for List Item.
https://www.arcgis.com/sharing/rest/content/users/jsmith/items/b512083cd1b64e2da1d3f66dbb135956/list
Description
The List Item operation (POST only) lists the item in the marketplace.
This operation is only available to organizations that have permissions to list items in the marketplace. The permissions are returned with the Portal Self response.
The listing properties must be specified for the item before calling this operation. This operation will fail if listing properties have not already been specified.
Listing an item will set its listed property to true.
This operation is available to the user and to the administrator of the organization to which the user belongs.
Request parameters
Parameter | Details |
---|---|
[Common Parameters] | For a complete listing, see Common parameters. |
Response properties
Property | Details |
---|---|
success | Indicates if the operation was successful. |
itemId | The ID of the listed item. |
JSON response syntax
{
"success": true | false,
"itemId": "<item id>"
}
JSON response example
{
"success": true,
"itemId": "b512083cd1b64e2da1d3f66dbb135956"
}