Browse the help center

Get OS version values for site

Returns a JSON array of available version identifiers for the specified operating system.

Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/site/{siteId}/targeting/operating-system/{osName}/versions.do

Returns a JSON array of available version identifiers for the specified operating system. Each version can be used with the create OS targeting endpoint together with a relation operator (LOWER, GREATER, EQUAL, etc.) to target specific OS version ranges. The osName must be a valid OS name from the OS values endpoint. Requires UPDATE permission on the site and MANAGE_SUPPLY_PRE_TARGETING user permission.

Path Params

siteId integer required

Unique numeric ID of the site

3001

osName string required

Operating system. Accepts enum name or integer ID for backward compatibility

WINDOWS

Responses

200

Success

400

Bad request — invalid or missing parameters

401

Unauthorized

403

Forbidden

404

Site not found

500

Internal server error

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.