Get Multiple Clipping Profiles

Retrieves a list of clipping profiles.

Request

Request syntax:

GET /clipping-profiles

Response

A successful request returns a 200 OK response that contains the following properties:

NameData TypeDescription
@idStringIndicates the relative path to the requested endpoint.
@typeStringReturns Collection.
itemsList of dictionariesContains a list of clipping profile configurations.
total_itemsIntegerIndicates the total number of clipping profile configurations.

items list

NameData TypeDescription
@idStringIndicates the relative path to an endpoint that returns this clipping profile configuration.
@typeStringReturns ClippingProfile.
default_drmBooleanRequire a token for playback on new clips
default_studio_drmBooleanEnable Studio DRM for playbackon all new clips
default_overlayStringThis will be a GUID that represents an overlay that has been added to the profile
default_introStringThis will be a GUID that represents an asset
default_outroStringThis will be a GUID that represents an asset
default_libraryStringThis will be a GUID that represents a Library.  This is used in CMS to display a shorter list of assets when trying to decide what intro/outro bumper to use
descStringThe description of this profile
idStringIdentifies a clipping profile by its system-defined ID
integrationsArray of ObjectsContains a list of Clipping Profile Integrations.  Currently, only YouTube is allowed.  See the endpoint for getting a clipping profile integration
metadataArray of ObjectsContains a list of Clipping Profile Metadata that can be used with the Clipping Profile Integrations metamap property
show_ext_idBooleanEnable this to show the External ID option in the Clipping Tool

Sample Request/Response

Call the clipping_profiles_get module (Python 3) to create a clipping profile. This module imports names from the api_auth module.

Request:

			from pprint import PrettyPrinter
			import requests
			from api_auth import APICredentials, APIParams

			pp = PrettyPrinter().pprint

			class ClippingProfiles:
			"""Class Description"""
			def __init__(self):
			self.host = "https://services.uplynk.com"
			self.headers = {"Content-Type": "application/json"}

			def run(self):
			"""dummy"""
			self._get_all_clipping_profiles()

			def _get_all_clipping_profiles(self):
			"""dummy"""
			url = f"{self.host}/api/v4/clipping-profiles"

			query_params = {}

			response = requests.get(
			url,
			params=APIParams(APICredentials()).get_params(query_params),
			headers=self.headers,
			timeout=15
			)

			pp(response.json())

		ClippingProfiles().run()

Response:

			{
			"@id": "/api/v4/clipping-profiles",
			"@type": "Collection",
			"items": [
			{
			"@id": "/api/v4/clipping-profiles/be1af15490e24399bb6c4f2a36384d66",
			"@type": "ClippingProfile",
			"id": "be1af15490e24399bb6c4f2a36384d66",
			"desc": "My First Clipping Profile",
			"show_ext_id": True,
			"default_drm": True,
			"default_overlay": None,
			"default_intro": None,
			"default_outro": None,
			"default_library": None,
			"default_studio_drm": True,
			"integrations": [],
			"metadata": [],
			}
			],
			"total_items": 1,
			"search_version": 3,
		}