Publish Media

Publish an item of media for a product.

POSThttps://api.platform.softwareone.com/public/v1/products/{productId}/media/{id}/publish
Path parameters
productId*string
id*string
Response

Success

Body
idstring
auditobject
$metaobject
hrefstring
namestring
typestring
descriptionstring
statusstring
filenamestring
sizeinteger (int32)
contentTypestring
displayOrderinteger (int32)
urlstring
productobject
Request
const response = await fetch('https://api.platform.softwareone.com/public/v1/products/{productId}/media/{id}/publish', {
    method: 'POST',
    headers: {},
});
const data = await response.json();
Response
{
  "id": "text",
  "href": "text",
  "name": "text",
  "type": "text",
  "description": "text",
  "status": "text",
  "filename": "text",
  "size": 0,
  "contentType": "text",
  "displayOrder": 0,
  "url": "text"
}

SoftwareOne is a trademark of SoftwareOne, Inc. "The Software Licensing Experts" is a service mark of SoftwareOne, Inc. VAR assist is a trademark of SoftwareOne, Inc. "It pays to partner" is a service mark of SoftwareOne, Incorporated.

#330:

Change request updated